on 10-19-2007 6:40 AM
hi,
my scenario is flat file to idoc.
my flat file structure is as below:
docheader
product1
product description1
product2
product description2
in idoc,i need to map product to E1EDP01 and product description to E1EDP19 which occurs inside E1EDP01.
now if i directly map product node to E1EDP01 node and product description to E1EDP19,
Product --> E1EDP01
Product description --> E1EDP19
i will get 2 E1EDP01 nodes .but each E1EDP01 node will be having two E1EDP19 nodes corresponding to incoming 2 product description.
E1EDP01 --> Product1
E1EDP19 --> Product description1
E1EDP19 --> Product description2
E1EDP01 --> Product2
E1EDP19 --> Product description1
E1EDP19 --> Product description2
how to do the mapping such that my first product description goes into first product target mapping and my second product description goes into second product mapping?
E1EDP01 --> Product1
E1EDP19 --> Product description1
E1EDP01 --> Product2
E1EDP19 --> Product description2
thanks,
Anuradha
Can you display the file structure?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If your product description occurance is 1..1. Then u can use the node function SplitByValue.
Product description --> SplitByValue --> E1EDP19
Regards
San
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you give us more information posting the MT used for the file?
Do you have always only 2 products in the file?
About mapping I suggest you to see the following blogs:
/people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
/people/sravya.talanki2/blog/2006/12/26/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-ii
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.