Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

FOX - Variables/passing values

Hi,

Is it possible to read values from a variable of type: Numeric values in FOX?

When I try, I get the message: "Only variables with a characteristic are allowed to be used here". I want to read the variable, so I can distribute yearly values to month, based on values entered by the user.

I can't use the planning function "distribute values by key" with variables, because I wan't to be able to distribute individual rows in the layout in different ways.

Example layout:

Fiscal year: 2006

Variables (values entered by user):

Distribute pct - period 1: 10

Distribute pct - period 2: 30

.....

Distribute pct - period 12: 20

Cost element_______Distribution key_____Amount

141000_____________1 (equal)____________1000

142000_____________2 (percent)__________2000

Now I want my planning function to distribute the rows differently. The first rows is distributed equally 1/12th to FISCPER3 and the second row should be distributed according to the pct. values entered in the variables by the user. The FOX works except that I'm not able to read the variable values in FOX :O(

Any help is appreciated,

Thanks in advance,

-Jacob

Former Member
Not what you were looking for? View more on this topic or Ask a question