Ansicht
Dokumentation
SAMPLE_INTERFACE_CS000170 - BTE : ALE Inbound BOMs, Inbound Tables
General Material Data PERFORM Short ReferenceThis documentation is copyright by SAP AG.
Business Transaction Event : CS000170
Function
Customer-specific change to the BOM tables of an IDoc for BOM distribution using ALE in inbound processing.
Validity
This event is triggered by inbound processing of the following message types:
,,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 BOM tables, to ensure consistent posting of distributed BOMs.
Do no change the sequence of entries of any tables (for example, by using the commands SORT, INSERT, or DELETE), because this leads to inconsistencies and unforeseen effects in update if you use the NO_DATA_SIGN '/', which determines that the field content is not to be changed.
The service module for processing this event must not be addressed by an RFC call, because this terminates the current logical unit of work (LUW). This must not happen during inbound processing of the IDoc. For this reason, you are not allowed to use a COMMIT WORK within the service module, either. For update transactions, use IN UPDATE TASK.
Interface Parameters
IDOC_CONTROL
Structure for control record data (read/write access)
STZUB (read/write access)
Permanent BOM data
MASTB (read/write access)
Link between material and BOM (BOMMAT, PALMAT, STTMAT)
DOSTB (read/write access)
Link between document and document structure (BOMDOC)
KDSTB (read/write access)
Link between sales order material and BOM (BOMORD)
STKOB (read/write access)
BOM header
STASB (read/write access)
Link between BOM header and items
STPOI (read/write access)
BOM items
STPUB (read/write access)
BOM subitems
ERROR
Date returned in IDOC_CONTROL is discarded
IDOC_ERROR
Outbound processing of the IDoc is terminated
Parameters
IDOC_CONTROLP_DOSTB
P_KDSTB
P_MASTB
P_STASB
P_STKOB
P_STPOI
P_STPUB
P_STZUB
Exceptions
ERRORIDOC_ERROR
Function Group
CSBERFUMSV00 - Advance Return for Tax on Sales/Purchases CL_GUI_FRONTEND_SERVICES - Frontend Services
This documentation is copyright by SAP AG.
Length: 2545 Date: 20240523 Time: 062125 sap01-206 ( 42 ms )