2
7/28/2019 Sapnote_174645 - Multiple Scheduling of the Jobs EU_PUT and EU_REORG http://slidepdf.com/reader/full/sapnote174645-multiple-scheduling-of-the-jobs-euput-and-eureorg 1/2 17.12.2009 Page 1 of 2 SAP Note 174645 - Multiple scheduling of the jobs EU_PUT and EU_REORG Note Language: English Version: 3 Validity: Valid Since 23.08.2000 Summary Symptom The EU_PUT job or the EU_REORG job or both jobs are scheduled several times (twice, three times, and so on) and also run repeatedly every night. Additional key words EU_REORG, SAPRSLOG, EU_PUT, SAPRSEUT, SE80, Object Navigator, Repository Browser, Object Browser, background, ABAP Workbench, ABAP Development, Cause and prerequisites The ABAP Workbench needs two background jobs for continuous reorganization of its tables. They should run every night.These jobs are called EU_REORG and EU_PUT. They are scheduled automatically.This is achieved by means of an automatic scheduling mechanism in Transaction SE80 (Object Navigator / Repository Browser). Due to buffering changes in the background processing interfaces in Release 4, it might happen that the jobs are scheduled several times in Releases 4.0x to 4.6A.This can happen if two or several developers call Transaction SE80 almost at the same time at the beginning of the day. Then, one or both jobs EU_REORG and EU_PUT run twice or even several times each night. Multiple running of the jobs does NOT cause any data inconsistencies.However, resources are unnecessarily consumed. Solution As of Release 4.6B, the problem no longer exists. This is corrected in 4.5B with Support Package 30 and with Support Package 52 in 4.0B. You can implement the correction in advance. Change the SUBMIT_BATCH_JOBS form in function group SEWB: as follows: (1) Insert a lock call AFTER the FIRST IF-statement.Then the source code (including the IF-statement) reads as follows: if job_eu_indicator = space. * Lock the following block call function 'ENQUEUE_ESTBTCO' exporting jobname = 'RS_EU_JOBS_INIT_PUT_REORG' #EC NOTEXT jobcount = '99999999' "#EC NOTEXT exceptions others = 1. if sy-subrc < > 0. exit. endif. (2) Insert an unlock call BEFORE the LAST ENDIF-statement.Then the source code (including the ENDIF- and ENDFORM statements) reads as follows: * Unlock the previous block call function 'DEQUEUE_ESTBTCO' exporting

Sapnote_174645 - Multiple Scheduling of the Jobs EU_PUT and EU_REORG

Embed Size (px)

Citation preview

Page 1: Sapnote_174645 - Multiple Scheduling of the Jobs EU_PUT and EU_REORG

7/28/2019 Sapnote_174645 - Multiple Scheduling of the Jobs EU_PUT and EU_REORG

http://slidepdf.com/reader/full/sapnote174645-multiple-scheduling-of-the-jobs-euput-and-eureorg 1/2

17.12.2009 Page 1 of 2

SAP Note 174645 - Multiple scheduling of the jobs EU_PUTand EU_REORG

Note Language: English Version: 3 Validity: Valid Since 23.08.2000

Summary

Symptom The EU_PUT job or the EU_REORG job or both jobs are scheduled several times(twice, three times, and so on) and also run repeatedly every night.

Additional key wordsEU_REORG, SAPRSLOG, EU_PUT, SAPRSEUT, SE80, Object Navigator, RepositoryBrowser, Object Browser, background, ABAP Workbench, ABAP Development,

Cause and prerequisitesThe ABAP Workbench needs two background jobs for continuous reorganizationof its tables. They should run every night.These jobs are called EU_REORGand EU_PUT.They are scheduled automatically.This is achieved by means of an automatic

scheduling mechanism in Transaction SE80 (Object Navigator / RepositoryBrowser).Due to buffering changes in the background processing interfaces in Release4, it might happen that the jobs are scheduled several times in Releases4.0x to 4.6A.This can happen if two or several developers call TransactionSE80 almost at the same time at the beginning of the day.Then, one or both jobs EU_REORG and EU_PUT run twice or even several timeseach night.Multiple running of the jobs does NOT cause any datainconsistencies.However, resources are unnecessarily consumed.

Solution

As of Release 4.6B, the problem no longer exists.This is corrected in 4.5B with Support Package 30 and with Support Package52 in 4.0B.You can implement the correction in advance. Change

the SUBMIT_BATCH_JOBS formin function group SEWB:

as follows:(1) Insert a lock call AFTER the FIRST IF-statement.Then the source code(including the IF-statement) reads as follows:

if job_eu_indicator = space.* Lock the following block

call function 'ENQUEUE_ESTBTCO'exporting

jobname = 'RS_EU_JOBS_INIT_PUT_REORG' #EC NOTEXTjobcount = '99999999' "#EC NOTEXT

exceptionsothers = 1.

if sy-subrc < > 0.exit.

endif.

(2) Insert an unlock call BEFORE the LAST ENDIF-statement.Then the sourcecode (including the ENDIF- and ENDFORM statements) reads as follows:

* Unlock the previous blockcall function 'DEQUEUE_ESTBTCO'

exporting

Page 2: Sapnote_174645 - Multiple Scheduling of the Jobs EU_PUT and EU_REORG

7/28/2019 Sapnote_174645 - Multiple Scheduling of the Jobs EU_PUT and EU_REORG

http://slidepdf.com/reader/full/sapnote174645-multiple-scheduling-of-the-jobs-euput-and-eureorg 2/2

17.12.2009 Page 2 of 2

SAP Note 174645 - Multiple scheduling of the jobs EU_PUTand EU_REORG

jobname = 'RS_EU_JOBS_INIT_PUT_REORG' #EC NOTEXTjobcount = '99999999'. "#EC NOTEXT

endif.

endform.

Header Data

Release Status: Released for CustomerReleased on: 22.08.2000 22:00:00Master Language: GermanPriority: Correction with medium priorityCategory: Program errorPrimary Component BC-DWB-UTL-BRR Repository Browser, ObjectNavigator

Valid Releases

Software Component Release From Release

ToRelease

and Subsequent

SAP_APPL 40 40A 40B X

SAP_APPL 45 45A 45B X

SAP_APPL 46 46A 46A

Related Notes

Number Short Text

208540 Multiple scheduling of the jobs EU_PUT and EU_REORG

188790 Multiple scheduling of jobs EU_PUT and EU_REORG

18023 Jobs EU_INIT, EU_REORG, EU_PUT