on 12-12-2006 12:11 PM
Hi Friends,
I have done Value Mapping, but didn't get actual use of it. My doubt is if i have one sender and 3 receivers, i have a field called Currency in source structure and depending on the receiver like if it is india then i want value "INR" in target field , if it is US then i want value "Dollar" in target field like that it goes... I have only one mapping program.So can i do this using value mapping concept. My doubt is in value mapping i have to give sender/receiver agency/schema in IR. So where i can make use the concept of "Depending on sender and receiver the entry in value mapping is selected". Can i Dynamically pass sender and receiver parameters to Value Mapping.
If u need further clarification, please let me know..
Regards,
Shyam.
Hi,
YOu can do this in the Value Mapping in the Graphical mapping also without creating agnecy,schema etc
Regards
Vijaya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shyman,
I'd recommend setting up a Value Mapping that relates country names to currencies. E.g. you may choose any string for your sender and receiver agency (actually there is no global agency that defines the symbols representing countries and currencies). For the keys representing your schemas you may use "Country" and "Currency" respectively.
So you'll end up with the following value mapping table
Agency/Schema/Value Agency/Schema/Value
"Global"/"Country"/"US" "Global"/"Country"/"USD"
or
"Global"/"Country"/"IN" "Global"/"Country"/"INR"
...
Best regards
Joachim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hai
this is very helpful for u
1)VALUE MAPPING AND FIX VALUES.
The FixValues function provides a simple eneric value mapping (or key mapping) in the Integration Repository
1. Use the standard function Conversions -> FixValues tolink source and target element
2. Double click to define properties
��Each field mapping uses its own table of key-value pairs.
��Filled tables can be copied to other mappings. But copied
table is independent of origin.
Value Mapping (II) Value mapping
The Value mapping function provides a more specific value
transformation.
1. Use the standard function
Conversions -> Value mapping to link source and target element
2. Double click to define properties
3. Define access keys for table entries:
��Value Mapping Context stores information on the origin of the data.
If data is maintained in the Integration
Directory, use
��Agency and Schema for sender andreceiver messages. Any arbitrary
string value can be used.
Value Mapping (III) - Value Mapping Group
��Semantically identical information is collected in Value Mapping Groups
��Value Mapping Groups can be maintained:
��in the Integration Directory
��by sending data to Message Interface ValueMappingReplication of SAP BASIS ->
SAP BASIS 6.40 -> http://sap.com/xi/XI/System
��Following entries are required
1. Agency
2. Schema (Namespace and Object Type )
3. Value (the groups representative for a given Agency Schema combination)
Value Mapping (VI) Define Value Mappings
��Value Mappings are created automatically between representatives of
the same group
��All entries for a couple of Agency/Schema combinations are displayed
using Tools-> Value Mapping in the Integration Directory
��Each new entry will create automatically a new group.
Value Mapping (VI) Mass Configuration
��Mass data can be maintained in Value Mappings tables by
means of an XI Interface
��Based on Message Interface ValueMappingReplication of
http://sap.com/xi/XI/System in SC SAP BASIS 6.40
��Configuration has to be created in Directory
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Friends,
Any one can help me to understand this..
Regards,
Shyam ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Shyam,
In graphical mapping u cant dynamically decide the Sender/Receiver Agency/Scheme
But for ur requirement u can create Value mapping table in ID as follows
Source Agency:CurrencyConvert
Target Agency:CurrencyConvert
Source Scheme: Country Target Scheme: Currency
Source--Target
AUS----Dollar
IND----Rupee
at runtime if AUS comes Dollar will be got as mapped value.
Further if u want to make Sender/Receiver Agency/Scheme Dynamic u can do that in java mapping.
<a href="/people/sukumar.natarajan/blog/2006/10/23/accessing-value-mapping-defined-in-directory-using-java-functions">/people/sukumar.natarajan/blog/2006/10/23/accessing-value-mapping-defined-in-directory-using-java-functions</a>
Regards,
Sudharshan
Message was edited by:
Sudharshan Aravamudan
Shyam,
Could u explain a bit more with some example.
As per my understanding
U create Value mapping as shown above
Receiver Value
India Rupee
Aus Dollar
And there is a built in mapping function called Receiver under Constants. This field will fetch u the receiver that is determined in receiver determination.
Regards,
Sudharshan
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.