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

SUBMIT report via job and don't show selection-screen

Hi,

I am trying to submit a report via job, but the problem is that the report has a selection screen which I can't skip.

SELECTION-SCREEN BEGIN OF SCREEN 100.

PARAMETERS:

<p_par> TYPE <type>.

SELECTION-SCREEN END OF SCREEN 100.

I can't change this report.

I am able to pass the parameter via an rsparams table, but the selection screen is blocking the job.

This is how I submit the job:

SUBMIT <prog> AND RETURN

WITH SELECTION-TABLE lt_job_parameters

VIA JOB lv_job_name

NUMBER lv_jobcount.

Any help will be appreciated.

Thanks,

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 28, 2016 at 11:34 AM

    As far as I know, calling a selection-screen manually (CALL SELECTION-SCREEN) acts exactly like a standard screen.

    It sounds like only batch input will help you in such case.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 28, 2016 at 09:55 AM

    For a start, try to add the addition USING SELECTION-SCREEN 100 to your SUBMIT statement.

    Add a comment
    10|10000 characters needed characters exceeded

    • Yep, the problem is, that there is a CALL SELECTION-SCREEN 100 in the called program.

      While the "start" selection screen is closed automatically after been filled in batch processing, a selection screen called with CALL SELECTION-SCREEN must be closed explicitly.

      I'll check if I can find how to do that ...

  • Posted on Jul 28, 2016 at 10:22 AM

    Why do you have a CALL SELECTION-SCREEN in the submitted program? I's no sense in a background job. You must re-design your program.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 28, 2016 at 09:36 AM

    I don't understand, you submit the program in a background job. What happens exactly?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 28, 2016 at 09:38 AM

    Instead by submitting with selection-table can you try with option submit <Prog> with <p_par> = <p_par>.

    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.