+ -

Pages

Saturday, July 26, 2014

System Variables

A complete list of the names of the SY variables can be found in the table SYST.

SY-DATUM System date
SY-UNAME User name
SY-REPID Name of program
SY-TITLE Title of program
SY-DYNNR Dynpro number of active screen
SY-PFKEY Name of the current pf status
SY-LANGU Logon language


SY-ULINE Horizontal lines in list
SY-VLINE Vertical lines in a list ( You kan use | instead )
SY-UCOMM Returns the code for the GUI status button pushed (Only only used in In dialog programs use OKCODE)
CASE SY-UCOMM.
WHEN 'RW'.
LEAVE PROGRAM.
WHEN OTHERS.

ENDCASE.
SY-LSIND This field contains the number of the current list in the list hierarchy
SY-PAGENO Page number of current page
   


5 ABAP Tips: System Variables A complete list of the names of the SY variables can be found in the table SYST. SY-DATUM System date SY-UNAME User name SY-REPID...

No comments:

Post a Comment

< >