Skip to Content
avatar image
Former Member

Authority check - Sap Query

Hi,

i need your support.

I need to add to the following Authority check in my SAP query the number of the company code (XXX) that user can't see.

AUTHORITY-CHECK OBJECT 'Z_BUKRSDIM'
ID 'BUKRS' FIELD acdoca-rbukrs
ID 'ACTVT' FIELD '02'.
IF sy-subrc <> 0.
MESSAGE e999(zzzzz) WITH 'User not authorized for comp. code XXX' acdoca-rbukrs.

ENDIF.

Can someone help me?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers