Skip Menu |

This queue is for tickets about the SAP-Rfc CPAN distribution.

Report information
The Basics
Id: 18431
Status: new
Priority: 0/
Queue: SAP-Rfc

People
Owner: Nobody in particular
Requestors: peter.m.kuehn [...] t-online.de
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.39
Fixed in: (no value)



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