Skip to Content
0

Condition in past and processing in future in APO DP Macro

May 22, 2017 at 12:05 PM

72

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Sonali Rathee
May 25, 2017 at 02:04 PM
0

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded

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

0