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

background job

hello Gurus

I need to do few things in my sap sys but I need to use ONLY background job system

SM36 !

please give me step-by-step istruction how to do this

thx in adv.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 12:04 PM

    Hi,

    Refer

    There are lots of use for the jobs created in SM36, few are listed here for you

    1. Schedule Process Chain

    2. Schedule InfoPackage - without process chain

    3. Schedule Reporting Agent Jobs

    4. Basis related monitoring (DB, System Resource utilization etc)

    5. Mostly performance related activites will be scheduled in Background

    pls chk this links for total concept of jobs;

    http://help.sap.com/saphelp_nw04/helpdata/en/da/0318025d64a84b94542641ed77ee74/content.htm

    http://help.sap.com/erp2005_ehp_03/helpdata/EN/c4/3a7ede505211d189550000e829fbbd/frameset.htm

    BW Jobs:

    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/08f1b622-0c01-0010-618c-cb41e12c72be

    Some of the Tables;

    TBTCA Subsequent relationship in batch job scheduling

    TBTCB Preceding relationship in batch job scheduling

    TBTCCNTXT Information for Assignment of Jobs to Components/Creators

    TBTCCTXTT Description of Reference Types for Background Jobs

    TBTCCTXTTP Check Table: Valid Job Reference Types

    TBTCI Usage counter for the job's internal reporrt

    TBTCJSTEP Background Job Step Overview

    TBTCO Job Status Overview Table

    TBTCP Background Job Step Overview

    TBTCR Batch scheduler execution time

    TBTCS Background Processing: Time Schedule Table

    Hope this helps,

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 12:07 PM

    Hi,

    GO through the following steps.

    Scheduling Background Jobs:

    1. Background jobs are scheduled by Basis administrators using transaction SM36.

    2. To run a report in a background, a job needs to be created with a step using the report name

    and a variant for selection parameters. It is recommended to create a separate variant for each

    scheduled job to produce results for specific dates (e.g. previous month) or organizational units (e.g.

    company codes).

    3. While defining the step, the spool parameters needs to be specified

    (Step-> Print Specifications->Properties) to secure the output of the report and help authorized users

    to find the spool request. The following parameters needs to be maintained:

    a. Time of printing: set to “Send to SAP spooler Only for now”

    b. Name – abbreviated name to identify the job output

    c. Title – free form description for the report output

    d. Authorization – a value defined by Security in user profiles to allow those users to access

    this spool request (authorization object S_SPO_ACT, value SPOAUTH). Only users with matching

    authorization value in their profiles will be able to see the output.

    e. Department – set to appropriate department/functional area name. This field can be used in

    a search later.

    f. Retention period – set to “Do not delete” if the report output needs to be retained for more

    than 8 days. Once the archiving/document repository solution is in place the spool requests could

    be automatically moved to the archive/repository. Storage Mode parameter on the same screen

    could be used to immediately send the output to archive instead of creating a spool request.

    Configuring user access:

    1. To access a report output created by a background job, a user must have at

    least access to SP01 (Spool requests) transaction without restriction on the user

    name (however by itself it will not let the user to see all spool requests). To have

    that access the user must have S_ADMI_FCD authorization object in the profile with

    SPOR (or SP01) value of S_ADMI_FCD parameter (maintained by Security).

    2. To access a particular job’s output in the spool, the user must have

    S_SPO_ACT object in the profile with SPOAUTH parameter matching the value used

    in the Print Specifications of the job (see p. 3.d above).

    3. Levels of access to the spool (display, print once, reprint, download, etc) are

    controlled by SPOACTION parameter of S_SPO_ACT. The user must have at least

    BASE access (display).

    On-line reports:

    1. Exactly the same configuration can be maintained for any output produced

    from R/3. If a user clicks “Parameters” button on a SAP Printer selection dialog, it

    allows to specify all the parameters as described in p. 3 of

    “Scheduling background jobs” section. Thus any output created by an online report

    can be saved and accessed by any user authorized to access that spool request

    (access restriction provided by the Authorization field of the spool request

    attributes, see p. 3.d of “Scheduling background jobs” section).

    Access to report’s output:

    1. A user that had proper access (see Configuring user access above) can

    retrieve a job/report output through transaction SP01.

    2. The selection screen can be configured by clicking “Further selection

    criteria…” button (e.g. to bring “Spool request name (suffix 2)” field or hide other

    fields).

    3. The following fields can be used to search for a specific output (Note that

    Created By must be blank when searching for scheduled job’s outputs)

    a. Spool request name (suffix 2) – corresponds to a spool name in p. 3.b in

    “Scheduling background jobs” section above).

    b. Date created – to find an output of a job that ran within a certain date range.

    c. Title – corresponds to spool Title in p. 3.c in “Scheduling background jobs”

    section above).

    d. Department - corresponds to spool Department in p. 3.e in “Scheduling

    background jobs” section above).

    4. Upon entering selection criteria, the user clicks the Execute button to

    retrieve the list of matching spool requests.

    5. From the spool list the user can use several function such as view the

    content of a spool request, print the spool request, view attributed of the spool

    request, etc. (some functions may need special authorization, see p.3 in

    Configuring user access)

    a. Click the Print button to print the spool request with the default attributes

    (usually defined with the job definition). It will print it on a printer that was

    specified when a job was created.

    b. Click the “Print with changed attributed” button to print the spool request

    with the different attributes (e.g. changing the printer name).

    c. Click the “Display contents” button to preview the spool request contents. A

    Print and Download functions are available from the preview mode.

    Regards,

    Raj.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 18, 2008 at 12:17 PM

    Hi,

    1.Go To SM36.

    2.Click Job Wizard.

    3.Click Continue.

    4. Give the Job Name = yjob458

    Job Class = C - Low priority

    Job Status = Sheduled

    Target Server = server name.

    5. Click Continue.

    6.Now select the ABAP Program step from defining a job step.

    7. Continue

    8. Give any ABAP program name with variant.

    9. Select the option Immediately

    10. Click Continue.

    Regards

    R.K

    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.