Order type PM03 Not allowed in IW31 to create
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?
Jogeswara Rao K replied
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'.
Note that this is prevented at the time of saving the Order. The error you get is