Import Parameter of type STRING not filled
Brought to you by:
koucky
I try to use Function Module SUSR_CHECK_LOGON_DATA. The
Import Parameter AUTH_DATA is of type STRING. When I
debug this call:
$result = $sap->callFunction("SUSR_CHECK_LOGON_DATA",
array(
array("IMPORT","AUTH_METHOD","E"),
array("IMPORT","AUTH_DATA","SITECO\\G.WOLF"),
array("IMPORT","EXTID_TYPE","NT"),
)
);
I see that the Value of Variable AUTH_DATA is empty.
Please provide support for Import Parameter of type STRING.
Best regards
Gregor
Logged In: YES
user_id=229549
I will plan support for STRING and XSTRING types in the
next major version of saprfc. Now, this types is
unsupported and you have to write own
ZUSR_CHECK_LOGON_DATA wrapper function module to call this.
Regards,
Eduard.
Logged In: YES
user_id=1204844
Hi Eduard,
any information when the next version will be released?
Regards
Gregor
Logged In: YES
user_id=229549
Hi Gregor,
the support for STRING type is difficult to add to
the source code of current generation of saprfc 1.x because
a) The size of string is unknown in time when interface
of function modules is discovered, so curren static
internal buffers can't be used
b) String has to be in UTF-8 encoding. The current version
saprfc translate all SAP types to PHP string. So I think
that will be a little confusing for users if for example
CHAR string will be in the WINDOWS-1250 encoding and
STRING in the UTF-8 encoding.
So, I will plan support STRING in the next majore version
of saprfc 2.x. For developing this version I want to use
the new version RFC library (with new API), so new version
of saprfcversion will be rewitten from scratch. I hope
than the new major version saprfc 2.x will be released in
the second half of the next year (but this is also depend
on releasing new version of SAP RFC library for customers).
Regards,
Eduard.
AAAAAASAAAAASASASASASASASASSASAAAYTSATASTAYYTAYTSAYTSYAYSYSAYSSTATAYTYSAATYSSTYSATSAYSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSAYTSAYTTSAYTSATR