Skip to Content
0
Former Member
Nov 10, 2009 at 06:52 AM

CS_BOM_EXPL_MAT_V2

209 Views

Dear All,

I am using CS_BOM_EXPL_MAT_V2 to get BOM details.

See sample code below.

It's not working.

Please tell me how can I get group BOM detail.

Regards,

Nikhil Gupta

*****************************************************

sample code:

CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'

EXPORTING

capid = 'PP01'

datuv = sy-datum

mehrs = 'X'

mtnrv = ls_matnr

postp = ' '

TABLES

stb = int_components2

matcat = int_components

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.