Skip to Content
avatar image
Former Member

Selective deletion using process chain?

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)

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jan 23, 2014 at 08:12 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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.

  • avatar image
    Former Member
    Jan 23, 2014 at 08:09 AM

    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

    Add comment
    10|10000 characters needed characters exceeded