SAP Function CAVC_I_DUPLICATE_BOM_ITEM - Duplication of an Instance (BOM Item)

Parameter Reference Type Length Default Optional Text
COPY_COUNT CAPIPARMS-COPY_COUNT N 3 1 X Number of Copies to be Made
COPY_VALUE_ASSIGNMENT CAPIFLAG-FL_COPY_VALUES C 1 SPACE X Indicator: Copy Assigned Characteristic Values
INSTANCE CAPIPARMS-INSTANCE N 8 Instance to Be Copied

Parameter Reference Type Length Text
RETURN BAPIRETURN u 452 Return Code

Parameter Reference Length Optional Text
NEW_INSTANCES BAPICUINST 8 X List of Newly-Generated Instances

Functionality
The API duplicates the specified instance n times (COPY_COUNTparameter). The new instance numbers are returned to the NEW_INSTANCEStable.
The COPY_VALUE_ASSIGNMENT indicator specifies whether the characteristicvalue assignments of the original instance are to be copied.