Skip to Content
0

Authority check - Sap Query

Nov 03, 2016 at 09:50 AM

37

avatar image
Former Member

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers