Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

data conversion from abap to xml

Former Member
0 Likes
460

Hi Experts,

I want to change my case of the fields, which i have defined in the ABAP structure. for example

structure details are 

STR1

     FIELD1

     FIELD2

when i convert them to XML through transformation, i am receiving as follows

<STR1>

     <FIELD1/>

     <FIELD2/>

</STR1>

but according to my requirement i need them as follows,

<str1>

     <field1/>

     <field2/>

</str1>

Please suggest me the helpful tags to convert the case in the XML transformation.

Thanks in advance,

bhaskar

3 REPLIES 3
Read only

kabil_g
Active Participant
0 Likes
433

Hi bhaskar,

             Check The Following Codes

<<Code removed since you have copy pasted it from Please don't ever copy paste from other source and deviate the forum rules>>

Regards

Kabil

Message was edited by: Kesavadas Thekkillath

Read only

Former Member
0 Likes
433

Hi Kabil,

I am just beginner in XML transformation.

But what i can figure out here in your code is, you are creating XML data in the ABAP itself by using classes. but i am following the CALL TRANSFORMATION statement and by creating my custom transformation. i think i missed it in my question.

Thank you.

Read only

Former Member
0 Likes
433

Thanks guys for your suggestions.

My problem is solved.