Batch Job Does Not Release WO for External Services due to Req Req'd field
I setup a maintenance plan to release Work Orders that have the External Services (control key designated is PM02) planned. Every month a WO needs to be produced that in turn has a requisition created. We are getting errors when the batch job (which runs IP30) runs due to the "Requisitioner" field being set to required. Since this field is not populated during the batch job, the work order is not created and we are left at a standstill. I was wondering if anyone had a way to get that field populated automatically during the batch job?
Paul Meehan replied
You could use exit COZF0001 to fill the Requisitioner field for external components. Put the value in field AFNAM of EBAN_ORD_CUST structure. Check the transaction code so the value is only automatically set from IP10 (IP30).
An alternative would be to change the customizing so the field was not a required field. Then add validation (through a exit) in IW31/32 to check that the user had set a value.