Subject: | integer parameters not working |
Hello,
integers parameter seems to get completely ignored.
Even the ROWCOUNT parameter in ../examples/tables.pl
does not work at all. The script runs on a Sparc machine
with Solaris 2.8, the SAP-Server on a Windows-Box.
My idea is, it has to do with little/big-endian conversions
because when I run the programs (not only RFC_READ_TABLE) directly
in SE37, the parameter settings work ok.
I debugged a little into the perl code:
DB<24> n
SAP::Parms::intvalue(/opt/perl-5.8.7/lib/site_perl/5.8.7/sun4-solaris/
SAP/Iface.pm:931):
931: return pack(($self->{'RFCINTTYP'} eq "BIG" ? "l" :
"V" ), int($self->{VALUE}));
DB<24> p $self->intype()
8
DB<25> p $self->{'RFCINTTYP'}
LIT
DB<26> p $self->{VALUE}
10
DB<27>
I'm wondering that the parameter value is packed into an little-endian
format, because Sparc is big-endian!? I also understand, that RFC does
byte ordering conversions for it's own?! But I'm not a Perl Guru so
I can't understand the coding here completely :-((
Ciao, Peter