on 01-31-2011 8:47 AM
Hi all,
I am doing a proxy to file scenario. Now I am getting the output as :
<documents>
<document>
<header>
<delivery_number></delivery_number>
<tax_number/>
u2026
</header>
<data>
u2026
</data>
</document>
<document>
<header>
u2026
</header>
<data>
u2026
</data>
</document>
u2026
</documents>
But I would like to change the output to below structure.
<documents>
<document>
<header>
<delivery_number></delivery_number>
<tax_number/>
u2026
</header>
<data>
u2026
</data>
</document>
<document>
<header>
u2026
</header>
<data>
u2026
</data>
</document>
u2026
</documents>
Can anyone suggest me how can I get this?
Thanks,
Arivarasu S
Edited by: Arivarasu S on Jan 31, 2011 2:54 PM
Edited by: Arivarasu S on Jan 31, 2011 3:00 PM
1. First of all create the desired output data type in repository.
2. Generate the outbound proxy using 'SPROXY' transaction in R3 system.
3. Create the ABAP program and fill this structure in the program and itself. Take help from some ABAPer if you are not confirtable in ABAP coding. Because once the data is populated correctly into output structure of proxy then there is nothing much to do in XI because there you will get the data into your desired format.
Sorry I misunderstood your question.
Edited by: Sarvesh Singh on Jan 31, 2011 6:01 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all,
i am unable to show the needed structure.. i dont know why...
I need the output like HTML alignment. i.e. making the html code easy to read for the other developers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dont know whether I follow your question or not...
>>I need the output as mentioned above.. pls let me know how can i achieve this..
Create Documents as Root node
Create sub element Document (1 to unbounded)
Create child elements of Document as Header(1 to 1) and Data (1 to 1)
create delivery number and tax number under Header tag.
create child elements of data under data tag.
Edited by: Baskar Gopal on Jan 31, 2011 1:16 PM
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
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.