on 01-28-2011 11:24 AM
Hi All,
While doing to a idoc to file scenario, I have a requirement where I have to repeat the single target node on couple of source fields.
Let us consider that our idoc and file structure are following:
consider the following Idoc segment:
E1EDPO1 0u2026..unbound
------------mantr
------------quantity
------------amount
ED1EDP02 0u2026..unbound
------------startdate
------------enddate
------------responsible_person
ED1EDP03 1u2026.1
------------customer_id
------------customer_location
Consider the file structure
<Customer_details>
Customer 1u20261
<StructuredNode> 0u2026..unbound
Generalnode 1u20261
Mapping:
Customer = customer_id + customer_location
Generalnode = Mantr + quantity + amount
Generalnode = startdate + enddate + responsible_person
So now the Generalnode should be repeated twice representing the source data.
In the meanwhile tried with multiple combination of nodes function which didn't work.
Your reply will be appreciated
Thanks,
Lalitkumar.
Hi Lalitkumar,
just press "dublicate subtree" for Generalnode and fill the two nodes with function concat.
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
issue resolved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Sorry for the late response.
thanks for the inputs. it worked.
I have rewarded everyone with the points.
thanks,
Lalitkumar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi lsrisrimal,
Please pay attention to occurance
Generalnode 1u20261
Regards,
Raghu_Vamsee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
press right button on Generalnode and select dupplicate subtree. once you do it map the propers values.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
On the Target side mapping right click on general node and do duplicate subtree for it. Per requirement, use concat function for the mantr,quantity and amount for the first general node. For the second general node again use concat and do for start date, end date and responsible person. So simple.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.