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

schedule a report to run in background

Hi all,

I have a report that has a selection screen .

When i schedule this report as a background job , it is cancelled : "cannot perform frontend function in batch input mode " ??

I created a variant and in the job step specified the variant name ...!! would appreciate if anyone can tell how to schedule the report to run as background job ?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 25, 2006 at 02:12 PM

    Hi,

    Any call transaction is there in the report ? If so make mode = 'N' ( which ctu_params-dismode.).

    Cheers

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      Ok in this case there can be too options.

      1) either take file from the shared network and put it in your presentation server and then take it into application server ( this is manual by using CG3z)and then execute your program in background

      2) or you will have to code using FTP commands

      First connect using FM FTP_COMMAND. you will ahve to use commands like mget etc

      Once connected then pass command using FM

      FTP_COMMAND

      Then get the files Data into Internal table via FTP server which can be done using

      FM FTP_SERVER_TO_R3

      once done use the back ground processing

      Make sure that there is R/3 connection mainained using SM59.

  • author's profile photo Former Member
    Former Member
    Posted on Oct 25, 2006 at 02:02 PM

    HI,

    Check

    run-a-report-in-background

    REgards,

    Santosh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 25, 2006 at 02:02 PM

    HI,

    Seems you are using some Frontend funtion in your program:

    like : GUI_UPLOAD/ GUI_Download.

    Using ALV without handling background execution.

    You can check sy-batch before calling such Fm or methods.

    Hope this helps.

    Manish

    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.