SAP Function SAMPLE_INTERFACE_CS000150 - BTE : ALE Inbound BOMs, IDoc Control Record

Parameter Reference Type Length Default Optional Text
IDOC_CONTROL EDIDC u 542 IDOC Control Record

Parameter Reference Length Optional Text
SERIALIZATION_INFO BDI_SER 215 Serialization Objects for One/Several IDocs

Exception Text
ERROR ERROR: Discard Return Values
IDOC_ERROR ERROR: Terminate IDoc Processing

Business Transaction Event : CS000150

Function
Customer-specific change to the control record 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
Do not change the entries in the control record of an IDoc, becausethis always influences the entire ALE scenario.
You cannot change the message type (field MESTYP) or the basic type(field IDOCTP).
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
SERIALIZATION_INFO
Table of serialization data for one or more IDocs
IDOC_CONTROL
Structure for control record data (read/write access)
ERROR
Date returned in IDOC_CONTROL is discarded
IDOC_ERROR
Outbound processing of the IDoc is terminated