‎2006 Dec 21 4:26 AM
hi,
my requirement is to get material list which are belongs to particular material.
for example take computer. it consists of keyboard, mouse, cpu, ets........
if computer is input from user i need to show all related things like keyboard,mouse,cpu......
is it possible with bapis . if any bapi is there pls tell me.
regards
Guru
‎2006 Dec 21 4:33 AM
u have to call
, it will get BOM materials.
call function 'CS_BOM_EXPL_MAT_V2'
exporting
capid = 'PP01'
datuv = sy-datum "BOM_HEADER-DATUV
ehndl = '1'
* EMENG = V_MENGE_2
mehrs = 'X'
mmory = '1'
mtnrv = t_fert2-matnr
werks = t_fert2-werks
* importing
* TOPMAT =
* DSTST =
tables
stb = t_stb
* MATCAT =Regards
Prabhu