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: 

How can I test (Abap) a session is from type RFC

Chris_Schutz
Active Participant
0 Kudos

Hi ,

How can I test (Abap) a session is from type RFC ? Field in SY tables ?

1 ACCEPTED SOLUTION

edgar_almonte
Participant
0 Kudos

can you please elaborate you question more ?

3 REPLIES 3

edgar_almonte
Participant
0 Kudos

can you please elaborate you question more ?

tamas_hoznek
Product and Topic Expert
Product and Topic Expert
0 Kudos

He wants to know if it's possible to tell by the currently running code whether it was called via RFC.

Transaction SM04 is able to tell about a user session if it is RFC or not... so by analyzing that code, it should be possible.

ThomasZloch
Active Contributor
0 Kudos

Have a look at the non-released but often-quoted task handler function modules (groups THFB and THFB2), e.g. TH_WP_DETAIL_INFO. Let us know which one worked in the end, if any.

Thomas