Fonction SAP SAMPLE_INTERFACE_CS000160 - BTE : ALE Inbound BOMs, IDoc Data Records

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
IDOC_CONTROL EDIDC u 542 IDOC Control Record

Paramètre Reférence Long. Facultatif Description
IDOC_DATA EDIDD 1062 IDOC Data Records

Exception Description
IDOC_ERROR ERROR: Terminate IDoc Processing

Business Transaction Event : CS000160

Function
Customer-specific change to the data records of an IDoc for BOMdistribution using ALE in inbound processing.

Validity
This event is triggered by inbound processing of the following messagetypes:
,,BOMMAT : Material BOMs
,,PALMAT : Plant assignments to material BOMs
,,STTMAT : Material variants for material BOMs
,,BOMDOC : Document structures
,,BOMORD : Sales order BOMs

Restrictions
At this point, customer-specific segments can be imported andprocessed.
The service module for processing this event must not be addressed byan RFC call, because this terminates the current logical unit of work(LUW). This must not happen during inbound processing of the IDoc. Forthis reason, you are not allowed to use a COMMIT WORK within theservice module, either. For update transactions, use IN UPDATE TASK.

Interface Parameters
IDOC_CONTROL
Structure for control record data (read/write access)
IDOC_DATA (read/write access)
IDOC_ERROR
Outbound processing of the IDoc is terminated