cancel
Showing results for 
Search instead for 
Did you mean: 

Order type PM03 Not allowed in IW31 to create

shrithar_shelvaraj2
Active Participant
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

jogeswararao_kavala
Active Contributor
0 Kudos

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

shrithar_shelvaraj2
Active Participant
0 Kudos

Is there any restriction while selecting order type PM03 in IW31.

Since it is checking while saving.

jogeswararao_kavala
Active Contributor
0 Kudos

No, That's why I specially mentioned that in Note.

Thank you

Answers (1)

Answers (1)

Former Member
0 Kudos


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..