2012 Feb 20 7:22 PM
Hi,
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
Hi,
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
2012 Feb 20 7:45 PM
It is working for me without any problem in SE37. You need to check the structure which is passing values to I_STKO.
2012 Feb 20 8:55 PM
Hi
REfer to the links
[http://wiki.sdn.sap.com/wiki/display/ABAP/ToCreateaMaterialBOMalongwiththeAlternateNousingBAPI_MATERIAL_BOM_GROUP_CREATE!]
http://forums.sdn.sap.com/thread.jspa?threadID=1806030
May be you are missing something on the decimal place. Try to pass a different value like 2 or 23 and check the same.
Regards,
Vijay V
2012 Feb 23 2:04 PM
Hi,
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
Standard FM CSAP_MAT_BOM_MAINTAIN.
Any Suggestion .
Thanks in Advance
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |