Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Issue with XML Target Nodes...

Hi Experts,

I am in a process of generating XML files through BODS..when I tries to generate xml target files am getting output as below

<query>

      <Node1>

            <GeneratedDate>2015/11/05</GeneratedDate>

       </Node1>

               <Node2>

                      <ID>2526</ID>

                        <Name>ABC</Name>

                </Node2>

                           <Node3>

                                     <dEPT>10</dEPT>

                                     <Sal>5000</Sal>

                            </Node3>

        <Node1>

                <GeneratedDate>2015/11/05</GeneratedDate>

         </Node1>

                    <Node2>

                           <ID>4545</ID>

                           <Name>pqr</Name>

                    </Node2>

                           <Node3>

                                <dEPT757</dEPT>

                                <Sal>7000</Sal>

                             </Node3>

</Query>

As of now am getting is ok for me....But here issue starts..

I was given a requirement like Node1 should not repete all the time..It shot occur only on 1st hierarchy as below

<query>

      <Node1>

            <GeneratedDate>2015/11/05</GeneratedDate>

       </Node1>

               <Node2>

                      <ID>2526</ID>

                        <Name>ABC</Name>

                </Node2>

                           <Node3>

                                     <dEPT>10</dEPT>

                                     <Sal>5000</Sal>

                            </Node3>

                    <Node2>

                           <ID>4545</ID>

                           <Name>pqr</Name>

                    </Node2>

                           <Node3>

                                <dEPT757</dEPT>

                                <Sal>7000</Sal>

                             </Node3>

</Query>

Please help me is very urgent..

Thanks for you support

Regards,

Abhi

Former Member
Not what you were looking for? View more on this topic or Ask a question