on 04-25-2014 10:22 AM
Hi all,
I am using SAP PI 7.3. In ESR, I have declared one source data type & message type and one target data type & message type. I have also completed message mapping. But in message mapping, If I do right click on the target message type, I am getting one option "Add variable" in the context.
Can anyone tell me what is the use of it?
Thanks & Regards,
Moumita
Hi Moumita
This is mainly used to store some values in it and then use it later in the same mapping.
For example suppose there is a field which contains amount and it occurs in many times in the source structure.
So we can populate the sum of all this fields into this variable and later used that for populating any target field.
Another example is suppose we want to make an RFC look up in PI to store some data in ECC tables.
In that also we map the RFC look up function to this variable.
This variable will be not present in the map output.
Check this
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok.. Now it is clear to me. Thaks to all of you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Moumita,
Basically we use it to hold some value from Source fields and we can reuse the value later in the same mapping.
go through the below link ... you will have a clear idea
/people/william.li/blog/2008/02/13/sap-pi-71-mapping-enhancements-series-using-graphical-variable
BR,
Anirban
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Moumita,
If we need to use same mapping logic for many fields in target then we can use the variable. We need to do the mapping and store the value in variable and then we need use variable mapping all the fields in target.
It will increase the performance of the mapping as we are implementing the logic only once instead of many times.
Regards,
Sudha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.