on 12-06-2006 1:35 PM
Hi,
Is it possible to set a default value in the value mapping of XI.
For example:
<b>Value1a</b> should be<b> Value1b</b>
<b>Value2a</b> should be <b>Value2b</b>
and all other possible values should be "<b>Default</b>"
I don't see such a possiblity in the Value mapping configuration of the Directory.
Regards,
Robin
Hi Robin,
Did you get how to default value in Value Mapping table? I have the simmilar requirment. Please share the soloution, if you have.
Regards,
Shweta.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey,
we can set default value by using FIX Values function in conversions.
for Ex: DCO -> 100, SCO->200 and all other options it points to default value
( which you have to set in Default tab in the Fixvalues)
Cheers.,
Esha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No,
that will only set a default if source field in empty.
But my isn't empty ... i have for example
30 possilbe source countrys and my value mapping to language look like:
Switzerland-> CH
France -> FR
Germany -> DE
Croatia -> HK
And all other Country should be map with default language "EN".
Regards,
Robin
Hi Robin,
it's a little bit tricky but you could try this approach:
<b>value mapping table</b>:
- Switzerland: CH
- France: FR
- Germany: DE
- Croatia: HK
- DEFAULT: EN
<b>Mapping blocks</b> (with graphical mapping, but the description is Java like style for easy description):
if ( valuemapping(source) == source ){ //not found
target = valuemapping(source)
}else{
target = valuemapping("DEFAULT")
}
It's just an idea,
Hope it helps,
Kind Regards,
Sergio
Another possibility is to use the mapping functions in the DESIGN part, in the message mapping (in this case you have for sure the "DEFAULT" case managment) :
Executes a value mapping using a fixed value table that you complete using the function properties. The table is saved together with the most current message mapping and can only be used once.
<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/43/c4cdfc334824478090739c04c4a249/frameset.htm">Docu</a>
Regards,
Sandro
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
26 | |
9 | |
9 | |
7 | |
6 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.