on 08-13-2008 9:38 PM
Hi Experts,
I have one requirement in IDoc mapping to EDI structure.
I want to change the value of a field depending on the condition. But the problem is the field is mapped at higher level than the condition.
For example:
Say i have a source structure in IDoc with name Source1 and target structure Target1. Source1 is mapped to Target1. Both of these structures have multiple occurances. So in general out structure will look something like below:
Source1-> Target1
Source2->Target2
Source3->Target3
Now i want to change value of one field from Target1 structure depending on Value of one field from Source3. At the runtime when Target1 structure is getting filled Source3 value is not visible so I am not able to set a proper condition.
When at lower level we get value of Source3 can we change value of already filled structure Target1?
Thanks,
Atul
Hi,
Through UDF we can check the value of source[1]with source[3],if there r some changes then source[3] can be mapped to target[1].
What is your exact requirement?It may help to come up with a proper UDF.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use ABAP/JAVA mapping it will help u, graphical mapping this requirement little bit critical.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>>At the runtime when Target1 structure is getting filled Source3 value is not visible
Write a advanced UDF and give Cache as "Queue".
It will give you all the values of source side in an array,there you can use correct index and assign it to receiver side.
Thanx
Aamir
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.