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

bapi_bom_upload_save

Former Member
0 Likes
1,365

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

8 REPLIES 8
Read only

Former Member
0 Likes
999

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

Read only

Former Member
0 Likes
999

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

Read only

nishanthbhandar
Contributor
0 Likes
999

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.

Read only

ferry_lianto
Active Contributor
0 Likes
999

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.

Read only

0 Likes
999

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

Read only

0 Likes
999

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.

Read only

0 Likes
999

i am passing the value for bdc_flag = ''

i am not using the parameter new_group_out

Best REgards

Ambiga Arun

Read only

0 Likes
999

Hi Ambiga,

Use FM "CAD_CREATE_BOM_WITH_SUB_ITEMS".

You can create BOM's for all your requirements

through this.

with regards,

Pravin