Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
My script gets information from a SAP BW query as source.
I'm trying to "translate" the content of a field (it returns two values) to exhibit on a List Box to let it more familia to the end user.
On my load script i have something like this:
Map1:
mapping load * inline [
BR Biogene Sales, Pioneer
BR Pioneer Sales, Biogene
] ;
On the list box i created an expression on the Field input like this:
=ApplyMap("Map1", Sales Organization - Sales Organization Level 01 - [40SALESORG])
The List Box does no show me the values returned by this expression. Anyone has a clue on how to solve it?
Is there another option?
Thanks,
Oscar
Five problems that I see:
Putting it all together, you'd do something like this
Map1:
MAPPING LOAD * INLINE [
A, B
BR Biogene Sales, Biogene
BR Pioneer Sales, Pioneer
];
LOAD
...
,SomeField as "Sales Organization - Sales Organization Level 01 - 40SALESORG"
,applymap('Map1',"SomeField") as "Mapped Sales Organization"
...
from your data source
;
And then just use "Mapped Sales Organization" in your list box rather than an expression.
Five problems that I see:
Putting it all together, you'd do something like this
Map1:
MAPPING LOAD * INLINE [
A, B
BR Biogene Sales, Biogene
BR Pioneer Sales, Pioneer
];
LOAD
...
,SomeField as "Sales Organization - Sales Organization Level 01 - 40SALESORG"
,applymap('Map1',"SomeField") as "Mapped Sales Organization"
...
from your data source
;
And then just use "Mapped Sales Organization" in your list box rather than an expression.
Very good John.
It worked.
Thanks.
Oscar