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

sending a file from the SAP app server to a network

Hello,

I am writing a program that will run in the background a create a file on the SAP app server. I would like to get this from that server to a network server. I know about the tocde CG3Y and the function module C13X_APP_TO_FRONT_END that this tcode uses. I tried to run this function module stand alone but the only this that you are allowed to enter in the filetype. after that a pop-up box appears where you enter the filenames. is there a way that I could use this in my program to automatically send the file from the app server to the network server.

thanks in advance for the help

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Oct 19, 2007 at 01:26 PM

    You can communicate with the frontend via the GUI_DOWNLOAD function module in background, but you really have to jump thru hoops to do it. Here is a document.

    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9831750a-0801-0010-1d9e-f8c64efb2bd2

    You can see that this is really a pain, and you would have to do all this to every PC that is to be used in this senario, so really the rule of thumb is that you can not download to PC from the background.

    Regards,

    Rich Heilman

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 19, 2007 at 01:06 PM

    I am running this job in background

    does GUI_DOWNLOAD work when running in background

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 19, 2007 at 01:04 PM

    use fm GUI_DOWNLOAD

    or class CL_GUI_FRONTEND_SERVICES

    method GUI_DOWNLOAD

    ____________

    God's blessing

    Andreas

    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.