cancel
Showing results for 
Search instead for 
Did you mean: 

Perl SAP::RFC unicode rfcserver

matthias_flury
Explorer
0 Kudos

Hy

I'm using SAP::RFC 1.55 as RFC Server. Now, switching to unicode, no more table data is transfered to my perl code. The interface table is defined as follow:

my $struct1 = new SAP::Struc(NAME => 'DATA');

$struct1->addField(NAME => 'Line', INTYPE=>$iface->RFCTYPE_CHAR, LEN=>1020);

$iface->addTab( NAME => "DATA",

STRUCTURE => $struct1,

LEN => 1020);

Now, if I pass Lines in the table data, then I get as many EMPTY rows as I passed, So the number of lines is correct, but tey are all empty.

Is this a Bug or is my definition wrong ?

Matthias

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi Hatthias, did you find any solution? Have the same problem when passing some parameters to an BAPI - perl table is filled but BAPI reports table is empty Any ideas would help... Thanks Peter

Former Member
0 Kudos

Please look at examples/reg.pl - this should show you how the layout of fields, and structure should. Please consider using sapnwrfc as this will maintained in future.

Piers Harding.