cancel
Showing results for 
Search instead for 
Did you mean: 

how to remove authorization of document type KJ from users

SwapnilkumarL1
Participant
0 Kudos

Dear team,

We want remove authorization of document type KJ from users how we can remove it.

Regards,

Akash

Accepted Solutions (0)

Answers (1)

Answers (1)

giova10ni
Contributor
0 Kudos

Dear Sanjay,

If you don't want certain users to use a document type, you can create a validation.

1) In GS01 create a basic Set for table BKPF and Field USNAM. Enter all the usernames which should not use this document type in the list. Give a name for your set e.g. usergroup and save.

2)In OB28 create a simple validation for Application Area FI, Callup point 1.

-In the prerecuisite area use table fields for strusture BKPF and enter: BKPF-USNAM IN USERGROUP

-in Check area enter: BKPF-BLART=KJ

Use operators under Status area (=<>() >=) etc when editing.

-in Message Area, enter E as the message type, enter a message number and text and in Message variables enter BKPF-USNAM. The text should look like : ''Username XYZ is not allowed to use document type KJ''Now each time a user tries to use this document type the system will generate this message and will be blocked from proceeding.

-Finally save your new validation in your company code with activation level 1.

Hope that helps.