Skip to Content
author's profile photo Former Member
Former Member

sending data from final internal table to application server in xml format

hi to all ,

can anyone send details about send data from final internal table to application server in xml format.right now i am able to download data to presentation server in xml format . love to here soon from all the abap gigs.

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Best Answer
    Posted on Jul 29, 2006 at 10:35 AM

    welcome to SDN.

    are you using call transformation to convert itab to XML? the XML string is in which format?

    convert it to xstring and then use the following code to store it in application server.

    OPEN DATASET fname FOR OUTPUT IN BINARY MODE.

    TRANSFER XML_content TO FNAME.

    CLOSE DATASET FNAME.

    where fname is the path to the file name.

    Regards

    Raja

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      thanks raja.i was able to send the data in internal to application server in xml format .but now the issue i am facing is reading the xml file present in application server into my internal table.there are two fields ie ebeln and ebelp.that i need to put in the internal table.if u could post a sample code in complete.that would be great.by the way i am able to read the xml file from the presentation server.if u could hurry that would be of great help .

      thanks and regards

      rohan