cancel
Showing results for 
Search instead for 
Did you mean: 

Authority check - Sap Query

Former Member
0 Kudos

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?

Accepted Solutions (0)

Answers (0)