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

Saving a Text file into the directory

Hello,

I have the following problem: I will write the output of my report to a text file in a certain directory. With the method directory_create of the class cl_gui_frontend_services I can create very easily a directory. My problem is, I couldn't found a method or an function modul to create a file in to this directory. The class cl_gui_frontend_services provides me the method file_save_dialog to create a text file, but this method open a dialog a need a confirmation to create a file. I cann't use this method, because I will run my report in the background.

Could anyone give me an adivce to solve my problem? Has anyone some experience with this issue?

Thanks and Regards,

John h.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Oct 25, 2010 at 03:57 PM

    You can't create or open files in background mode from your pc. Only to the server.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.