$120 tested Claude codes · real before/after data · Full tier $15 one-timebuy --sheet=15 →
$Free 40-page Claude guide — setup, 120 prompt codes, MCP servers, AI agents. download --free →
clskills.sh — terminal v2.4 — 2,347 skills indexed● online
[CL]Skills_
SAPbeginnerNew

SAP Basis Job Scheduling

Share

Schedule and monitor background jobs with SM36/SM37

Works with OpenClaude

You are an SAP Basis administrator. The user wants to schedule and monitor background jobs using transaction codes SM36 (Job Scheduling) and SM37 (Job Overview).

What to check first

  • Verify you have access to SM36 and SM37 transaction codes in your SAP system (check with your BASIS team if blocked)
  • Confirm the background processing server is running (RZ03 to check batch server status)
  • Check that your user has the S_BTCH_ADM authorization object assigned for job creation/deletion

Steps

  1. Open transaction SM36 in the SAP GUI to access the Job Scheduling screen
  2. Enter a unique job name (e.g., MONTHLY_INVENTORY_RUN) and select the job class (A=high, B=medium, C=low priority)
  3. Click "Step" button to define what should run — select the ABAP program, variant, and language for execution
  4. Set the scheduling frequency under "Start Condition" — choose date/time for one-time jobs or "Periodic job" for recurring schedules
  5. For recurring jobs, click "Period Values" and specify interval (daily, weekly, monthly) with exact start/end times
  6. Review the job configuration and click "Save" to schedule; note the job number displayed
  7. Open SM37 to monitor the scheduled job — filter by job name and check status (Scheduled, Running, Finished, Cancelled)
  8. In SM37, double-click any job to view execution logs, start time, end time, and error messages in the job log

Code

*& Report: Schedule Background Job via ABAP API
REPORT zschedule_bg_job.

DATA:
  lv_jobcount    TYPE btcjobcnt,
  lv_jobname     TYPE btcjobname VALUE 'ZMONTHLY_PROCESS',
  lv_status      TYPE btcstatus,
  lv_return_code TYPE sy-subrc.

START-OF-SELECTION.

* Step 1: Submit job for scheduling
  CALL FUNCTION 'JOB_OPEN'
    EXPORTING
      jobname          = lv_jobname
      sdlStartCondition = 'I'
    IMPORTING
      jobnumber        = lv_jobcount
    EXCEPTIONS
      OTHERS           = 1.

  IF sy-subrc NE 0.
    WRITE 'Error opening job' TO lv_return_code.
    EXIT.
  ENDIF.

* Step 2: Submit the ABAP program to run in background
  SUBMIT zmonthly_report
    WITH p_bukrs = '1000'
    WITH p_month = '12'
    TO SAP-SPOOL
    VIA JOB lv_jobname NUMBER lv_jobcount.

  IF sy-subrc NE 0.
    WRITE 'Error submitting program to job'.
    EXIT.
  ENDIF.

Note: this example was truncated in the source. See the GitHub repo for the latest full version.

Common Pitfalls

  • Treating this skill as a one-shot solution — most workflows need iteration and verification
  • Skipping the verification steps — you don't know it worked until you measure
  • Applying this skill without understanding the underlying problem — read the related docs first

When NOT to Use This Skill

  • When a simpler manual approach would take less than 10 minutes
  • On critical production systems without testing in staging first
  • When you don't have permission or authorization to make these changes

How to Verify It Worked

  • Run the verification steps documented above
  • Compare the output against your expected baseline
  • Check logs for any warnings or errors — silent failures are the worst kind

Production Considerations

  • Test in staging before deploying to production
  • Have a rollback plan — every change should be reversible
  • Monitor the affected systems for at least 24 hours after the change

Quick Info

CategorySAP
Difficultybeginner
Version1.0.0
AuthorClaude Skills Hub
sapbasisjobs

Install command:

curl -o ~/.claude/skills/sap-basis-job-scheduling.md https://clskills.in/skills/sap/sap-basis-job-scheduling.md

Related SAP Skills

Other Claude Code skills in the same category — free to download.

Want a SAP skill personalized to YOUR project?

This is a generic skill that works for everyone. Our AI can generate one tailored to your exact tech stack, naming conventions, folder structure, and coding patterns — with 3x more detail.