Wednesday 25 May 2016

System Variables

All the system variable available in structure SYST


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-SUBRCreturns 0 if the previous statement executed successfully.
SY-TABIX: Stores internal table index.
SY-INDEX: Can be used as a counter in the loops.

SY-LSIND: returns list index.

No comments:

Post a Comment