Page 1 of 1

Restricting transaction code VA22

PostPosted: Wed Jan 28, 2015 2:01 am
by Re
Hi All,

I am trying to restrict transaction code per document status.
I have 2 scenarios, when the quotation is in status A, both users can change and update the quotation, once the status of the quotation is been updated to status B (for example), one user should not be able to change anything on the quotation, while the other can update the quotation.
I am able to restrict the users down to document type, but I do not see any way to restrict the document to status type.
I tried using authorisation object B_USERSTAT, and utilising the authorisation key, but that object is not even being checked.
Any one has any suggestions?

Thanks
Re

Re: Restricting transaction code VA22

PostPosted: Wed Jan 28, 2015 9:13 am
by Sharpshooter
From the documentation:
Code: Select all
This authorization object is only checked during the direct setting or
deletion of the user status in the status maintenance screen (SAPLBSVA
0300/0302) or in the dialog box of the user status maintenance (SAPLBSVA
0201).


In order to accomplish your goal, you will need to code the check and response in a userexit.

Dave

Re: Restricting transaction code VA22

PostPosted: Thu Jan 29, 2015 12:12 am
by Re
thought as much, thank you