2021 Jan 27 1:07 PM
Hello Team
I need to change the validity end date of the condition record. I have tried with FM I have tried with FM RV_CONDITION_COPY with MAINTAIN_MODE mode ‘B’ unable to change the validity of the condition record.
I have tried with other FM also BAPI_PRICES_CONDITIONS , RV_CONDITION_MAINTENANCE.
RV_CONDITION_MAINTENANCE- opens the popup screen which and waits for user input. which is not satisfying.
Can any once help here
2021 Feb 05 5:19 PM
It's not feasible to change the end date. Validity end date (DATBI) is part of the key in the condition tables.
The correct process for updating conditions is: 1) "expire" existing record by changing the validity date to the date right before the new condition should start; 2) create new record with start date and whatever is the applicable end date (it will default to 12/31/9999 if no date specified).
If you have the condition records that are expiring prematurely and you want to extend them then, providing there are no future condition records that would cause a conflict, simply create new records with the same data but the new expiration date.
If you search in Google, you'll find many old posts in SD forum on how conditions are maintained.