Application Development and Automation 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: 
Read only

TH_GET_SESSION_ID example usage

Former Member
0 Likes
1,293

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
Read only

Former Member
0 Likes
1,084

Have you tried simply executing the FM??

Rob

Read only

0 Likes
1,084

Because I have a Dump:

My code:

CALL FUNCTION 'TH_GET_SESSION_ID'

    IMPORTING

      SESSION_ID       = SSID.

*     ID_LEN           =

             .

Read only

0 Likes
1,084

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

Rob

Read only

Former Member
0 Likes
1,084

Is this what you are looking for?