Changing a Material BOM
In the standard system, you use the following function modules to change a material BOM:
- CSAP_MAT_BOM_OPEN
- CSAP_BOM_ITEM_MAINTAIN
- CSAP_MAT_BOM_CLOSE
INPUT: | Material (MATERIAL) |
Plant (PLANT) | |
BOM usage (BOM_USAGE) | |
Valid-from date (VALID_FROM) | |
Change number (CHANGE_NO) | |
Revision level (REVISION_LEVEL) | |
Indicator FL_NO_CHANGE_DOC (do not write change documents) | |
OUTPUT: | BOM header data (O_STKO) |
Table T_STPO (BOM items) | |
Table T_DEP_DATA (object dependencies basic data) | |
Table T_DEP_DESCR (object dependencies descriptions) | |
Table T_DEP_ORDER (object dependencies allocation) | |
Table T_DEP_SOURCE (object dependencies source code) | |
Table T_DEP_DOC (object dependencies document) |
You can:
- Create new items
- Change items
- Delete items
- Maintain object dependencies
You cannot use the external name that you entered when you created the dependency to identify the data belonging to a local dependency.
INPUT: | BOM item (I_STPO) |
Table T_DEP_DATA (object dependencies basic data) | |
Table T_DEP_DESCR (object dependencies descriptions) | |
Table T_DEP_ORDER (object dependencies allocation) | |
Table T_DEP_SOURCE (object dependencies source code) | |
Table T_DEP_DOC (object dependencies document) |
- You cannot change the item category of an existing item.
- You can only change each item once in one session (between when you open and close the BOM).
- If you see the error message "Item cannot be changed" in the log, the following reasons may apply:
- The item is not valid on the valid-from date entered, because it becomes valid at a later date.
- Object dependencies are allocated to the item, but the change number you used to open the BOM is not active for object dependencies.
- The item has already been processed with another change number on the valid-from date entered.
The BOM is only saved if at least one item was changed successfully.
- There is no function module for changing header data.
- The same restrictions apply as for creating a BOM.
- You can only process one alternative or variant. If you do not enter an alternative when you call function module CSAP_MAT_BOM_OPEN, the function module opens alternative "01".
沒有留言:
張貼留言