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

Problem with Material BOM creation.

Former Member
0 Likes
1,388

Hi,

I am not able to Material BOM using BAPI " BAPI_MATERIAL_BOM_GROUP_CREATE" , I am getting the result of "BOM Group bom# has been created, but unable to locate it the table STKO or STPO . Please help me create it using BAPI. I am not passing the Plant data .

Reg,

Prabakaran.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,262

Are you doing a commit after the BAPI call?



CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

9 REPLIES 9
Read only

Former Member
0 Likes
1,263

Are you doing a commit after the BAPI call?



CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

Read only

0 Likes
1,262

Hi Aparna,

Yes, I am using it. But still problem occurs.

Read only

0 Likes
1,262

Can you paste you code?

Did you check transaction CS06 with that bom group or table MAST?

Read only

0 Likes
1,262

I have checked with CS06 and in table MAST. It is not available. I am directly passing the values to the BAPI. Eventhough I am calling this FM remotely.

Read only

0 Likes
1,262

How are you calling the FM remotely?

I mean are you doing it through a program? If yes can you paste your code?

Or

Are you testing it thru SE37? If yes, are you using test sequences?

Read only

0 Likes
1,262

First I am testing it first client using SE37, In this It is showing BOM group has been created, but not showing the BOM no in MAST, STPO, STKO tables.

I am using Program in second client to call the FM remotely in first client to create BOM group. But getting the errors " BOM explosion type not defined..

Read only

0 Likes
1,262

Hi ,

Please provide me the procedure to create BOM using the FM : CSAI_BOM_CREATE .

Reg,

Prabakaran.S

Read only

Former Member
0 Likes
1,262

hi

i think its just an warning message.you can create an alternate bom.in bapi u can use that field for alternate bom.

these are sonme bom related bapi

BAPI related to BOM:

BAPI_MATERIAL_BOM_GROUP_CREATE Creation of a material BOM group

BAPI_MAT_BOM_EXISTENCE_CHECK Check whether BOM for material exists

BAPI_BOM_UPLOAD_SAVE Main Module for BOM Update (Upload from CRM)

...

NOTE:::::

YOU HAVE TO CHECK WITH MAST TABLE.

Read only

Former Member
0 Likes
1,262

hi

material will be updated in MAST table