Application Development and Automation 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: 
Read only

Function Module for retrieving bill of materials

Former Member
0 Likes
1,414

Hi Experts,can any one help me how to retrieve bill of materials with the standard

function module,please help over this issue,it is very urgent to me.

Regards,

Sridevi.

Hi Experts,can any one help me how to retrieve bill of materials with the standard

function module,please help over this issue,it is very urgent to me.

Regards,

Sridevi.

7 REPLIES 7
Read only

Former Member
0 Likes
1,228

Hi,

Function module for retriving Bill of Material:<b>CS_BOM_EXPL_MAT_V2</b>

<b>plz reward points if helpful or if it solves ur query.</b>

Thanks

Chinmay

Read only

0 Likes
1,228

Hi,

I need to know to the function module to retrieve the delta bill of materials only,

please help me over this issue,it is very urgent for me.

Regards,

Sridevi.

Read only

Former Member
0 Likes
1,228

Hi

CS_BOM_EXPL_MAT_V2. If you want to get the assembly level(First level) of components then comment the parameter "MEHRS" in the FM.

Whether ur requirement is to include the alterante top assembly BOM and subassembly BOM.

Check the below link,

Regards,

Suresh

Message was edited by:

SureshKumar Ramamoorthy

Read only

Former Member
0 Likes
1,228

hi sridevi chavali

ALE_MATERIAL_BOM_GROUP_CREATE Creation of a Material BOM

BAPI_MATERIAL_BOM_GROUP_CREATE Creation of a Material BOM Group

BAPI_MAT_BOM_EXISTENCE_CHECK Check Whether BOM for Material Exists

reward points if helpful

regards

sreeni

Read only

Former Member
0 Likes
1,228

try this

CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'

EXPORTING

CAPID = 'PP01'

DATUV = sy-datum

MKTLS = 'X'

MEHRS = 'X'

MTNRV = it_matnr-matnr

STLAL = p_stlal (default is 1)

STLAN = p_stlan (default is 01)

STPST = 0

SVWVO = 'X'

WERKS = p_werks

VRSVO = 'X'

TABLES

STB = it_stb

MATCAT = it_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.

Regards

Prabhu

Read only

0 Likes
1,228

Hi,

I need to know the function module for retreiving the existing BOM.

please help me over this issue.

Rgds,

Sridevi.

Read only

Former Member
0 Likes
1,228

Sorry, why are you trying with a function module and dont use for this an standard extractor as 2LIS_04_P_COMP?