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: 

How to use BAPI_MATERIAL_BOM_GROUP_CREATE for BOM change?

0 Kudos

Hi All-

I would like to know how to use the BAPI - BAPI_MATERIAL_BOM_GROUP_CREATE to change an existing BOM? I know other available function modules for changing BOMs, but I would appreciate if someone tell me how to use the above BAPI. I heard we can use this to change the BOM.

Points will surely be awarded....

THanks

M A

Edited by: Shakir on Jul 15, 2008 4:29 PM

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi,

data : TESTRUN LIKE BAPIFLAG,

CALL FUNCTION 'BAPI_MATERIAL_BOM_GROUP_CREATE'

EXPORTING

TESTRUN = TESTRUN

TABLES

ITEMASSIGNMENTS = ITEMASSIGNMENTS

SUBITEMASSIGNMENTS = SUBITEMASSIGNMENTS

TEXTS = TEXTS

RETURN = RETURN

MATERIALRELATIONS = MATERIALRELATIONS

SUBITEMS = SUBITEMS

ITEMS = ITEMS

VARIANTS = VARIANTS

BOMGROUP = BOMGROUP

EXCEPTIONS

OTHERS = 01.

1 REPLY 1

Former Member
0 Kudos

hi,

data : TESTRUN LIKE BAPIFLAG,

CALL FUNCTION 'BAPI_MATERIAL_BOM_GROUP_CREATE'

EXPORTING

TESTRUN = TESTRUN

TABLES

ITEMASSIGNMENTS = ITEMASSIGNMENTS

SUBITEMASSIGNMENTS = SUBITEMASSIGNMENTS

TEXTS = TEXTS

RETURN = RETURN

MATERIALRELATIONS = MATERIALRELATIONS

SUBITEMS = SUBITEMS

ITEMS = ITEMS

VARIANTS = VARIANTS

BOMGROUP = BOMGROUP

EXCEPTIONS

OTHERS = 01.