16083 - Standard jobs, reorganization jobs -SAP 标准作业

https://websmp130.sap-ag.de/sap(bD16aCZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D313630383326

16083 - Standard jobs, reorganization jobs

 

Symptom

There are a number of jobs that must periodically run in a live R/3 installation, for example, to delete outdated jobs or spool objects.
As of Release 4.6C, you can easily schedule these jobs as follows:
Transaction sm36, choose 'Standard jobs'.

Unfortunately, there is no easy-to-use support for such jobs within Basis Customizing before Release 4.6C. Therefore, you must schedule the jobs explicitly for these release levels.
This note contains a list of the required programs, their parameters, and the recommended repeat interval. In addition, names are suggested for the required jobs. Adhere to the recommendations, as the naming conventions enable us to check quickly and easily whether these jobs have been activated in your system.
This note applies as of Releases 2.1G and 2.2A.

Exceptions:
Program RSXMILOGREORG is only available as of Release 4.6C.
In earlier releases, use ZRSXMILOGREORG
SAP Note 182963
The program RSAL_BATCH_TOOL_DISPATCHING is only available as of
Release 4.6A.


 

Other Terms

REORGJOBS.


 

Reason and Prerequisites

Note: Application-specific reorganization programs are not included in this list.


 

Solution

Job name: Program Variant Repeat interval
SAP_REORG_JOBS RSBTCDEL2 Yes Daily
SAP_REORG_SPOOL RSPO0041/1041 Yes Daily
SAP_REORG_BATCHINPUT RSBDCREO Yes Daily
SAP_REORG_ABAPDUMPS RSSNAPDL Yes Daily
SAP_REORG_JOBSTATISTIC RSBPSTDE Yes Monthly
SAP_COLLECTOR_FOR_JOBSTATISTIC RSBPCOLL No Daily
SAP_COLLECTOR_FOR_PERFMONITOR RSCOLL00 No Hourly
SAP_COLLECTOR_FOR_NONE_R3_STAT RSN3_STAT_ No Hourly
COLLECTOR
SAP_REORG_PRIPARAMS RSBTCPRIDEL, Yes* Monthly
SAP_REORG_XMILOG RSXMILOGREORG Yes Weekly
SAP_CCMS_MONI_BATCH_DP RSAL_BATCH_ No Hourly
TOOL_DISPATCHING
SAP_SPOOL_CONSISTENCY_CHECK RSPO1043 Yes Daily
SAP_REORG_ORPHANED_JOBLOGS RSTS0024 Yes Weekly
SAP_CHECK_ACTIVE_JOBS BTCAUX07 Yes Hourly
SAP_DELETE_ORPHANED_IVARIS BTC_DELETE_ORPHANED_IVARIS Yes Weekly
SAP_REORG_ORPHANED_TEMSE_FILES RSTS0043 Yes Weekly

As of Release 6.20


In any case, refer to Note 48400 regarding the spool and TemSe
consistency check.

Note:

  • SAP_CCMS_MONI_BATCH_DP is not a reorganization job but is needed to start tools / methods in the system monitoring area in the background -> transaction RZ20/RZ21.
  • SAP_REORG_XMILOG reorganizes the table TXMILOGRAW. This table contains log information on the XMI interface (-> Note 182963).
  • As of Release 4.6A, the job steps are managed separately from the print parameters. This means that report RSBTCDEL no longer deletes any print parameters. You must therefore schedule the following report, too:

    RSBTCPRIDEL

    It reorganizes print parameters in a cross-client manner. Since the number of print parameters increases more slowly than the number of background processing steps, you can execute this report after longer periods of time ( longer than one month).
    You must refer to Note 307970 in connection with RSBTCPRIDEL.
  • The job SAP_COLLECTOR_FOR_PERFMONITOR was previously also called COLLECTOR_FOR_PERFORMANCE_MONITOR.
  • The job SAP_COLLECTOR_FOR_NONE_R3_STAT is available as of SAP Web Application Server 6.20 only.
  • On sapserv3, an improved version of RSPO0041 is available with RSPO1041 (Note 130978).
  • In addition, you should regularly run a consistency check of the spooler and the TemSe (Note 48400).
  • Batch input reorganization may not run at the same time as normal batch input activity up to and including SAP Release 30C (see Note 18307). The associated job must be scheduled for a time when no other batch input activity is scheduled.
  • ***** Caution: The standard job SAP_REORG_UPDATERECORDS that was contained in some delivered versions must no longer be executed (see Note 67014). In its new version, the underlying ABAP Program RSM13002 is programmed so that it terminates when running in a job (that is, in the background). Therefore, the job SAP_REORG_UPDATERECORDS always terminates in this case. In any case, the job SAP_REORG_UPDATERECORDS should be deleted from the pool of standard jobs, if it is still there: sm36 -> 'Standard jobs' -> 'Delete standard jobs'. In addition, released jobs that may exist and contain report RSM13002 should be deleted. You can find and delete these jobs using sm37.
  • ***** Caution: The job SAP_WP_CACHE_RELOAD_FULL is normally used to update data from the workplace component system to the workplace server.
    This job must be run on a workplace server only; otherwise it terminates. In the future, this job will no longer be delivered as a standard job.
    If this job has been scheduled for your system, but you do not need it, delete the scheduled job in transaction sm37.
  • To eliminate ABAP dumps that are created due to runtime errors within an ABAP program, use the program RSSNAPDL. To simplify the associated job scheduling, you also have the program RSNAPJOB. This program schedules RSSNAPDL within a job. Implicit assumptions:
  • Job name: RSSNAPDL
  • Variant: DEFAULT (therefore it must exist)
  • Start date : from the following day, 1:00 am
  • Repeat interval: daily
  • Using the Support Packages specified in Note 666290, report RSTS0024 deletes job logs that no longer belong to any job. Contact SAP if you need the report in a release that is not specified in SAP Note 666290.

Clients and authorizations

Some of the jobs specified work with client-specific objects (for example, jobs). Whether a reorganization has any cross-client influence then normally depends on particular authorizations. The following table displays all of the client-dependent jobs. All of the other jobs are not client-dependent.

Job name:
SAP_REORG_BATCHINPUT

Jobs that are not client-dependent perform a reorganization in all affected clients. They require neither special authorizations nor a special user name.
The job SAP_COLLECTOR_FOR_PERFMONITOR must always be scheduled in client 000 with user DDIC or with a user with the same authorization.

For some jobs, note the following correlations:

  • Job SAP_REORG_JOBS:
  • See SAP Note 784969.
  • Job SAP_REORG_SPOOL:
  • Authorization S_ADMI_FCD-S_ADMI_FCD = 'SPAD'
    Reorganization runs in chosen client (Client = '*', then runs in all clients)
  • Authorization S_ADMI_FCD-S_ADMI_FCD = 'SPAR'
    Reorganization only in the client in which the actual job is running
  • Job SAP_REORG_BATCHINPUT:
  • Authorization profile S_BDC_MONI - BDCAKTI = 'REOG'
                        S_BDC_MONI - BDCGROUPID = "*"
    Reorganization only in the client in which the job is running



Comments:

  • The authorizations always relate to the user under whose ID the job is being processed.
  • If this user has the authorizations required to work in a cross-client manner, the client in which the job actually runs is irrelevant.

Examples

  • User ADMIN has the Authorization S_BTCH_ADM = 'Y'. If Job SAP_REORG_JOBS is now scheduled with User ADMIN, the jobs are reorganized in all clients.
  • User REORG has the Authorization profile S_BDC_ALL. If Job SAP_REORG_BATCHINPUT is now scheduled with User REORG in Client 002, the batch input objects are reorganized in Client 002.
  • If the job SAP_REORG_ABAPDUMPS is scheduled in any client, all ABAP short dumps are reorganized in all clients.
  • User SPOOLADM has the authorization S_ADMI_FCD-S_ADMI_FCD = 'SPAD'. If the job SAP_REORG_SPOOL is now scheduled with user SPOOLADM and client 123 is specified for the program parameters, then the spool objects in client 123 are reorganized irrespective of the client in which the actual job is running. If you enter '*' as the client, all clients are reorganized.


NOTES: The job steps should be planned using a language that is available in the system. English should be available in every system. However, some of these jobs have steps set by default in German. The following is valid until further notice: the jobs must be modified if necessary when, for example, a Russian code page is used.

请使用浏览器的分享功能分享到微信等