Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

TH_GET_SESSION_ID example usage

Former Member
0 Kudos

Hello,

Anyone can help me how can I get the session ID with the  TH_GET_SESSION_ID FM? please give me an example

4 REPLIES 4

Former Member
0 Kudos

Have you tried simply executing the FM??

Rob

0 Kudos

Because I have a Dump:

My code:

CALL FUNCTION 'TH_GET_SESSION_ID'

    IMPORTING

      SESSION_ID       = SSID.

*     ID_LEN           =

             .

0 Kudos

Well make sure that SSID is defined as a character field with length 32. That is what the dump is telling you.

Rob

Former Member
0 Kudos

Is this what you are looking for?