SAP Function SAMPLE_INTERFACE_CS000180 - BTE : ALE Inbound BOMs, Values Returned to ALE Layer

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

Parameter Reference Type Length Default Optional Text
WORKFLOW_RESULT BDWF_PARAM-RESULT C 5

Parameter Reference Length Optional Text
IDOC_STATUS BDIDOCSTAT 394
RETURN_VARIABLES BDWFRETVAR 102
SERIALIZATION_INFO BDI_SER 215 Serialization

Exception Text
ERROR ERROR: Discard Return Values

Business Transaction Event : CS000180

Function
Customer-specific change to the parameters returned to the ALE layerafter processing of an IDoc for BOM distribution using ALE.

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, you can define customer-specific control of the statusof an IDoc, its state, and the connection to SAP Business Workflow. Youneed to ensure that the returned values are known to the ALE layer.
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_STATUS (read/write access)
Status data of IDoc
RETURN_VARIABLES (read/write access)
Values returned to ALE layer
SERIALIZATION_INFO (read/write access)
Table of serialization data for one or more IDocs
WORKFLOW_RESULT (read/write access)
Values for the connection to SAP Business-Workflow