Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

CS_BOM_EXPL_MAT_V2 Same Plant

Hi i'm using the FM 'CS_BOM_EXPL_MAT_V2' to extract de BOM of a material, but it returns me materials that are not in the same plant (werks),

CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'

EXPORTING

capid = v_appli

datuv = v_date

mehrs = 'X'

mtnrv = ti_mast-matnr

rndkz = ' '

stkkz = ' '

stlan = v_usage

stlal = v_stlal

werks = ti_mast-werks

nlink = 'X'

IMPORTING

topmat = w_topmat

TABLES

stb = itab_bom

EXCEPTIONS

alt_not_found = 01

call_invalid = 02

material_not_found = 03

missing_authorization = 04

no_bom_found = 05

no_plant_data = 06.

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question