I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2008-11-12 08:24:06-08 by hesc
Perl SAP::Rfc: how sets the export parameters correctly?
Hi,

we use SAP::RFC with Perl to read out some user details. We have a problem of reading the export parameter structure "address". Here is an example:

#!/usr/bin/perl use strict; use SAP::Rfc; use Data::Dumper; my $rfc = new SAP::Rfc( ASHOST => ... ); my $iface = $rfc->discover( "BAPI_USER_GET_DETAIL" ); my $user = "TEST"; $iface->USERNAME( $user ); my $lastname = $iface->ADDRESS->{'LASTNAME'}; print "lastname : $lastname\n"; $rfc->callrfc( $iface ); $rfc->close();


Nothing is saved in the field "lastname". Can anybody help us?

Thanks

Helmut
Direct Responses: Write a response