on 04-04-2010 1:29 PM
Hi,
I have a small requirement regarding Graphical Mapping at PI 7.0. My source structure is 1: Unbounded and My Traget Structure is having 1:0 occurances. So, I just want to pass the Particular Data only to the target side. For example from the sorce XML I'm getting Multiple Company details . But I just want to pass the particular company details (single) to the target side.
I have used the folowing functions for achive the requirement.
Soorce Filed --> EQUALS to some Constant -- then I'm using IF THEN ELSE function and I have used the CREATE IF Function.
Else I have mapped with other contant.
But This is working If i got the particular Company details at the First Nodeitself otherwise But I just want to check the entire source file and then If My required Company Number exists in the sorce file then only I just want to pass the particular company details to the target side and I just want to skip the Rest of the Company details in the mapping itself.
Please suggest me to solve this problem.
Regards
Check this blog to get an idea, how you can achieve this:
/people/stefan.grube/blog/2006/01/09/the-use-of-suppress-in-the-xi-30-graphical-mapping-tool
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Jain,
You would have to use node functions and do some trial and error, try using remove contexts soon after the source field.
Also like others suggested change the context along with remove context function. it should work, its a simple req.
Regards,
Pavan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Change the context of source to the message type.... and then try it.....
Test in the mapping itself.. and check if u r giving the record other then 1st also.. the target is created.
Let us know the result
Babu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Select the source Company code field and right click change the context next level or another level. then all the values with come into under one queue then you will get the output.
ex:
Root
Root1
Companycode
now by default companycode context is Root1 then change to Root context. or you can change otherway also context after Company code field use the RemoveContext fucntion then also you will get the output..
If the result did not show output then after If then else use the SplitByValue function. But each field level same conadition you need to put and need to map all the fields then only output result you can see.
Regards,
Venu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
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.