on 12-24-2008 6:09 AM
Hai
i want to restrict my users deleting the vl02n ( delivery )
i have checked the objects but not supporting
can any one help me in this regards
Thanks and regards
kumaraswamy
I also had same issue and after spending some time I manage to found solution. This is explained in OSS note 580226. First we need to add activity '06' in authorisation object V_LIKP_VST and then add following code in delivery user exit MV50AFZ1.
FORM USEREXIT_DELETE_DOCUMENT.
*>>>> START OF INSERTION <<<<
authority-check object 'V_LIKP_VST'
id 'VSTEL' field likp-vstel
id 'ACTVT' field '06'.
if sy-subrc ne 0.
message a001(ZZ). "Use own error message here
endif.
*>>>> END OF INSERTION <<<<<<
ENDFORM.
In this way we can restrict user to have 'Delete' delivery authorisation or not.
Regards,
Sanjay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can create screen variant via SHD0 trxn to hide delete button in the delivery as following:
- open SHD0 and create new variant using create button
- It will ask for the program name and Status with Ok and "Functions" button
- Provide "SAPMV50A" for program and for Status press f4(possible entries) .. there you can select "E0"
- In the following screen expand "Function Setting"
- Deactivate "LOES_T---Delete" record after selecting it
- save variant and assign it to new T-code
you'll get the following result:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Kumaraswamy
Take the help of your basis team who can do this in no time.
thanks
G. Lakshmipathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
8 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.