Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to Read a .txt file kept on server in WEB UI ?

Dear Experts,

We have a file kept on shared drive which is a text file and has just one entry which is a key-guid.

I need to read this guid, append it to a URL as URL parameter and then open the broswer with this URL on click of a button.

I can manage rest of the things but i am stuck up at reading the file kept on server. I tried using GUI_UPLOAD. It worked fine when i tried in SE38 with a sampe file kept on server. But when i implemented the same code in DO_INIT_CONTEXT, it failed giving me a dump of NULL OBJECT REFERENCE.

Can anyone please guid me as how can i read the Key-guid kept in the file in WEB UI ?

Thanks & Regards,

Suchita

Tags:
Not what you were looking for? View more on this topic or Ask a question