on 03-30-2016 5:30 PM
Hello everybody,
we're building a BW-IP planning application using Design Studio 16.0.5.
In Design Studio I have a data source "DS_1" that contains a BEx variable "FMV_P_VERSION_1". Next I'm passing the variable into a planning sequence PS_1 using the statement
PS_1.copyVariableValue(DS_1, "FMV_P_VERSION_1");
PS_1.execute();
In the planning sequence I'm using the variable in a filter *AND* a FOX formula (with the statement "V = VARV(FMV_P_VERSION_1)."). It's working when I have the variable only in the filter *OR* the FOX formula. When the variable is both in the filter *AND* the FOX formula I get the error message "Einen Wert für Variable Version eingeben". Using it in the FOX formula somehow opens a new context for the variable that prohibits passing it into the filter.
I do need the variable in both the filter and the FOX formula.
Thanks for any suggestions how to work around this issue
Karsten
Found a workaround this morning by eliminating the use of all variables in the FOX formula: For variables in the filter I can catch the values using OBJV() and I have replaced all other variables by calls to function modules.
My problem solved, the bug remains w/ SAP.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Karsten,
I guess this error will come when your variable is mandatory.
Can you please try having an optional variable and check the scenario again.
Also did you try executing the PS from RSPLAN.
Regards,
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.