Skip to Content
0
Former Member
Mar 30, 2005 at 11:28 AM

BOM Mulitlevel problem

29 Views

Hi All,

I am trying to display multilevel BOM display but it is displaying items only for 1st level.

I am attatching my code.

Kindly help me in this.

Regards,

Dilip

CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'

EXPORTING

CAPID = 'PP01'

DATUV = SY-DATUM

mktls = 'X'

MDMPS = 'X'

MEHRS = 'X'

STLAN = IT_RESULT1-STLAN

SVWVO = 'X'

VRSVO = 'X'

MTNRV = it_result1-matnr

WERKS = it_result1-werks

MDNOT = 'X'

STPST = 1

TABLES

stb = it_stb.

loop at it_stb.

write :/2 it_stb-idnrk,it_stb-OJTXP, it_stb-stufe.

endloop.