Application Development 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: 

Problem with Material BOM creation.

Former Member
0 Kudos

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

Former Member
0 Kudos

Are you doing a commit after the BAPI call?



CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

9 REPLIES 9

Former Member
0 Kudos

Are you doing a commit after the BAPI call?



CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

0 Kudos

Hi Aparna,

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

0 Kudos

Can you paste you code?

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

0 Kudos

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.

0 Kudos

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?

0 Kudos

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..

0 Kudos

Hi ,

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

Reg,

Prabakaran.S

Former Member
0 Kudos

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.

Former Member
0 Kudos

hi

material will be updated in MAST table