‎2006 Jun 24 10:10 AM
HI pals
I am not able to create alternate bom using bapi_bom_upload_save can any one help to solve this problem
BEst REgards
Ambiga Arun
‎2006 Jun 24 10:45 AM
Have you called the BAPI_TRANSACTION_COMMIT after the bapi call?
If yes, then please post more details regarding what you have passed to the bapi_bom_upload_save, for the forum to be able to help you.
Sudha
‎2006 Jun 24 10:47 AM
Hi,
After any BAPI that you have called, the BAPI 'BAPI_TRANSACTION_COMMIT' should be called to commit the changes done by the BAPI.
Sameena
‎2006 Jun 24 11:23 AM
The FM BAPI_BOM_UPLOAD_SAVE is using CSAP_MAT_BOM_CREATE to create the BOM but it does not have any option to specify the alternative to be created.Look for some other FM if you need to create an alternative BOM.Check if the FM BAPI_MATERIAL_BOM_GROUP_CREATE can be used as an alternative.
‎2006 Jun 24 2:36 PM
Hi Ambiga,
Welcome to SDN.
Please check this FM.
<b>CS_BI_BOM_CREATE_BATCH_INPUT1</b> - Create a new BOM or New Alt. BOM.
<b>CS_BC_BOM_CHANGE_BATCH_INPUT</b> - Maintain the BOM.
Hope this will help.
Regards,
Ferry Lianto
Please reward points if helpful as a way to say thanks.
‎2006 Jun 30 6:05 PM
hI FERRY
THANKS FOR YOU HELP
I am using
CS_BC_BOM_CHANGE_BATCH_INPUT - Maintain the BOM.
in my interface. I am not using session method
here . But sometimes i am getting error no session s found for Bdc_insert
BEst REgards
Ambiga Arun
‎2006 Jun 30 6:11 PM
It all depends on if you are calling this in a loop and passing the correct values to these two parameters <u> bdc_flag</u> and <u>new_group</u>. Let us know how you are calling the function module.
‎2006 Jul 01 9:26 AM
i am passing the value for bdc_flag = ''
i am not using the parameter new_group_out
Best REgards
Ambiga Arun
‎2006 Jul 01 12:51 PM
Hi Ambiga,
Use FM "CAD_CREATE_BOM_WITH_SUB_ITEMS".
You can create BOM's for all your requirements
through this.
with regards,
Pravin