Skip to Content
Former Member
Nov 25, 2009 at 03:25 PM

Custom Function in a Sequence Not Working


Hi All,

We have defined a Custom Function and it has got a class (ZCL_IP_DERIVE_XXX_XXXX).

Further, in the IF_RSPLFA_SRVTYPE_IMP_EXEC_REF~EXECUTE method of this class, we have defined a logic of appying a new Index (Sales Curve) and the forecast values are uplifted accordingly.

This Custom functon of Applying a new Index is one od the step in a Planning Sequence.

When I try to execute only the step of applying function in the modeler, I get the output as required and I can see them accurate in the trace.

But If I execute the entire sequence either step by step or at one go, the function is not applied. In the messages, it says step1 to 7 are executed. But there is no change done to the records read.

I doubt the values written back in the function are refreshed as soon as the come out of the step. Correct me if I am wrong.

The Values are read and written abck to the table C_TH_DATA.

Are we populating the right table? Do let me know if I need to change anything in the sequence.