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

Checking the file content in application server

Former Member
0 Likes
1,130

Hi,

I am writing an XML file from the raw XSF data from a smartform auto generated function module through OPEN DATASET command in BINARY MODE. When I go to tcode AL11 to check the content of the XML file, I can see only the first few bytes of it as it looks like one single line in AL11. Is there any way so that I can read the whole content of the file in the application server itself without downloading it into my local machine.

Thanks in advance

Nilay Ghosh

2 REPLIES 2
Read only

former_member183804
Active Contributor
0 Likes
945

You may try eigther transaction AL11 with allows you to browse files and display their content(as long they are textfiles).

If you need specific conversion an own report may help:

  • first read the file via dataset commands

  • if content is non readable convert it to chars

  • split the string into a char or string table

  • use the command 'editor-call' (check online help) to display this table.

Kind Regards

Klaus

Read only

0 Likes
945

Hi Nilay

You can use "READ DATASET" statement to read files on the application server into an internal table.

*--Serdar