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 for BOM

Former Member
0 Likes
968

Hi Guys,

is there any standard BAPI which can handle multi level BAPI's.

If not is there any function module which can do this.

Actually i want to get the deta for BOM to the last level.

5 REPLIES 5
Read only

Former Member
0 Likes
826

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)

Regards.

Read only

0 Likes
826

This message was moderated.

Read only

praveen_hannu
Contributor
0 Likes
826

you can use this FM /ISDFPS/PM_BOM_GETDETAIL. You need to pass the material and plant concatenated into single field.

This FM will retrrive all the BOM /ISDFPS/PM_BOM_GETLIST and CABM_READ_BOM.

Try this FMs, I hope it will work.

Regards

Praveen

Read only

Former Member
0 Likes
826

HI,

Call the function module 'CS_BOM_EXPL_MAT_V2' in your program & you will get the same output as you do in CS12.

call function 'CS_BOM_EXPL_MAT_V2'

exporting

datuv = il_datuv " bom expln date

mehrs = 'X'

mtnrv = il_matnr "Material number

stlal = il_stlal

stlan = il_stlan

werks = il_werks " plant

tables

stb = it_stpox

exceptions

alt_not_found = 1

call_invalid = 2

material_not_found = 3

missing_authorization = 4

no_bom_found = 5

no_plant_data = 6

no_suitable_bom_found = 7

conversion_error = 8

Suggest to do search in SDN with key - 'BOM'

Will get a lot of helpful discussions.

<b>Reward points if this helps.

Manish</b>

Read only

Former Member
0 Likes
826

This message was moderated.