SapMaterial.com
BOM explosion
can anybody tell me which function i should use for explosion of BOM and which parameters I have
to pass ??? Mostly i want to pass only material No and Plant or BOM no.
(I had already tried CS_BOM_EXPL_MAT_V2 by passing Material No & Plant No but it gives invalid
call)
Answer:
As per my knowledge some more parameters are needed to be passed
below is that call function that I had used...that might help you
CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
EXPORTING
aumng = 0
capid = 'PP01'
datuv = sy-datum
emeng = 1
mktls = 'X'
mehrs = 'X'
mtnrv = itab1-assly " i.e. as per my code
stlal = '01'
stlan = '1'
stpst = 0
svwvo = 'X'
werks = itab1-werks " i.e. Plant
TABLES
stb = tstb
.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO WITH SY-MSGV1
SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Regards
Parin Gada
All of the product names here are trademarks of their respective companies. The site
www.allsaplinks.com no way affiliated with SAP AG. We have made every effort for the content
integrity. Information used on this site is at your own risk.
sap bom mm