There was a query an year ago asking help on an issue:
He was unable to create Refurbishment Order (Order type PM04) because the Equipment field was mandatory in the initial screen itself of IW81. But the Equipment number was not relevant for his Refurbishment process. He was unable to pass through the initial screen because the system was stopping there itself.
Investigation had revealed that
So, first I asked him to clear this Req. setting in OIAN General screen.
OIAN setting making Equipment field mandatory in the Tcode intial screen itself for all Order types
OIAN After correction
Now his problem was solved. He was able to create the Refurbishment Order.
... But what about the Equipment Mandatory settings for other Order types. By the action above, we have sacrificed this mandatory field setting for Equipments in other Order types also (PM01, PM02, PM03). We need to restore these.
Compensating arrangement for other Order Types (to make Equipment field mandatory)
Now to compensate the above for other Order types, we opt for each Order type in the Influencing tab of OIAN and set the CAUFVD-EQUNR field Req.
Alternatively, I suggested to give the following code in the include ZXWOCU07 of User Exit User-Exit IW010009.
IF caufvd_imp-auart = 'PM01' OR caufvd_imp-auart = 'PM02' OR caufvd_imp-auart = 'PM03'.
IF caufvd_imp-tplnr IS INITIAL AND caufvd_imp-equnr IS INITIAL.
MESSAGE: 'Please fill Functional Location or Equipment' TYPE 'E' .
ENDIF.
ENDIF.
Now user gets error message at the Save event, whenever he tries to create an Order other than Refurbishment (PM04) without Equipment and/or Functional Location fields filled.
This addressed his issue in total.Felt like sharing this important observation with the forum.
Thank you
Jogeswara Rao K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
3 | |
2 | |
2 | |
2 | |
2 | |
2 | |
2 | |
2 |