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: 

Regarding BOM

Former Member
0 Kudos

Hi gurus,

I have a requirement like i need to get the BOM header data for that header data i need to get the component data and again for that component data i need to get the alternate component data for a particular Bomb so is their any way to get this or is their any standard function module through which i can get this requirement ?

any inputs will be highly appriciated

regards

sharma d

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Dear Sharma,

Just check these function module..

CS_BI_BOM_CREATE_BATCH_INPUT1

or

CS_BOM_EXPL_MAT_V2

Hope this will help you..

Regards,

Vijay

5 REPLIES 5

Former Member
0 Kudos

Dear Sharma,

Just check these function module..

CS_BI_BOM_CREATE_BATCH_INPUT1

or

CS_BOM_EXPL_MAT_V2

Hope this will help you..

Regards,

Vijay

Former Member
0 Kudos

Dear Sharma,

As per your detailed explaination i could make out that you want BOM header data then component data and finally alternate component data for this you can use this function module CSAP_MAT_BOM_READ

here you nee to pass material, bom usage etc.....

CALL FUNCTION 'CSAP_MAT_BOM_READ'

EXPORTING

material =

  • PLANT =

bom_usage =

  • ALTERNATIVE =

  • VALID_FROM =

  • VALID_TO =

  • CHANGE_NO =

  • REVISION_LEVEL =

  • FL_DOC_LINKS =

  • FL_DMU_TMX =

  • IMPORTING

  • FL_WARNING =

  • TABLES

  • T_STPO =

  • T_STKO =

  • T_DEP_DATA =

  • T_DEP_DESCR =

  • T_DEP_ORDER =

  • T_DEP_SOURCE =

  • T_DEP_DOC =

  • T_DOC_LINK =

  • T_DMU_TMX =

  • T_LTX_LINE =

  • T_STPU =

  • EXCEPTIONS

  • ERROR = 1

  • OTHERS = 2

.

IF sy-subrc <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

Cheers

fareed

Former Member
0 Kudos

Hi ,

Can you use bellow function module you will get the bom related data.

CSAP_MAT_BOM_READ

regards,

Munibabu.k

shishupalreddy
Active Contributor
0 Kudos

Hello,

Use CS_BOM_EXPL_MAT_V2 FM and pass the required parameters along with the level of BOM Items required .u will get all the data.

regards

Former Member
0 Kudos

Thanks everybody for all your replays

Regards

Sharma