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

reading bom

Former Member
0 Likes
792

hi experts,

can anyone tell me, which function module to use to get the whole bom data along with items, subitems, n further sub items when i input material, plant and usage.

1 ACCEPTED SOLUTION
Read only

Former Member
720

hi,

pls try this FM 'CS_BOM_EXPL_MAT_V2'

4 REPLIES 4
Read only

Former Member
721

hi,

pls try this FM 'CS_BOM_EXPL_MAT_V2'

Read only

Former Member
0 Likes
720

check

CS_BOM_EXPLOSION

CS_BOM_EXPLOSION_EQUI

CS_BOM_EXPLOSION_MAT

CS_BOM_EXPL_EQU_V2

CS_BOM_EXPL_KND_V1

<b>CS_BOM_EXPL_MAT_V2 </b>

CS_BOM_EXPL_PSP_V1

CS_BOM_EXPL_TPL_V1

CS_BOM_EXPL_DOC_V1

CS_BOM_EXPL_GNRL2_V1

fn module

regards

shiba dutta

Read only

Former Member
0 Likes
720

Hi Santhosh,

CSAP_MAT_BOM_READ

The above links will help u.

Read only

Former Member
0 Likes
720

Use the FM CS_BOM_EXPL_MAT_V2,

to get the detailed level set the MEHRS parameter to 'X'.

CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
          EXPORTING
            capid                 = 'PP01'
            datuv                 = sy-datum
            emeng                 = bstmi
            mtnrv                 = matnr
            stlal                 = stlal
<b>            mehrs                 = 'X'</b>
            werks                 = werks
          TABLES
            stb                   = t_tstb
            matcat                = t_mcat

Regards

Wenceslaus