on 09-19-2014 4:02 PM
Hello,
I need to stop creating in order type PM03 in IW31 since it is created in background job.
and i have another order type and assigned to roles so I am not able to use the role control for this.
is there any other user exit for this?
Shri
The following code in userExit IWO10009 (Include ZXWOCU07) , will not allow PM03 Orders created directly.
IF SY-TCODE = 'IW31' AND CAUFVD_IMP-AUART = 'PM03'.
MESSAGE: 'Direct Order Creation not allowed for PM03 Order type' TYPE 'E' DISPLAY LIKE 'I'.
ENDIF.
Note that this is prevented at the time of saving the Order. The error you get is
KJogeswaraRao
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shrithar,
I would suggest that you create a seperate role for IW31, with restriction in order type level. For your reference use authorization Object I_AUART, Order Types with fields AUFAR - Order Type.
Hope this will resolve your query..
Regards,
Joydeep..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
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.