Skip to Content
0
Former Member
Nov 30, 2011 at 10:12 PM

Plan Function not generating records

38 Views

Hi Gurus,

We have built a FOX function for propagating price changes to all the Plam periods. The users input the price

changes for each Material group.

Input ready query is built with "0MATL_GRP" & "Posting Period" as the characteristics.

"0MATL_GRP" is dynamic and Posting period is constant ("#")

We have built a FOX function to propagate to all posting periods for each of the "0MATL_GRP".

This function is not generating any records

Code:

FOREACH SORG,DC, SHIPTO, MAT, PER.

{KF,SORG,DC, SHIPTO, MAT, PER} = {KF,#,#,#,#,#).

ENDFOR.

Planning function and the query are built on seperate Aggr. levels.

The characteristics SORG, DC, SHIPTO, MAT in the FOR LOOP are not part of the Aggr. Level of the Input ready query.

For some reason this code is not generating any records.

I appreciate your suggestions

Regards,

Peter