‎2012 May 24 8:11 AM
Dear Experts,
I am using 'CSAP_MAT_BOM_CREATE' to upload BOM to upload BOM and it is working fine.
Using modifications we have added 2 more fields in CS01, which you can see in the screenshot. The fields are Allocation and Other BOM Item number.
Now the issue is I want to update those 2 fields also when I am uploading the BOM.
How can I achieve the same. Should I copy CSAP_MAT_BOM_CREATE to Z and do the modifications ?
‎2012 May 24 12:24 PM
‎2013 Apr 25 8:44 PM
I just saw this thread, but here is the answer in case someone else looking for it.
Table STPO (BOM items) has an inactive include CI_STPO, Just add the custom fields to it, and there is nothing else that needs to be done. The values populated in BAPI call will be updated, for example:
data: begin of tstp3 occurs 0.
include structure stpo_api03.
data: end of tstp3.
.....
clear tstp3.
tstp3-id_item_no = '0010'. "Item identification
tstp3-ZTEST = 'abc'.
append tstp3.
I am using BAPI - CSAP_MAT_BOM_MAINTAIN
For further details refer to OSS Note 425032 - ALE: Customer-specific BOM fields