Showing posts with label BOM. Show all posts
Showing posts with label BOM. Show all posts

Wednesday, September 26, 2018

Enabling BOM CAD Indicator using BAPI


CAD indicator is not part of the standard BAPI BAPI_MATERIAL_BOM_GROUP_CREAT. So CAD indicator cannot be enabled at the time of BOM creation.

CSAP_MAT_BOM_MAINTAIN BAPI can be used to update the CAD indicator at the Item level. We need to pass the values for the below fields.

Import Parameters:
MATERIAL = Parent material number
PLANT = Plant value(For Group BOM, leave it blank)
BOM_USAGE = BOM Usage like 1 or 2
VALID_FROM = Valid from date from the BOM Header validity block
FL_CAD = CAD indicator, provide X
FL_COMMIT_AND_WAIT = X
FL_DEFAULT_VALUES = X
FL_IDENTIFY_BY_GUID = X

Tables:

ITEM_CATEG = Item category like L
ITEM_NO = Item number like 0010
COMPONENT = Component material
COMP_QTY = Component Quantity 
COMP_UNIT = Conponent quantity unit