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,287

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,078

Have you tried simply executing the FM??

Rob

Read only

0 Likes
1,078

Because I have a Dump:

My code:

CALL FUNCTION 'TH_GET_SESSION_ID'

    IMPORTING

      SESSION_ID       = SSID.

*     ID_LEN           =

             .

Read only

0 Likes
1,078

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,078

Is this what you are looking for?