I am using the bapi 'BAPI_PRICES_CONDITIONS' to upload pricing conditions. However if I have a pricing condition created previously in the system and I want to update the validity period and the data I provide has overlapping validity periods it results in an error. The program does not error out and it updates the database tables however if I want to view the condition via VK13 it ends in a hard error by the system due to the overlap of the validity periods. Is there a way to overcome this issue? How can I update the validity to period for the old record or deactivate the old record from my abap program?