on 08-22-2006 2:41 PM
Hi
I need to cr8 the following xml in content conversion
<?xml version="1.0" encoding="UTF-8"?>
<EXCHANGE_RATE01>
<IDOC>
<E1EXCHANGE_RATE>
<E1BP1093_0>
<RATE_TYPE/>
<FROM_CURR/>
<TO_CURRNCY/>
<VALID_FROM/>
<EXCH_RATE/>
</E1BP1093_0>
</E1EXCHANGE_RATE>
</IDOC>
</EXCHANGE_RATE01>
I have 4 levels here <EXCHANGE_RATE01> , <IDOC> , <E1EXCHANGE_RATE> , <E1BP1093_0>
Can u convert it in the content conversion?
i succeded only with 3
thx,Shai
Hi shai.
You mean file content convertion or using the Item field tool??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes
this is the xml
<?xml version="1.0" encoding="UTF-8" ?>
<EXCHANGE_RATE01>
<IDOC>
<E1EXCHANGE_RATE>
<E1BP1093_0>
<RATE_TYPE>M</RATE_TYPE>
<FROM_CURR>USD</FROM_CURR>
<TO_CURRNCY>ILS</TO_CURRNCY>
<VALID_FROM>01032006</VALID_FROM>
<EXCH_RATE>4.7</EXCH_RATE>
</E1BP1093_0>
</E1EXCHANGE_RATE>
</IDOC>
</EXCHANGE_RATE01>
Are you sure you need 4 levels in order to fill the Idoc structur??
what if you craete a 2 level XML structure with the
<EXCHANGE_RATE01> as the first level and the <IDOC> as second level and then just map the fields ...if you have N
<IDOC> segments then you can do 1:n mapping to the target Idoc structure...
If you have a 1:1 scenario like single file to single idoc its even easier...
Hope that's help..
If you have some more details..please provide
Nimrod
You have more then 1 <RATE_TYPE> in the same structure under the IDOC segment????
In the Buisness view seems to me that this structure is enought:
<EXCHANGE_RATE01> 1...1
<IDOC> 1...n
<E1EXCHANGE_RATE> 1...1
<E1BP1093_0> no need for that node...
<RATE_TYPE>M</RATE_TYPE> 1...1
<FROM_CURR>USD</FROM_CURR> 1...1
<TO_CURRNCY>ILS</TO_CURRNCY>1...1
<VALID_FROM>01032006</VALID_FROM>1...1
<EXCH_RATE>4.7</EXCH_RATE> 1...1
is this the occurance you expect?
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
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.