Ansicht
Dokumentation

ICH_BIF_WO_INF_IN - BAdI: Prepare Work Order Information for ERP

ICH_BIF_WO_INF_IN - BAdI: Prepare Work Order Information for ERP

BAL Application Log Documentation   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) converts the data of the ManufacturingWorkOrderInformation_In servifrom SNC for ERP usage.

Whenever the ManufacturingWorkOrderInformation_In service is triggered by SNC, the complete work order is sent to ERP. The BAdI ICH_BIF_WO_INF_IN can be implemented to trigger the follow-up actions.

The service maps the XML message of SNC to the specified BAdI method parameters. It invokes the BAdI methods POST_ALL and POST.

The BAdI method POST_ALL is called first. The BAdI receives the complete XML message for processing.

The BAdI method POST, which has specific importing parameters, is then called.

Note:
If the implementation of the POST methods requires the complete XML message, the POST_ALL method needs to be implemented as well to save the XML message on the object.

The example implementation creates a confirmation of the production or process order if the following conditions are met:

  • The work order is based on a purchase order.
  • The purchase order is based on a purchase requisition.
  • The purchase requisition was triggered by an external operation of a production or process order for which a WIP batch is mandatory.
  • The data sent has not already been confirmed before.

If the data sent by SNC changes, any existing confirmations will be canceled before a new confirmation is done.

With the confirmation of the data, a WIP batch including classification is created. The components used for production are assigned to this WIP batch. The WIP batch is created for the reference material (marc-ucmat) of the order header material (afpo-matnr). If the reference material is not maintained, the order header material is used.






rdisp/max_wprun_time - Maximum work process run time   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 2169 Date: 20240523 Time: 192400     sap01-206 ( 45 ms )