cancel
Showing results for 
Search instead for 
Did you mean: 

Proxy To file scenario : need the output in hierarchial structure

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

stefan_grube
Active Contributor
0 Kudos

> I need the output like HTML alignment. i.e. making the html code easy to read for the other developers

Other developers can simply open the file with internet browser, so there is no need to do a special alignement.

If necessary you can use a simple XSLT as additional mapping step.

Former Member
0 Kudos
<documents>
      <document>
            <header>
                       <delivery_number></delivery_number>
                        <tax_number/>
                                  u2026
             </header>
             <data>
                        u2026
              </data>
       </document>

</documents>

I need the output as mentioned above.. pls let me know how can i achieve this..

Thanks,

Arivarasu S

Edited by: Arivarasu S on Jan 31, 2011 6:59 PM

baskar_gopalakrishnan2
Active Contributor
0 Kudos

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