cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Reading an attribute value from master data

Former Member
0 Likes
1,074

Dear all,

My aggregation level is as follows:

city1 - city2 - price - km - planned price

also i have created a characteristic as distance id., which has attributes

Distance id: city1 - city2 - km.

so in my planing template, when i enter city1 and city2 i need to get km from master data.

How can i do that with planning functions? Is there any other suitable way to configure that?

Thanks

View Entire Topic
Former Member
0 Likes

Thanks shafi,

that sounds ok to me, how can i call function module from planning function? Is it from fox formula part?

Thanks

Former Member
Former Member
0 Likes

Hi John,

You can call a Function Module from Fox as follows :

First make an entry for the function module in RSPLF_FDIR table.

then use the following snippet in the fox code.

CALL FUNCTION MYFUNMODULE

EXPORTING

parameter 1 = local variable 1

parameter 2 = local variable 2

......

IMPORTING

E_T_RANGE = local variable 3.

In the code the parameter 1, 2 .. are the parameters that u define in the function module, so that you can pass to and from the function module using import and export statements.

Regards.

Shafi.