Quantcast
Channel: SCN : All Content - ABAP Connectivity
Viewing all articles
Browse latest Browse all 1442

write XML file into application server directory

$
0
0

Hi all,

     I have a requiremet to create an XML file and to save it into application server. i did my best before posting this thread.

i am able to create a xml file into presentation server using CL_IXML class.

 

  <?xml version="1.0" ?>

- <FILE>

  - <SCHEME NUMBER="0000324">

    - <SEQUENCE NUMBER="1" LAYOUT="14x100(1001004) + 11x150(1001005)" DOFFS="2">

        <ORDER NUMBER="000001001004" MATERIAL="000000800601501762" USERID="123456" REELS="100" />

        <ORDER NUMBER="000001001005" MATERIAL="000000800601501762" USERID="123456" REELS="150" />

  </SEQUENCE>

- <SEQUENCE NUMBER="2" LAYOUT="3x100(1001004) + 3x150(1001005)" DOFFS="1">

      <ORDER NUMBER="000001001004" MATERIAL="000000800601501762" USERID="123456" REELS="100" />

     <ORDER NUMBER="000001001005" MATERIAL="000000800601501762" USERID="123456" REELS="150" />

   </SEQUENCE>

  </SCHEME>

</FILE>

 

when i am trying to write the same file into application server directory it is wrting as a continuouse line, is this a problem? how can we write in the same format. i had used control break statements in the program for above xml file. Any help is appreciated.

 

 

Thanks,

Prakash.

 

Edited by: Prakash Reddy on Oct 27, 2010 11:11 PM

 

Edited by: Prakash Reddy on Oct 28, 2010 12:06 AM


Viewing all articles
Browse latest Browse all 1442

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>