Skip to Content

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

Forbiding Entry of Future Basic Start date in Breakdown order type

Team,

How can I go about forbidding a user from entering a future date when creating a breakdown PM order as a breakdown would always occur in the past when ever the user is creating an order?

Former Member
replied

Hello Mutale,

Put this simple code in the include ZXWOCU07 user-exit IWO10009.

IF caufvd_imp-auart = 'PM02' AND caufvd_imp-gstrp > sy-datum.
MESSAGE: 'For Order type ''PM02'' Basic Start date can not be in future.' TYPE 'E' DISPLAY LIKE 'I'.
ENDIF.

After this no Order of type 'PM02' (Breakdown) will be able to be created with future date in Basic Start date field. It will throw the following error pop-up during such attempts.

Regards

KJogeswaraRao

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question