Call function “RV_CONDITION_COPY”
Application – V (Constant)
Condition table – 966 (Constant)
Condition Type – 1051 (Constant)
Date From - Valid From date obtained from previous step
Date to – Valid From date obtained from previous step
Enqueue – X (Constant)
I_KOMK
Supplier - Obtained from previous step
Customer - Obtained from previous step
I_KOMP
MATNR- Obtained from previous step
Key fields
Supplier - Obtained from previous step
Customer - Obtained from previous step
MATNR- Obtained from previous step
Maintain Mode - A (Constant)
No Field Check – X (Constant)
Keep old records – X (Constant)
Tables
Copy_ records
MANDT – 100 (Constant)
KAPPL – V (Constant)
KSCHL - 1051 (Constant)
KRECH – C (Constant)
KBETR (Obtained from previous step)
WAERS – (Obtained from previous step)
KOPOS - 01
Call function “RV_CONDITION_SAVE”
CALL Function “ Bapi_transaction_commit”
Call Function “RV_CONDITION_RESET”
CALL Function “ Bapi_transaction_commit”
How to handle duplicate price
creation while using
RV_CONDITION_COPY
https://archive.sap.com/discussions/thread/355786