‎2008 May 06 3:28 PM
Dear All,
I am trying to create BOM using BAPI : "BAPI_MATERIAL_BOM_GROUP_CREATE" in a Program.
Now the problem is that when I Execute this, after the BAPI, i get Following Error messages in the Return Table of BAPI:
1) Type W - Error when checking the data of the object type=ITM / Id= of group Id=
2) Type E - Bill of material is not valid
3) Type A - No instance of object type BOMGroup has been created. External reference:
Now the other thing is that When i execute the BAPI through SE37 with the same data that is passed through the Program to BAPI, it is successfully creating BOM without any error.
Can some one help on this please??
It is ugent.
Helpful answers will be rewarded.
Regards,
Tejas
‎2008 May 07 8:25 AM
Problem Solved...!
Instead of '1' as ALTERNATIVE_BOM in VARIANTS and MATERIALRELATIONS of BAPI, I passed '01'.
that Did it...Cheers.....
-Tejas
‎2009 Aug 20 5:17 PM
‎2008 May 07 12:43 PM
hi,
Have u declared FM:bapi_TRANSACTION_COMMIT .SEE IT IS GIVEN R NOT .and have u declared
1)BOM group
2) VARIANTS
3)Material relations
regards
Durgaprasad