Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Delete Condition Records

Former Member
0 Likes
1,485

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
850

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.

3 REPLIES 3
Read only

Former Member
0 Likes
850

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

Read only

Former Member
0 Likes
850

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

Read only

Former Member
0 Likes
851

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.