Create Exit in Planning Function using filter values
we currently have the issue that we want to use an exit variable in a planning function.
This exit shall use variable values provided by other variables which reside in the filter of our planning sequence only (not in the planning function directly).
The current scenario in our exit looks like this:
IF i_step = 2.
READ TABLE i_t_var_range INTO l_s_var_range WITH KEY vnam = 'Variable Name'
Thus this approach only provides the variables used in the planning function, not the ones used in the filter of the planning sequence.
How can we access planning filter variables in this way?
you have to repeat those variables from the filter in the function (easiest way is to use them as condition values) because filter and function do have different variable Container instances.