11-17-2010 9:40 AM
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.
03-25-2011 3:25 PM
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.