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

How to restrict the job start conditions (only "Immediate" type) ?

Hi,

We allow our users to schedule and execute in background mode transactions (example IP19, IW38). We gave them for that authorizations (object S_BTCH_JOB with LIST, PROT, RELE and SHOW - objetct S_PROGRAM with BTCSUBMIT).

We would like that users can schedule and execute their jobs only with the u201CImmediateu201D job start condition (in the Start Time screen for the type of start condition : Immediate, Date/Time, After job, After event, or At operation mode).

Another solution: prohibit the scheduling and the execution background job in a certain time interval ...

How can restrict the job start conditions ?

Thank you.

Patrice.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 28, 2010 at 06:18 AM

    Hi,

    1/give your user access to transaction SA38.

    It will give them option to execute report.

    They could schedule only immediate background run.

    Menu: program->background

    Bye Jan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 28, 2010 at 07:21 AM

    Hi Jan,

    Yes, sa38 makes it possible indeed to execute in background into immediate mode a job but

    the user have to know the name of the program to be carried out ...

    The user knows only the name of these transactions trade. For example, IW38.

    In the menu of this transaction, SAP gives the possibility to execute in background :

    Program --> Execute in Background --> display of Start Time screen for the type of start condition :

    Immediate, Date/Time, After job, After event, or At operation mode).

    It is at this time there that we want that the user can only choose the "immediate" mode.

    We must thus prohibit the other choices (Date/Time, After job, After event, or At operation mode) ... and

    and we don't know how to restrict these other options in this screen "Start Time screen for the type of start condition".

    Thank you.

    By.

    Add a comment
    10|10000 characters needed characters exceeded

    • Never heard that this is possible, also the code behind screen SAPLBTCH 1010 does not show anything like this. I'm afraid you'll have to either modify SAPLBTCH to your needs or maybe find some more os less clumsy workaround like an exit in IW38 or a periodically scheduled clean up program that would adjust "illegally" scheduled jobs to run immediately.

      Unless somebody has a better idea.

      Thomas

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.