cancel
Showing results for 
Search instead for 
Did you mean: 

ITS - determine when transaction executed from ITS or from within SAP

Former Member
0 Kudos

I meed to be able to tell when an process was executed within SAP or called from the Web via ITSMoble. Need to reformat the screen accordingly.

Search thru the SYST table but couldn'f find anything.

Thanmks

Accepted Solutions (1)

Accepted Solutions (1)

DonnaA
Explorer
0 Kudos

To detect if a session is running in ITS from ABAP use this function module

   CALL FUNCTION 'IS_INTEGRATED_ITS'
    IMPORTING
      return = rc
    EXCEPTIONS
      error  = 1
      OTHERS = 2.

  IF sy-subrc EQ 0 AND NOT rc IS INITIAL.
*Running in ITS
  ENDIF.


To get the IP address of the RF device - use this function

CALL FUNCTION 'TH_USER_LIST'
  TABLES
    LIST          = th_list
*   USRLIST       =
          .

Answers (0)