Skip to Content
avatar image
Former Member

Condition in past and processing in future in APO DP Macro

Hi,

I have a requirement to check the condition in past and the do the processing in future. Not sure how to frame the logic.

If KF1 = "0" (in past)

delete KF2 (current week onwards)

Can we do in one single step ? or need to use any variable ?

Please help,

Regards,

Prabhat

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    May 25, 2017 at 02:04 PM

    Hi,

    You can easily frame the above logic in the macro by varying the iterations in the step and using If Else conditions in macro book.

    Hope I understood the requirement clearly and this helps.

    Thanks & Best Regards,

    Sonali

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Sonali,

      Thank you for your answer.

      I have question regarding the loop and iterations. How to frame that?

      how to check the condition in the past and do the execution in the future ?

      My Requirement is as below:--

      Step: ABC (W26.2016; W25 2017)

      If ( Condition = true )

      KF2 (W26 2017 to W25 2018) = "0"

      Regards,

      Prabhat