Skip to Content

report to run in Foreground and BackGround

HI Guru's,

I've developed one ALV Report related to SD Module Delivery Performance Report using ALV.

Now my requirement is, user should able to run run the Report in Foreground or Background.

How to do that?

If it is by SM36, let me know the process.

Thanks in Adavnce.

Regards,

Adi.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Jan 31, 2008 at 06:44 PM

    - Go into SM36

    - put in job name (any name)

    - click on step and put in your ABAP program

    - Save

    - go back

    - click on start condition

    - put in start date/time or click on immediate

    - save

    - On the 'Define Background Job' hit Save again

    - This will create the job

    However, since ALV is an online tool how are you going to present the results of the background job to the user. You can NOT use ALV in background, you have to pass the resulting data to a table or file in order for the user to see it.

    Hope that helps,

    Michael

    Add a comment
    10|10000 characters needed characters exceeded

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

    Hello,

    You can run the ALV program in the background by using Michael's instructions(previous post) or by using the path: Program -> Execute in background.

    Of course you lose the interactive nature of ALV but the program will still run and produce ouptut.

    Regards

    Greg Kern

    Add a comment
    10|10000 characters needed characters exceeded

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

    Use sm37 and sm36 transaction or simple way - goto se38 and program->execute-background

    When you execute the report in backgroud output will be store as a spool request in SP01.

    STEPS IN BACKGROUND SCHEDULING:

    1. Use tcode SM36

    2. Click Job wizard in the button set and Click Continue

    3. Enter Job name and press continue

    4. Select ABAP program and press Continue then enter Program name and press continue

    and again press Continue

    5. Set Schedule type immediately and continue

    6. Select periodic job checkbox, press continue

    7. Select none of the above and click on other periods – give one-minute and then press create

    Press continue and then press complete.

    CHeck this weblog for Displaying ALV Grid in Background Job

    /people/prashant.patil12/blog/2007/02/20/displaying-alv-grid-in-background-job

    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.