If you want to create condition records automatically using the program, you might try to use the below ABAP function modules to create the condition records
RV_CONDITION_COPY
RV_CONDITION_SAVE
RV_CONDITION_RESET
But these Function Modules are not released by SAP for customer’s usage in custom programs.
![](https://www.saphub.com/wp-content/uploads/2020/03/sap-abap-fm-rv-condition-copy.png)
![](https://www.saphub.com/wp-content/uploads/2020/03/sap-abap-fm-rv-condition-save.png)
![](https://www.saphub.com/wp-content/uploads/2020/03/sap-abap-fm-rv-condition-reset.png)
To create or change condition records automatically, use one of the below approaches.
1. Batch input: The report RV14BTCI can create a batch input folder in transaction LSMW.
2. IDoc message type COND_A: Transaction WE60 provides documentation for the Basis type COND_A02 / COND_A03 / COND_A04.
Please refer SAP note 2462651 for more details.