System variables in SAP ABAP

   SY-DATUM: System date.

SY-UZEIT:  System time
SY-CPROG: Current program name
SY-REPID: Current program name
SY-UNAME: System username
SY-LANGU: System language
SY-LINNO:  Current line number
SY-ULINE: Horizontal line
SY-VLINE: Vertical Line
SY-TCODE: Current Transaction code
SY-SUBRC returns 0 if the previous statement executed successfully.
SY-TABIX: Stores internal table index.
SY-INDEX: Can be used as a counter in the loops.

******************************Thank You***************************

Comments

Popular posts from this blog

New syntax for append- VALUE (new syntax 7.4+) in ABAP

Read statement new syntax in ABAP. (7.4+).

Concatenation new syntax( 7.4+ ).