‎2008 Jun 17 6:56 AM
Hi,
I have a requirement to delete condition records. Please let me know if there is any BAPI or Function Module which deletes the condition records from VK12. Its very urgent.
Thanks,
Meenu
‎2008 Jun 17 10:55 AM
Meenu,
Use VK12 and set the deletion flag.
The deletion flag means that the record is logically deleted and not phisically.
some of the conditions records cannot be delete, example 'MWST'.
In such cases, the best way is to change the end date to the current date.
more adding for you;
In v/06 for your condition type check the field delete fr. DB
If you set this field as A or B,then only you will be able to delete the condition record permanently via VK12.Otherwise you can only set deletion indicator.
Amit.
‎2008 Jun 17 7:33 AM
hi
you can't delete the condition records from database permenently,
if you want delete the record set the delete flag for particular record.
thanks
sitaram
‎2008 Jun 17 10:44 AM
Hello,
I recommend you to use the Data Archiving Object SD_COND to archive condition records. There is a possibility to even Re-load the data back into the database.
Please let me know if you need config help regarding the archiving object. Also, reward if the info is helpful.
With Regards
Vijay Gajavalli
‎2008 Jun 17 10:55 AM
Meenu,
Use VK12 and set the deletion flag.
The deletion flag means that the record is logically deleted and not phisically.
some of the conditions records cannot be delete, example 'MWST'.
In such cases, the best way is to change the end date to the current date.
more adding for you;
In v/06 for your condition type check the field delete fr. DB
If you set this field as A or B,then only you will be able to delete the condition record permanently via VK12.Otherwise you can only set deletion indicator.
Amit.