on 09-07-2006 2:47 PM
Hi all,
I have an issue writing file to the file server using receiver file adpater, I am using file content conversion and my file adapter.
My data type of the output file has 3 hierarchy.
header
Item
subitem
for every item ,multile subitem would occur, but i am getting error in the communication channel, the adapter takes the fixed field length of the "Item" and looks for the subitem while writing the file.
Let me know if any one has come across this issue.
thankx in advance,
Shree
I have found this blog:
/people/krishnakumar.ramamoorthy3/blog/2007/01/27/generic-mapping-to-convert-nested-xml-to-flat--receiver-file-adatper
It shows how you can convert a complex structure to flat using ABAP Mapping.
Does anyone have a way to realize that using graphical mapping or some other kind?
At all, is it possible to convert a complex source structure with sub-structures that reoccur sometimes more then once and sometimes never without using an ABAP-Mapping but just with the graphical editor?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Heinrich
No.In XI we can't have nested target structure.
thats not possible here.
regards
yugapreetha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ref: http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
note that u cannot have a hierarchy of 3
max hierarchy is as shown below;
<root>
<nameA>
<value1>value</value1>
<value2>value</value2>
<value3>value</value3>
</nameA>
<nameB>
<value4>value</value4>
</nameB>
...
</root>
also ref: /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello!
Is there really no possibility to convert a structure with a deeper hierarchy of 2?
I'm trying to convert a structure like this into a flat csv-file
<root>
<STRUCTURE1>
<value1>value</value1>
<value2>value</value2>
<value3>value</value3>
<STRUCTURE2>
<valuea>value</valuea>
<valueb>value</valueb>
<valuec>value</valuec>
<STRUCTURE3>
<valueZ>value</valueZ>
<valueY>value</valueY>
<valueX>value</valueX>
</STRUCTURE3>
</STRUCTURE2>
</STRUCTURE1>
</root>
I implemented that the values are printed in lines separated by ";". A new dataset is printed in a new line. I'm just missing my headerline. That won't work.
Any idea?
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.