Menu

#12 Import Parameter of type STRING not filled

open
nobody
None
6
2006-09-24
2006-09-24
Gregor Wolf
No

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

Discussion

  • Gregor Wolf

    Gregor Wolf - 2006-09-24
    • priority: 5 --> 6
     
  • Eduard Koucky

    Eduard Koucky - 2006-09-25

    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.

     
  • Gregor Wolf

    Gregor Wolf - 2006-10-10

    Logged In: YES
    user_id=1204844

    Hi Eduard,

    any information when the next version will be released?

    Regards
    Gregor

     
  • Eduard Koucky

    Eduard Koucky - 2006-10-10

    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.

     
  • Nobody/Anonymous

    AAAAAASAAAAASASASASASASASASSASAAAYTSATASTAYYTAYTSAYTSYAYSYSAYSSTATAYTYSAATYSSTYSATSAYSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSAYTSAYTTSAYTSATR

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.