cancel
Showing results for 
Search instead for 
Did you mean: 

Selective deletion using process chain?

Former Member
0 Kudos

Hi Friends,

I have to delete process chain based on current year every day for that im using DELETE_FACTS program but in this i dont have option based on year but based cal day there is option for delete. in this which option i have to use to delete curret year.

these are the following option

Current Date

From month start to today

Current date +/- ??? days

current date +/- ??? work days

First day of current month

nth working day of current month

First day of next month

First day of previous month

Last day of previous month

Last Day of the Current Month

First quarter ????

Second quarter ????

Third quarter ????

Fourth quarter ????

Current date - xxx,current date + yyy

Date - xxx, Date + yyy (work days)

Previous month

Current period

(Beginning of mth-xx months, end of mth+yy months)

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member182470
Active Contributor
0 Kudos

As Kush said, only fields from the Infoprovider will appear in this program. You may try to use last option by giving a range of 01.YYY to 12.YYYY.

Former Member
0 Kudos

Hi Suman,

thank u very much

but it should be delete every current year like this year loading means 2014 , next year means 2015 data only it should delete.

former_member182470
Active Contributor
0 Kudos

Yeah. If that last option is suitable for you, you can populate the range in the selection through ABAP program. Hope you are following Surendra's document. It has been clearly explained in that. You may need slight modifications to that.

former_member209728
Active Participant
0 Kudos

Hi Mahesh,

DELETE_FACTS will only show the fields which are in the data target from where you want to delete data. Can you first check if you have  field for Year in your data target.

Thanks,

Kush Kashyap