Exploded production bill of material - CX_ALLOCATION_TXN
Exploding a BOM creates a tree structure with objects of class CX_ALLOCATION_TXN. The hierarchy of these objects initially also determines the MRP usage of the parts, but you can overwrite this with additional specifications.
For a more detailed description of the different types of modules, see here.
Further technical descriptions of disposable assemblies:
Printing of the production documents:
When the shop floor papers are printed, all subTransactions of the individual BOM predecessors are first fetched and the required BOMs are placed in a collection.
The pre.transactionsLink collection is then fetched for each predecessor of the BOM and checked to see if there is a post.transactionsLink slot:
If so (loose part), the system checks whether the BOM predecessor is the same. The item is only printed if the predecessors are identical.
If not, a pure MRP assembly is assumed, which must be printed in any case.
Bill of material explosion
When exploding the MRP assembly, a BOM item is first created for this purely MRP assembly, then all its items are added to the Vector reAllocations, and the assembly itself is then added to the Vector reAllocators as often. The sub-items are NOT exploded here.
If the BOM is then exploded further down, the system checks for each BOM item just created whether its allocation is contained in the vector reAllocations, or whether it contains the conditional item from which the BOM item just exploded originates. If so, it is attached to the MRP assembly added at that time (is contained in reAllocators with the same index) via post.transactionLink - pre.transactionsLink using the macro ReAllocateTxn.
The purely dispositive assembly hangs at its superior position with the connection transaction, but it is not included in its subTransactions collection, it is only reached via pre.transactionsLink. For this reason, the view of the "normal" BOM does not change. The assembly that is purely MRP is invisible here.
In plain language, this means that a transaction (reAllocations[5]) found in the fifth position in the vector reAllocations, for example, must be attached to exactly the transaction (reAllocators[5]) contained in the same position in the vector reAllocators (via pre.transactionsLink, post.transactionLink).
Define a constructive bill of material in the master data:
To mark an item in the master BOM as a constructive assembly, two indicators are necessary:
in the BOM item of the higher-level BOM that contains this design assembly (check mark on item) and
once in the parts list of the production part, which later represents the constructive assembly itself.