Use Instead

All objects · Expert note

sy-uname

Use cl_abap_context_info=>get_user_technical_name( ) instead.

sy-uname→cl_abap_context_info=>get_user_technical_name( )
Not allowed in ABAP CloudExpert note, ABAP statement or API, also current user

Current user

Use the context info class in ABAP Cloud.

Explain with Claude

Summarize an ATC export Convert classic ABAP