Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Order type PM03 Not allowed in IW31 to create

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

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

Note that this is prevented at the time of saving the Order. The error you get is

KJogeswaraRao

2 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question