Useful System Fields

It may be helpful to have the generally available system fields.   They are helpful to have in your back pocket when you’re floundering around looking for extra information in a user exit.   Check in debug to see if they hold the information you’re looking for.

SY-SUBRC

SY-INDEX

SY-TABIX

SY-DBCNT

SY-FDPOS

SY-LSIND

SY-PAGNO

SY-LINNO

SY-COLNO

SY-PFKEY

SY-UCOMM

SY-TITLE

SY-MSGTY

SY-MSGID

SY-MSGNO

SY-MSGV1

SY-MSGV2

SY-MSGV3

SY-MSGV4

SY-MODNO

SY-DATUM

SY-UZEIT

SY-XPROG

SY-XFORM

Thanks to Robyn for submitting this trick through the contact page.

Leave a Reply