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: 

Creating Dependency for Material BOM

karthik_rajaspic
Participant
0 Kudos

hi,

i have created a material bom using BAPI_MATERIAL_BOM_GROUP_CREATE. this bom has three line items in which the 3rd line item has a dependency for it. the dependency value is V29.

please let me know how to add a dependency to a material bom item, while creating a material bom using BAPI_MATERIAL_BOM_GROUP_CREATE?

is there any other function module to maintain the dependency after the material bom is created?

i have tried CSAP_MAT_BOM_OPEN, CSAP_BOM_ITEM_MAINTAIN and CSAP_MAT_BOM_CLOSE. but i couldn't succeed.

can anyone please let me know how to use these FM's for my case?

please help me with your answers.

thanks.

1 REPLY 1

karthik_rajaspic
Participant
0 Kudos

BAPI_MATERIAL_BOM_GROUP_CREATE cannot be used to create object dependency.

once the bom is created using the above function module, use...

CSAP_MAT_BOM_OPEN, CSAP_BOM_ITEM_MAINTAIN and CSAP_MAT_BOM_CLOSE

...to create OD individually for each line item.