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: 

Function module to display hirerachial display of Material BOM components

Former Member
0 Kudos

Hi,

I have a requirement to display the Hirerachial display of all the components under a material. That is multilevel display for Components of a material. Like CS12. Is there any function module to display the hirerachial display.

Will reward points.

1 REPLY 1

Former Member
0 Kudos

<i>Function on which is constructed transaction CS12:</i>

<b>CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'

EXPORTING

capid = 'PP01'

datuv = sy-datum

mktls = 'X'

mehrs = 'X'

mtnrv = t_mast-matnr

stlal = '01'

stlan = '1'

stpst = 0

svwvo = 'X'

werks = p_werks

vrsvo = 'X'

TABLES

stb = t_stb

matcat = t_matcat

EXCEPTIONS

alt_not_found = 1

call_invalid = 2

material_not_found = 3

missing_authorization = 4

no_bom_found = 5

no_plant_data = 6

no_suitable_bom_found = 7

conversion_error = 8

OTHERS = 9.</b>