on 10-03-2012 6:31 AM
Dear All,
As i know there will be a communication between ID and IR at run time when value mapping is called.
We have to use the same value mapping for 30+ target fields and wanted to know whether Value mapping(IR and ID communication) will be called 30+ times or it will be called only once and its instance will be saved at run time and will use the same instance for other target fields.
if value mapping will be called for each target field mapping then it will reduce the performance?
Regards,
Manikandan
Value mappings sit in the java value mapping cache (can be monitored from rwb). So it is in process communication (one java class calls another). Do not worry about performance.
As of PI 7.1 you can join multiple target elements in one mapping (just pull them in). This is handy for all sorts of lookups (rfc, soap, ...) but not for this usecase.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manikandan,
Go ahead with value mapping as Andreas says.
According to SAP documentation you have mainly three options:
- Fix values function: the quicker to develop but you have configuration values in design time. That could be a problem if you need to change frequently the values, values only in message mapping level and it's not so much elegant
- Value-Mapping: it's efficent as Fix values and you have configuration values in configuration time. The best problem comes if you have so much values to introduce manually and it is not so much intuitive.
- Mapping lookups (RFC or JDBC): the best way if you have so much values but it's the less efficent because you are connecting to another system.
The Amit solution can be more efficent but it's more complicated to develop too.
Regards and good look.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I'm pretty sure it would call the value mapping per field. What you can do is:
1. Call the value mapping at target Root Node level
2. Save the values via UDF by setting a variable(s) in the global container
3. Call the variable(s) using UDF and use it in your field mapping.
Hope this helps,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
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.