cancel
Showing results for 
Search instead for 
Did you mean: 

How to auto refresh planning application -- using ABAP Class?

Former Member
0 Kudos
94

Hi

I have written few planning functions and attached them in one single planning sequence. One of the planning function in this sequence is de-activate data slice checkmark in planning modeler. If I execute this planning function indiviually then it works great however when I use this function in sequence then second function in row doesnot identify changes made by first function(data slice inactivate) and thus throws errors.

At the same time, if I refresh my planning session and re-execute the planning sequence then it does works as REFRESH activates the changes done by first function (de-activate data slice).

I am wondering if there is any ABAP class that can trigger this auto refresh in background else some other method to do this auto refresh ?

Please let me know if you have any thoughts on this one.

Thanks and happy holidays

Al

Edited by: Al Gon on Dec 21, 2007 3:56 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Al,

The planning fn to deactivate was ineffective in a sequence was because the sequence which executes the functions does it on the data in the buffer and not actually on saved data, while your deactivation would work on the data after its saved.

You could perhaps run that function separately from the others in the sequence and save the data first and then perform your "deactivation" function.

Merry Christmas

Aby