SYSTEM Fields related with Current ABAP Program

SY-CALLD If the program is started using CALL TRANSACTION / DIALOG, or SUBMIT … [AND RETURN] its value is ‘X’. If the program is started using LEAVE TO TRANSACTION or using a transaction code from a screen or when a batch input session is in progress its value is ‘ ‘
SY-CPROG The name of the current program and name of the calling program within a procedure.
SY-DBNAM The name of the logical database linked to an executable program.
SY-DYNGR Screen group to which the current screen belongs.
SY-DYNNR Number of the current screen.
SY-LDBPG In executable programs, the database program of the associated logical database.
SY-REPID Name of the current ABAP program.
SY-TCODE The transaction code of the current program.

Serkan AKKAVAK
Computer Engineer
serkurumsal@yandex.com