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

Error in background job of downloading data to PC

Hi Gurus,

I hv created a report for downloading data to PC using

GUI_DOWNLOAD FM when scheduling job in background

job is getting canceled...................

give me some solution....

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • Best Answer
    Posted on Feb 01, 2008 at 04:37 AM
    DATA: file TYPE string VALUE `flights.dat`,

    wa   TYPE spfli.

    FIELD-SYMBOLS TYPE x.

    OPEN DATASET file FOR OUTPUT IN BINARY MODE.

    SELECT *

    FROM spfli

    INTO wa.

    ASSIGN wa TO CASTING.

    TRANSFER TO file.

    ENDSELECT.

    CLOSE DATASET file.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 01, 2008 at 04:42 AM

    u cannot download files using gui_download in a background scheduled program instead of that u can use OpenDataset-Close dataset.

    So that ur requirement works

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 02:59 PM

    You cannot use GUI_DOWNLOAD in background...Try with DATASET

    Greetings,

    Blag.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 31, 2008 at 03:00 PM

    HI

    you can not access the GUI when ur job is in Background.. so you need to change ur FM to WS_*..

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 01, 2008 at 05:21 AM

    Hi

    When executing in backend fronend server are not accessible. So we have to download the data to application server.

    Something like UNIX path.

    Regards

    Eswar

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 01, 2008 at 05:23 AM

    Hi,

    The file path should be from application server.

    Execute transaction AL11 & check which folder you can use to download data.

    & pass the same name in your program.

    Best regards,

    Prashant

    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.