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: 

Functional Module for BOM

Former Member
0 Kudos

Hi Gurus,

I would like to know is there any functional module by which we can read the Zeroth level of BOM from a child level mterial.

it is Like BOM Implosion

from child to parent.

For example i have the bom like below

0 level--- FERT

1 LVEL-- HALB1

2 LEVEL-HALB2

3 LEVEL-ROH

In this structure i know the ROH MATNR.Now i have to get the FERT MATNR.

Suggest me is there anyother way to find it.

4 REPLIES 4

Former Member
0 Kudos

CF_UT_BOM_DISPLAY PRT: Display bill of material

CAVC_I_GET_BOM_HEADER_DATA

CAVC_I_GET_BOM_ITEM_DATA

CAVC_I_GET_BOM_ITEM_DATA_LIST

Regards.

rajesh_akarte2
Active Participant
0 Kudos

HI ,

Try to use BAPI 'BAPI_PRODORD_GET_DETAIL'.

It may solve ur problem.

Reward if useful.

Regards,

Rajesh Akarte

former_member189631
Active Contributor
0 Kudos

Hi Vijay,

Try these BOM FMs,

  • APHT/DRM_MAT_BOM_READ Read BOM components till no further explosion is possible

  • /SAPSLL/BOMHD_DISPLAY

  • DMU_MAT_BOM_EXPLODE

Regards,

Ram

Former Member
0 Kudos

Hi Vijay,

try this FM. it will solve your problem..

CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'

EXPORTING

CAPID = 'PP01'

DATUV = LV_DATE

  • DATUV = WA_MASTERDATA-DATUV

EMENG = wa_masterdata-bmeng

MEHRS = ' ' "just download 1 level

MTNRV = wa_masterdata-matnr

STLAL = wa_masterdata-stlal "Alt BOM

STLAN = wa_masterdata-stlaN "Prod BOM

WERKS = wa_masterdata-WERKS

TABLES

STB = LT_BOM

EXCEPTIONS

OTHERS = 4.

Thanks,

Murali