Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
Showing results for 
Search instead for 
Did you mean: 

Re: BOM Creation

Former Member
0 Kudos


I am creating BOM using CSAP_MAT_BOM_CREATE. But BOM header quantity(base Quantity) was updated always with value 1 irrespective of copy from BOM value.

I am getting BOM details from CSAP_MAT_BOM_READ and then passing these values to CSAP_MAT_BOM_CREATE . in the header table stko, I am passing 10 as basw qty to CSAP_MAT_BOM_CREATE. After creation of BOM, When I look into CS03, base qty is updated as 1.

Does any one have come across this scenario and how did you overcomed?

Thanks in Advance


Active Contributor
0 Kudos

It is working for me without any problem in SE37. You need to check the structure which is passing values to I_STKO.

0 Kudos


REfer to the links


May be you are missing something on the decimal place. Try to pass a different value like 2 or 23 and check the same.


Vijay V

0 Kudos


Sorry, My problem was not solved, I tried in different ways, but not working. I am even using FM CSAP_MAT_BOM_MAINTAIN to chnage the BOM Header qty, it was working when i run FM in SE37, but when i implemented in my program it was not working. By BOM qty is always 1 irrespective of any value I pass.

But Strangely, IF I put a break point and execute , it will save correct value.

I even tried using BDC recording and made ny BDC into Func Mod. and called Func Module, but still not working. Similarly with the


Any Suggestion .

Thanks in Advance