Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to get ACTVT value for authority-check

I would like to do an AUTHORITY-CHECK in a user exit which can be called during processing from either standard or custom transactions. How can I determine the current activity so that I can pass the correct value in ACTVT in the AUTHORITY-CHECK call?


.. Craig


Not that I know of. The closest you'll probably get is T180-TRTYP or a global TRTYP field but you'll probably still have to jump back to another global area to get it from a non-subroutine exit. Both SAPLMEPO and SAPMM06E use a globally declared field called 'XACTVT' though, so the best you can probably do is to try to access the value of that variable via field symbol in either main program and proceed from there.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question