Re: Question on SAP-RFC program

2005-02-08 Thread Sisyphus
James wrote: my $it = $rfc->discover("RFC_READ_TABLE"); I don't know anything about this module - but I can see in the docs where you got the code from. However, if you go to the actual 'discover()' documentation, you see the example is written as: $iface = $rfc->discover('RFC_READ_REPORT'); Pe

Re: Question on SAP-RFC program

2005-02-08 Thread James
Can anybody tell me what's wrong in this program? When I execute it I get this error: "Can't call method "QUERY_TABLE" on an undefined value at reports.pl line 20" Thanks use lib 'blib/lib'; use lib 'blib/arch'; use SAP::Rfc; use Data::Dumper; my $rfc = new SAP::Rfc( ASHOST => 'm

Question on SAP-RFC program

2005-02-07 Thread James
Hi , I am using SAP::RFC module to connect to a SAP database and extracting tsome data. So far I was able to connect sucessfully. The problem is how do I get exract info by a specific value? Is there a way to get the tables name in my SAP database? Hope to get some help. Thanks James