cancel
Showing results for 
Search instead for 
Did you mean: 

Store XML file

former_member188973
Participant
0 Kudos

Dear all,

I want to store a XML file generated by my own ABAP program at a place on my Web Application Server ABAP reachable by any browser. The storing should work from abap program. I do not want to make a manual upload.

I thought about storing the file in the mime repository but I do not find any API´s to do automatic storing there.

I am open for any idea, but it must be anywhere in the WebAS ABAP and reachable by browser without logon and the storing must work from ABAP without user interaction.

Thanks for you input an help.

Best regards

Roman

Accepted Solutions (1)

Accepted Solutions (1)

athavanraja
Active Contributor
0 Kudos

check this thread

https://forums.sdn.sap.com/click.jspa?searchID=10738663&messageID=1616211 (answer by Thomas Jung)

what we have done.

we have a dictionary table with id of the file as the key and another xstring type field to hold content.

so writing to it is like any updation to ddic table.

to make it callable from browser, we create a small bsp application which takes the id of the file from the url and it will read the content from the table and show that in browser. (however the user will still be asked to authenticate, if you want to avoid , you can set up annonymous login for that bsp in SICF)

Do let me know if you need more help on the second approach.

former_member188973
Participant
0 Kudos

Thanks for this idea.

why did you store the file not in the ICF Framework.

The case is that the generated file is polled by many user. So from my point of view the overhead of reading/generation etc. the file must be as small as possible. With overhead I mean calculation time on WebAS.

Any idea how to write to the ICF?

Best regards

Roman

athavanraja
Active Contributor
0 Kudos

it was on off application with small number of files and users. on the other hand did you check the link i had given, you can set certainly directories in the application server as file system which users can pull thru url. you need to explore the profile parameter icm/HTTP/file_access_<xx>

Answers (0)