CPS Troubleshooting

179
SAP CPS Troubleshooting Guide Version M33.58-58052

Transcript of CPS Troubleshooting

SAP CPS Troubleshooting GuideVersion M33.58-58052

Table of Contents1. New Features ......................................................................................................................................... 1 New Features in M33 .......................................................................................................................... 1 Sybase Adaptive Server Enterprise Support ..................................................................................... 1 Parameter Value Changes Update Submit Wizard ............................................................................. 1 New Global Privileges ................................................................................................................ 1 Out Parameters are now Set even if the job did not Reach Status Completed .......................................... 1 Job Chain Calls Restricted to a Time Window .................................................................................. 1 Low Volume Licensing now available ............................................................................................ 1 Partial Job File Retrieval .............................................................................................................. 2 Financial Process Automation (FPA) .............................................................................................. 2 Job Data Archiving ..................................................................................................................... 2 IgnoreApplicationReturnCode Registry Keys and Parameters ............................................................. 2 New Scorecard for Historical Data ................................................................................................ 2 Store Documentation in SAP CPS Documents ................................................................................. 2 Better Unattended Install Support for Platform Agents ...................................................................... 3 Maximum Restarts and Restart Delay for Job Chain Steps ................................................................. 3 Lenient Flag for DateTimeZone .................................................................................................... 3 SAP Business Automation Enabler (BAE) Connectors / SAP Inbound .................................................. 3 Job Forecasting .......................................................................................................................... 3 New Features in M31 .......................................................................................................................... 4 Archiving with the new Archive Server .......................................................................................... 4 SAP Module ............................................................................................................................. 4 Mail Module ............................................................................................................................. 4 Oracle Applications Scheduling .................................................................................................... 4 Suppress License Expiration Warning ............................................................................................ 4 Customize the Navigation Bar ...................................................................................................... 4 New Features in M28 .......................................................................................................................... 4 Import Jobs and Clusters ............................................................................................................. 4 New Object Filter Conditions ....................................................................................................... 5 Query Filter Parameter Constraints ................................................................................................ 5 Improved Security with sudo ........................................................................................................ 5 Source Code Fields are Resizable .................................................................................................. 5 New Reporting Functionality ........................................................................................................ 5 Submit Frames Now Offer a Preview ............................................................................................. 5 Platform Agent Network Timeout .................................................................................................. 5 Fail-over Timeouts ..................................................................................................................... 5 Permalink Module ...................................................................................................................... 6 Links in Documentation Fields ..................................................................................................... 6 SAP SNC Support ...................................................................................................................... 6 Advanced Auditing Rules ............................................................................................................ 6 Advanced Search for all Objects ................................................................................................... 6 Easy Retrieval of Process Server Logs ............................................................................................ 6 Controlling Communication Channels with SAP PI .......................................................................... 6 New Features in M26 .......................................................................................................................... 6 SAP Applications API Integration ................................................................................................. 7 Mail Job Definition Type ............................................................................................................. 7 Period Functions ........................................................................................................................ 7 Reports .................................................................................................................................... 7 Credentials ............................................................................................................................... 7 Dashboard ................................................................................................................................ 7 Library and Triggers ................................................................................................................... 7 Isolation groups ......................................................................................................................... 7

iii

SAP CPS Troubleshooting Guide

2. Release Notes ............................................................................................................................ 8 Most Important Release Notes .................................................................................................. 8 AS/400: JobAppend is Appended twice if set ....................................................................... 8 Sybase Adaptive Server Enterprise Support ......................................................................... 8 Reverting from a Chargeable to a Free of Charge Version ....................................................... 8 "[Non production use only]" in Application Title Unless Supported DB is Used ......................... 8 Redwood Platform and Oracle Prerequisites ........................................................................ 8 Tablespace Usage - Upgrading from Version 7 ..................................................................... 9 Change in IntelliSearch Prefixes ....................................................................................... 9 Change in Time Windows with Offsets ............................................................................. 10 Run As Fields and Special Characters in Passwords ............................................................ 10 New MASS_ACTIVITY_DATE_SHIFT Behavior ...................................................................... 10 Improved Support for DBMS_OUTPUT ................................................................................... 10 Changes in Tables ................................................................................................................. 10 Redwood Platform: Redwood Messaging Replaces JMS .............................................................. 11 Out Parameters Set even when Job Fails ................................................................................... 11 Importing Large CAR Files Can Cause OOME's ........................................................................ 11 Navigation Bars in Partitions other then GLOBAL ...................................................................... 11 Using Credentials with FTP Job Definition Types ....................................................................... 12 Report job gives NPE if parameter OutputFormat is not available .................................................. 12 Importing Multiple SAP Jobs with Identical Names .................................................................... 12 Jobs Stay in Status PreRunning or PostRunning ......................................................................... 12 Runtime Expiration Calculations have been moved to separate threads ........................................... 12 Importing SAP System Objects ............................................................................................... 12 SAP CPS and other SAP Software ........................................................................................... 13 FileInUseCommand Process Server Parameter Changed Default Value on Unix ................................ 13 SAP Application Return Codes ............................................................................................... 13 Killing RedwoodScript Jobs ................................................................................................... 14 Upgrading from M28 ............................................................................................................ 14 Active Monitoring Module ............................................................................................. 14 Pre-submit Count ......................................................................................................... 14 Impacts Recurrences ..................................................................................................... 14 Job Chain Job Restart ............................................................................................................ 14 SQL Server Deadlocks .......................................................................................................... 14 Job Chain Status ................................................................................................................... 15 Preconditions ....................................................................................................................... 15 Job Run Order Change .......................................................................................................... 15 OnChange Trigger ................................................................................................................ 16 Supported Browsers .............................................................................................................. 16 Firefox 3.6 and Java Plugins ........................................................................................... 16 System-wide and Partition-wide Keep Clauses ........................................................................... 16 Time Windows and the Custom Library .................................................................................... 21 Debian-based Systems and Java Networking .............................................................................. 16 Import Jobs and Clusters ........................................................................................................ 17 Pre-Submitting many Jobs ...................................................................................................... 17 Halloween ........................................................................................................................... 17 SQL Server JDBC Driver Settings ........................................................................................... 17 SAP Interception .................................................................................................................. 18 Statistics and big Repositories ................................................................................................. 18 Recurrences Converted to Submit Frames ................................................................................. 18 Gantt Chart ......................................................................................................................... 19 JVM Time Zone Settings ....................................................................................................... 19 HTTP Worker Threads .......................................................................................................... 19 Oracle Globalization Support .................................................................................................. 19 Restart Behavior Change ....................................................................................................... 19

iv

SAP CPS Troubleshooting Guide

RestartCount is not Always Decremented .................................................................................. 20 SAP Clients Require Time Zone Data ....................................................................................... 20 File Event Move Directories ................................................................................................... 20 Default Pagesize on DB2 is insufficient on non-NetWeaver Systems .............................................. 20 Queues, Time Windows and Time Zones ................................................................................... 20 Platform Agent Network Timeout ............................................................................................ 20 Fail-over Timeouts ................................................................................................................ 21 File:// links and Mozilla Firefox .............................................................................................. 21 Time Windows and the Custom Library .................................................................................... 21 Wildcards in Auto-Complete Fields .......................................................................................... 22 Shell .................................................................................................................................. 22 Transport Files ..................................................................................................................... 22 Changing the SAP System of a Job with Default Queue ............................................................... 22 SAP Notes .......................................................................................................................... 22 Upgrade Issues .................................................................................................................... 22 Upgrading from 26 ....................................................................................................... 22 SAP Job Definitions ...................................................................................................... 22 SAP Job Names ........................................................................................................... 23 Application Renames .................................................................................................... 23 Platform Agents on GNU/Linux .............................................................................................. 23 Platform Agents on Tru64 ...................................................................................................... 23 SAP CPS on GNU/Linux ....................................................................................................... 24 3. Troubleshooting Connections to SAP Systems ................................................................................ 25 Use .................................................................................................................................... 25 Setting the Audit Level .................................................................................................. 25 Inspecting the Log ........................................................................................................ 25 Performance Problems .................................................................................................. 25 Enabling XMI Logging to Troubleshoot Issues ........................................................................... 25 Use ............................................................................................................................ 25 Procedure ................................................................................................................... 26 Setting the Log Level and Inspecting Log Files in SAP NetWeaver ................................................ 26 Use ............................................................................................................................ 26 Prerequisites ................................................................................................................ 27 Procedure ................................................................................................................... 27 See Also ..................................................................................................................... 28 Inspecting Log Files in Redwood Platform ................................................................................ 28 Use ............................................................................................................................ 28 Procedure ................................................................................................................... 28 System Tools and Platform Agent logging ................................................................................. 28 Use ............................................................................................................................ 28 Example ..................................................................................................................... 30 Tuning Memory Usage and Garbage Collection ......................................................................... 30 Use ............................................................................................................................ 30 Problems and Solutions ................................................................................................. 31 Getting a GC log .......................................................................................................... 31 Troubleshooting Performance and Memory Problems on NetWeaver .............................................. 37 Use ............................................................................................................................ 37 Prerequisites ................................................................................................................ 40 Procedure ................................................................................................................... 40 See Also ..................................................................................................................... 41 4. Troubleshooting SAP CPS or JAVA AS issues ................................................................................ 37 Use .................................................................................................................................... 37 Troubleshooting Performance Problems on NetWeaver ................................................................ 37 Use ............................................................................................................................ 37 Prerequisites ................................................................................................................ 40

v

SAP CPS Troubleshooting Guide

Procedure ................................................................................................................... 40 See Also ..................................................................................................................... 41 5. Common Database Errors ........................................................................................................... 42 Use .................................................................................................................................... 42 This object has been deleted ................................................................................................... 42 Platform ..................................................................................................................... 42 Specific Error message .................................................................................................. 42 Resolution .................................................................................................................. 42 6. Common SAP-Related Errors ...................................................................................................... 43 Use .................................................................................................................................... 43 Error: E XM 034 Internal problem ........................................................................................... 43 Platform ..................................................................................................................... 46 Specific Error Message .................................................................................................. 46 Resolution .................................................................................................................. 46 Error: E XM 251 Time stamp "FROM_TIMESTAMP" is invalid ................................................... 43 Platform ..................................................................................................................... 46 Specific Error Message .................................................................................................. 46 Resolution .................................................................................................................. 46 Error: ABAP/4 processor: TSV_TNEW_OCCURS_NO_ROLL_MEMORY .................................... 44 Platform ..................................................................................................................... 46 Specific Error Message .................................................................................................. 46 Resolution .................................................................................................................. 46 Error: I:XM:233 BAPI_XBP_NEW_FUNC_CHECK .................................................................. 44 Platform ..................................................................................................................... 46 Specific Error Message .................................................................................................. 46 Resolution .................................................................................................................. 46 Error: You have no authorization to log on to interface XBP .......................................................... 44 Platform ..................................................................................................................... 46 Specific Error message .................................................................................................. 45 Resolution .................................................................................................................. 46 Error Incomplete Layout ........................................................................................................ 45 Platform ..................................................................................................................... 46 Specific Error Message .................................................................................................. 46 Resolution .................................................................................................................. 46 SAP CPS not Listed as Available Package in JSPM ..................................................................... 46 Platform ..................................................................................................................... 46 Specific Error Message .................................................................................................. 46 Resolution .................................................................................................................. 46 7. Common SAP BAE Errors .......................................................................................................... 47 Use .................................................................................................................................... 47 0 OK ....................................................................................................................... 47 1 - Cannot retrieve the file at the moment; please retry later .................................................. 47 65 - User is not authorized ............................................................................................. 47 66 - Invalid partition ..................................................................................................... 47 67 - Invalid isolation group ............................................................................................. 47 69 - Job restart is prohibited ........................................................................................... 47 70 - Cannot modify job .................................................................................................. 47 71 - Invalid SAP system name ........................................................................................ 47 72 - Unsupported start option .......................................................................................... 47 73 - Cannot delete event definition ................................................................................... 48 74 - Cannot retrieve file ................................................................................................. 48 75 - File is empty ......................................................................................................... 48 76 - Invalid doc ID ........................................................................................................ 48 77 - Invalid application ID .............................................................................................. 48 78 - Invalid application name .......................................................................................... 48

vi

SAP CPS Troubleshooting Guide

79 - Invalid job definition parameter ................................................................................. 48 80 - Invalid job filter ..................................................................................................... 48 81 - Queue does not exist ............................................................................................... 48 82 - Unsupported start type ............................................................................................ 48 83 - Unsupported schedule mode ..................................................................................... 49 84 - Cannot schedule job ................................................................................................ 49 85 - Invalid job definition ............................................................................................... 49 86 - Invalid event control mode ....................................................................................... 49 87 - Invalid event definition ............................................................................................ 49 88 - Invalid user ........................................................................................................... 49 89 - Job definition does not exist ..................................................................................... 49 91 - An error was encountered while evaluating a default parameter value ............................... 49 92 - Invalid job ID ........................................................................................................ 49 94 - Error while persisting objects ................................................................................... 49 95 - General error ......................................................................................................... 50 96 - Session expired ...................................................................................................... 50 97 - Invalid session id .................................................................................................... 50 98 - Invalid ident .......................................................................................................... 50 99 - Not supported ........................................................................................................ 50 8. Common Platform-Related Errors ................................................................................................ 51 Use .................................................................................................................................... 51 opsys.socket - Connecting socket to localhost port 10180 failed: No connection ............................... 51 Symptoms ................................................................................................................... 51 Platform ..................................................................................................................... 53 Specific Error Message .................................................................................................. 53 Resolution .................................................................................................................. 53 JCS-116012: Warning: Transient communication failure: HTTP response code: 500 .......................... 51 Symptoms ................................................................................................................... 51 Platform ..................................................................................................................... 53 Specific Error message .................................................................................................. 53 Resolution .................................................................................................................. 53 id: illegal option u ................................................................................................................ 52 Platform ..................................................................................................................... 53 Resolution .................................................................................................................. 53 run_KSH: No such file or directory .......................................................................................... 53 Platform ..................................................................................................................... 53 Specific Error message .................................................................................................. 53 Resolution .................................................................................................................. 53 network-processor: OS initialization failed ................................................................................ 53 Platform ..................................................................................................................... 53 Specific Error Message .................................................................................................. 53 Resolution .................................................................................................................. 53 9. Common Redwood Platform-Related Errors ................................................................................... 54 Use .................................................................................................................................... 54 Address already in use. .......................................................................................................... 54 Symptoms ................................................................................................................... 54 Platform ..................................................................................................................... 54 Specific Error Message .................................................................................................. 54 Resolution .................................................................................................................. 54 10. Common OracleJob Errors ........................................................................................................ 56 Use .................................................................................................................................... 56 ORA-20800: JCS-02006: user does not exist within database .............................. 56 Symptoms ................................................................................................................... 57 Specific Error Message .................................................................................................. 58 Resolution .................................................................................................................. 58

vii

SAP CPS Troubleshooting Guide

ORA-01017: invalid username/password; logon denied ............................................................... 57 Symptoms ................................................................................................................... 57 Platform ..................................................................................................................... 57 Specific Error Message .................................................................................................. 58 Resolution .................................................................................................................. 58 JCS-132004: JDBC credential for user @System_Oracle not found. ..................................... 57 Symptoms ................................................................................................................... 57 Platform ..................................................................................................................... 57 Specific Error Message .................................................................................................. 58 Resolution .................................................................................................................. 58 11. .......................................................................................................................................... 168 12. Resetting the Database of Redwood Platform ................................................................................ 60 Use .................................................................................................................................... 60 Procedure ........................................................................................................................... 60 13. Reference .............................................................................................................................. 61 SAP RFC User Privileges ....................................................................................................... 61 Use ............................................................................................................................ 61 SAP Authorizations for XBP and BW .............................................................................. 61 AAAB - Cross-application Authorization Objects ............................................................... 65 BC_A - Basis: Administration ......................................................................................... 62 SAP Authorizations for BW Process Chains ...................................................................... 64 S_DEVELOP - ABAP Workbench ................................................................................... 65 AAAB - Cross-application Authorization Objects ............................................................... 65 SAP Authorizations for Industry Solutions (ISU) ................................................................ 65 SAP Authorizations for SAP Applications ......................................................................... 65 Default SAP Job Definitions ................................................................................................... 66 Use .......................................................................................................................... 123 SAP_AbapRun ............................................................................................................ 69 SAP_AbapRunPrint ...................................................................................................... 72 SAP_AbapRunPrintExt ................................................................................................. 75 SAP_ACC_Controller ................................................................................................... 78 SAP_BObj_DataServicesJobRun .................................................................................... 79 SAP_BObj_GenerateReportDefinition ............................................................................. 79 SAP_BObj_ImportReportDefinitions ............................................................................... 79 SAP_BObj_ReportRun .................................................................................................. 80 SAP_BObj_TriggerEvent ............................................................................................... 80 SAP_BW_GenerateInfoPackageGroup ............................................................................. 80 SAP_BW_GenerateJobDefinition .................................................................................... 81 SAP_BW_ImportInfoPackageGroups ............................................................................... 81 SAP_BW_ImportInfoPackages ....................................................................................... 82 SAP_BW_ImportProcessChainDefinition ......................................................................... 82 SAP_BW_ImportProcessChains ...................................................................................... 83 SAP_BW_InfopackageRun ............................................................................................ 83 SAP_BW_MaintainProcessChainDefinition ...................................................................... 84 SAP_BW_Process ........................................................................................................ 84 SAP_BW_ProcessChain ................................................................................................ 85 SAP_BW_RestartProcess .............................................................................................. 85 SAP_BW_RestartProcessChain ....................................................................................... 86 SAP_BW_ProcessChainRun .......................................................................................... 86 SAP_CcmsJob ............................................................................................................. 87 SAP_CcmsJobCheckStatus ............................................................................................ 87 SAP_CcmsJobGetApplicationLog ................................................................................... 88 SAP_CcmsJobGetApplicationLogHandles ........................................................................ 89 SAP_CcmsJobGetLog ................................................................................................... 89 SAP_CcmsJobGetSpoollist ............................................................................................ 89

viii

SAP CPS Troubleshooting Guide

SAP_CcmsJobGetStatistics ............................................................................................ 90 SAP_CcmsJobModifyHeader ......................................................................................... 90 SAP_CcmsJobGetStatus ................................................................................................ 91 SAP_ClosingCockpit_AbapRun ...................................................................................... 91 SAP_ClosingCockpit_ManualTask .................................................................................. 94 SAP_CopyVariant ........................................................................................................ 94 SAP_DeleteCcmsMonitors ............................................................................................. 95 SAP_DeleteVariant ....................................................................................................... 95 SAP_ExportRFCFunctionModuleInterface ........................................................................ 96 SAP_ExternalCommandRun .......................................................................................... 96 SAP_ExternalProgramRun ............................................................................................. 98 SAP_GenerateCcmsJobDefinition .................................................................................. 100 SAP_GetBatchResources ............................................................................................. 100 SAP_GetEventHistory ................................................................................................. 101 SAP_GetInstalledComponents ...................................................................................... 101 SAP_GetSysLog ........................................................................................................ 101 SAP_GetXmiLog ....................................................................................................... 101 SAP_ImportAbapParameterDefinition ............................................................................ 102 SAP_ImportAbapPrograms .......................................................................................... 102 SAP_ImportApplicationServers ..................................................................................... 103 SAP_ImportArchiveObjects .......................................................................................... 103 SAP_ImportBatchEvents .............................................................................................. 103 SAP_ImportCalendars ................................................................................................. 104 SAP_ImportExternalCommands .................................................................................... 104 SAP_ImportCcmsJobs ................................................................................................. 104 SAP_ImportCcmsMonitors ........................................................................................... 106 SAP_ImportOutputDevices .......................................................................................... 106 SAP_ImportRecipients ................................................................................................ 107 SAP_ImportVariantDefinition ....................................................................................... 107 SAP_ImportVariants ................................................................................................... 108 SAP_Info .................................................................................................................. 108 SAP_InterceptedJob .................................................................................................... 108 SAP_JXBP_GenerateJobDefinition ................................................................................ 109 SAP_JXBP_ImportJobDefinitions ................................................................................. 109 SAP_MA_CopyParameters .......................................................................................... 110 SAP_MA_CreateParameters ......................................................................................... 110 SAP_MA_DeleteDunningProposal ................................................................................ 111 SAP_MA_ImportMassActivities ................................................................................... 111 SAP_MA_ImportMassActivity ..................................................................................... 112 SAP_MA_MassActivityRun ......................................................................................... 112 SAP_MA_MassActivityTemplateRun ............................................................................. 113 SAP_MA_ResumeMassActivity .................................................................................... 113 SAP_MA_ShowMassActivity ....................................................................................... 114 SAP_MA_StopMassActivity ........................................................................................ 114 SAP_MaintainXbpOptions ........................................................................................... 114 SAP_PI_GetChannelStatus ........................................................................................... 115 Parameters ................................................................................................................ 123 SAP_PI_ImportChannels ............................................................................................. 116 SAP_PI_StartChannel ................................................................................................. 116 SAP_PI_StopChannel .................................................................................................. 116 SAP_RaiseEvent ........................................................................................................ 117 SAP_ReloadApplicationLinks ....................................................................................... 117 SAP_ReleaseInterceptedJobs ........................................................................................ 117 SAP_RunTemplateJob ................................................................................................. 118 SAP_SetXmiAuditLevel .............................................................................................. 118

ix

SAP CPS Troubleshooting Guide

SAP_SolutionManager_AbapRun .................................................................................. 118 SAP_StoreVariant ....................................................................................................... 120 SAP_SwitchOperationMode ......................................................................................... 121 SAP_SynchronizeEventHistoryCriteria ........................................................................... 121 SAP_SynchronizeInterceptionCriteria ............................................................................. 122 SAP_SynchronizeTerminatedCcmsJobs .......................................................................... 123 JCS Errors ......................................................................................................................... 123 JCS Errors 101XXX (alert) ........................................................................................... 123 JCS Errors 102XXX (api-impl) ..................................................................................... 124 JCS Errors 103XXX (api-int) ........................................................................................ 132 JCS Errors 104XXX (api) ............................................................................................. 133 JCS Errors 105XXX (as400) ......................................................................................... 134 JCS Errors 106XXX (audit) .......................................................................................... 134 JCS Errors 107XXX (cl-api) ......................................................................................... 134 JCS Errors 108XXX (cl-impl) ....................................................................................... 134 JCS Errors 109XXX (cluster) ........................................................................................ 134 JCS Errors 110XXX (configuration) ............................................................................... 135 JCS Errors 111XXX (core) ........................................................................................... 135 JCS Errors 112XXX (db-init) ........................................................................................ 136 JCS Errors 113XXX (export) ........................................................................................ 137 JCS Errors 114XXX (infrastructure) ............................................................................... 138 JCS Errors 115XXX (jobchainservice) ............................................................................ 138 JCS Errors 116XXX (jobservice) ................................................................................... 139 JCS Errors 117XXX (mailservice-api) ............................................................................ 139 JCS Errors 118XXX (security) ...................................................................................... 139 JCS Errors 119XXX (servlet) ........................................................................................ 140 JCS Errors 120XXX (ui) .............................................................................................. 140 JCS Errors 121XXX (module-r2w) ................................................................................ 140 JCS Errors 122XXX (agent-api) .................................................................................... 141 JCS Errors 122XXX (model) ........................................................................................ 141 JCS Errors 123XXX (persistence) .................................................................................. 142 JCS Errors 124XXX (script-java) ................................................................................... 143 JCS Errors 125XXX (constraint) ................................................................................... 143 JCS Errors 126XXX (iphone) ........................................................................................ 143 JCS Errors 127XXX (rfcconnector) ................................................................................ 143 JCS Errors 128XXX (extract-jco) .................................................................................. 144 JCS Errors 129XXX (oraapps-service) ............................................................................ 144 JCS Errors 129XXX (oraapps) ...................................................................................... 144 JCS Errors 130XXX (apns) ........................................................................................... 144 JCS Errors 131XXX (dblayer-sql) .................................................................................. 144 JCS Errors 131XXX (oraohi-service) .............................................................................. 145 JCS Errors 132XXX (dynamicsax-service) ...................................................................... 145 JCS Errors 132XXX (jdbc-impl) .................................................................................... 145 JCS Errors 132XXX (peoplesoft-service) ........................................................................ 145 JCS Errors 133XXX (iphone-public) .............................................................................. 145 JCS Errors 134XXX (r2w-comm) .................................................................................. 145 JCS Errors 135XXX (publish) ....................................................................................... 146 JCS Errors 136XXX (oraclejob-impl) ............................................................................. 146 JCS Errors 137XXX (api-plsql-impl) .............................................................................. 146 JCS Errors 138XXX (api-plsql-install) ............................................................................ 146 JCS Errors 139XXX (bobj-service) ................................................................................ 146 Registry Keys .................................................................................................................... 147 Use .......................................................................................................................... 147 Configuration Hive ..................................................................................................... 147 Active Alerting-Related Registry Keys ............................................................................ 154

x

SAP CPS Troubleshooting Guide

Archiving Server-Related Registry Keys ......................................................................... SAP-Related Registry Keys .......................................................................................... Platform Agent-Related ................................................................................................ User Hive .................................................................................................................. Common Logging Categories ................................................................................................ Use .......................................................................................................................... See Also ................................................................................................................... Glossary ........................................................................................................................... A ............................................................................................................................. B ............................................................................................................................. C ............................................................................................................................. D ............................................................................................................................. E ............................................................................................................................. F ............................................................................................................................. G H I ........................................................................................................................ J .............................................................................................................................. K ............................................................................................................................. L ............................................................................................................................. M ............................................................................................................................ N O .......................................................................................................................... P Q .......................................................................................................................... R ............................................................................................................................. S ............................................................................................................................. T ............................................................................................................................. U V .......................................................................................................................... W ............................................................................................................................ X Y Z .......................................................................................................................

154 154 157 157 157 157 158 158 158 159 160 161 161 162 162 162 164 164 164 165 165 166 166 167 167 167 167

xi

Chapter 1. New FeaturesThis topic lists the new features for SAP CPS build M33.58-58052, built on Tue May 08 11:45:35 2012.

New Features in M33Sybase Adaptive Server Enterprise SupportSAP CPS now supports Sybase Adaptive Server Enterprise version 15.5 as an underlying database.

Parameter Value Changes Update Submit WizardWhen you change a parameter value in the submit wizard, the page is re-rendered. This means that parameters that have values depending on the value that was changed will be updated and allows you to create dependencies between parameters.

New Global PrivilegesNew deactivated global privileges have been introduced: Redwood_Shell - can control who can access RedwoodScript iPhone_Access - can control who can access SAP CPS with an Apple iPhone Default_Navigation_bar - can control who can access the default navigation bar Redwood_Script - can control who can use RedwoodScript in job definitions, libraries, triggers and other areas that use RedwoodScrip.

These three privileges are disabled by default and need to be activated.

Out Parameters are now Set even if the job did not Reach Status CompletedPreviously, when a job did not reach status Completed, Out parameters were not set. This has now changed; if the job had the time to set the out parameter before it failed, the Out parameter will be set.

Job Chain Calls Restricted to a Time WindowJob Chain calls can now be restricted to a time window, which means that the call will wait until the time window is open if the time window was closed at start-time.

Low Volume Licensing now availableIf you want to use low volume process servers contact your account representative.

1

New Features

Partial Job File RetrievalYou can now retrieve a range of lines, search for strings in output files and email just the matched lines. This allows you to retrieve just the last 10 lines of the output file of a job that reached status Error and forward just the error message, for example.

Financial Process Automation (FPA)Automate and optimize your closing processes with streamlined processing in multiple systems. End-user friendly user interface for document aprroval, process monitoring, and repot inspection. The FPA server should reside on a separate server for performance reasons, the same database can be used, but you should use different database schemas for SAP CPS and the FPA server.

Job Data ArchivingYou can now archive old job data to a separate server, allowing you to keep your SAP CPS server optimized. The archiving server allows you to easily access the archived job data. The archiving server must be a Microsoft Windows server and it is highly recommended to use a second server for archiving purposes as having the archive server. You can use the same database (database instance), however you should not use the same schema.

IgnoreApplicationReturnCode Registry Keys and ParametersTwo new registry keys and parameters have been introduced to force SAP process servers to ignore application return codes that SAP jobs return and which are used to determine the final status of the job. All can be set to true or false, SAP CPS processes the settings in the following order:: 1. 2. job definition parameter IGNORE_APPL_RC, only valid for all jobs of this job definition process server parameter SAP_IgnoreApplicationReturnCode, only valid for all jobs that run on the process server registry key /configuration/sap/./xbp/IgnoreApplicationReturnCode, only valid for the specified SAP system registry key /configuration/sap//xbp/IgnoreApplicationReturnCode, valid for all SAPR3 jobs across all SAP systems

3.

4.

The default value of this has changed to false for new installations; when you upgrade from a version prior to M33 and have SAP systems defined, the registry key /configuration/sap//xbp/IgnoreApplicationReturnCode will be created and set to true, so the behavior will not change.

New Scorecard for Historical DataYou now have the scoreboard that displays historical statistical data. By default, it will keep data for 365 days. The retention period can be set with the registry key /configuration/history/jobhistory.

Store Documentation in SAP CPS DocumentsYou can now store documentation about SAP CPS objects or processes in '"Document objects and link to them from Documentation'' fields in objects.

2

New Features

Better Unattended Install Support for Platform AgentsNew switches have been added to the platform agent installers, allowing you to specify all options on the command line. This is especially useful for unattended installations.

Maximum Restarts and Restart Delay for Job Chain StepsJob chain steps now have two new attributes, Maximum Restarts and Restart Delay Amount/Restart Delay Units, which allow you to specify how many times steps are to be restarted in case according to Final Status Handlers. You can also specify a delay after which each restart should occur.

Lenient Flag for DateTimeZoneYou can now set the lenient flag on DateTimeZone objects in your code, so that dates are evaluated strictly and produce an error when you enter invalid dates. Note that the default has not changed, invalid dates like 31/11/2011 are evaluated and corrected when invalid, in this example, the resulting date is 01/12/2011. To disable the lenient flag, you can do the following:{ DateTimeZone dtz = new DateTimeZone(2011,10,31,12,10,10,10); dtz.setLenient(false); jcsOut.println(dtz.toString()); }

SAP Business Automation Enabler (BAE) Connectors / SAP InboundIt is now possible to connect SAP systems with SAP CPS to schedule workload in SAP CPS from within an SAP instance without the use of process servers. Previously, an SAP System object was required in SAP CPS which used a process server key. This had an impact on the licensing costs of Chargeable version SAP CPS installations when you did not schedule workload from within SAP CPS on that SAP instance. With SAP Inbound, you have separate objects which are free of charge and allow you to control SAP CPS from within SAPGui. Although a licence key defines the maximum amount you can create, you may request additional ones at any time.

NoteThe BAE Connectors are only available when you purchased SAP CPS from SAP AG.

Job ForecastingYou can now create a forecast for given jobs; this allows you to plan workload better and gives you a better overview of system load.

3

New Features

New Features in M31Archiving with the new Archive ServerYou can now archive old jobs and their output to the archive server to offload the central scheduling server. The Archive Server also has a report-friendly interface, allowing you to quickly locate the desired job and its output. The Archive Server is built on Redwood Report2Web technology.

SAP ModuleYou can now set the user that runs Mas Activities. In previous releases, the account used to run Mass Activities was the RFC user. When you fill the parameter SAP_USER_NAME on job definitions SAP_MA_MassActivityRun and SAP_MA_MassActivityTemplateRun, the mass activity will be started from a batch job that has the specified user as a step user, forcing the Mass Activity to run as that user.

Mail ModuleSAP CPS will now create the smtp credential protocol automatically.

Oracle Applications SchedulingYou can now schedule Oracle Applications (aka Oracle EBS) workload with SAP CPS. This feature requires a specific license key, see the License topic ( see the Administration Guide ) for more information.

Suppress License Expiration WarningYou can now suppress the license expiration warning with the registry key user//ui/configuration/ExpirationNotification. The default value is 28 days, the minimum is 7 days, lower values will result in 7 days. It has to be set by users. user//ui/configuration/ExpirationNotification

Customize the Navigation BarWith this release, you can now customize the navigation bar to include frequently used items only. This is especially handy for operators or other users with limited privileges, as you can reduce number of items in each group, which increases efficiency.

New Features in M28These features appeared in M28 and are listed here for your convenience.

Import Jobs and ClustersIn previous releases, when you ran a job to import a car file, for example, the file would be saved in the current working directory of the cluster node. This can cause issues if the actual job is run on another node, as it cannot access the file.

4

New Features

A new registry key /configuration/jcs/upload/UploadedFilesPath has been introduced to specify the location where uploaded files, not only car files, are saved. This directory must be accessible to all nodes in the cluster.

New Object Filter ConditionsA lot of objects can now be filtered on owner or partition.

Query Filter Parameter ConstraintsYou can now use object filters to create list of values for job parameters ( see the Administration Guide ).

Improved Security with sudoWhen you use sudo for user-switching on Unix, you can now specify your chown command and check parameters for validity, making sure a rogue user who gained access to the SAP CPS OS account cannot access files owned by root. SAP CPS ship with an example chown.sh script which can be used as a basis. See Configuring Platform Agents ( see the Administration Guide ) for more information.

Source Code Fields are ResizableSource code fields are now resizable, you can toggle the stub code field as well to allow the source code field to almost cover the entire window. Resizing the window now resizes the source code field to allow you write complex code with greater ease.

New Reporting Functionality1. 2. 3. Reports now have a preview window, where you can see a preview of a report before you save it. The report job definition type has been introduced to allow you to change parameters easily. Report parameters have been introduced to allow you to use Redwood Expression Language ( see the Administration Guide ) in selections with greater ease.

Submit Frames Now Offer a PreviewYou can now see when jobs will be submitted according to the submit frame, if you were to submit them at the current time, much like time windows show the times of the day they are open.

Platform Agent Network TimeoutA network timeout has been introduced to solve networking issues, when no message has been received in at most twice the MessageInterval ( see the Administration Guide ), the platform agent will attempt to reconnect.

Fail-over TimeoutsIt is now possible to configure fail-over timeouts with the SAP CPS registry key: /configuration/jcs/clustering/lockTimeoutThreshold the value is in seconds. The default value is 300 seconds and will be used if this registry key is not set or its value is invalid.

5

New Features

Permalink ModuleThe Permalink Module ( see the Administration Guide ) allows third-party applications to interact with SAP CPS.

Links in Documentation FieldsThe Documentation fields of all objects now support the following URL's: http[s]:// - any HTTP or HTTPS URL file:// - a file URL, the file should be accessible from that unique path from the perspective of the user

NoteDue to security settings in Mozilla Firefox, file:// URL's must first be enabled, see the Release Notes for more information.

SAP SNC SupportSAP CPS can now use Single Sign On (SSO) over RFC connections, making the connection encrypted. See the Connect to an SAP System with SNC topic ( see the Administration Guide ) for more information.

Advanced Auditing RulesYou may now define advanced auditing rules ( see the Administration Guide ), for objects of a given name or being in a specific application.

Advanced Search for all ObjectsSAP CPS now offers the quick and easy search feature available in previous versions for job search on most objects. When you are in an object view, for example in Definitions > Job Definitions you can quickly locate the job definition by entering a distinctive part of its name into the search field. The search field is context-sensitive, so it will only search for objects in the currently selected tab.

Easy Retrieval of Process Server LogsProcess servers and jobs now offer a new action to retrieve log files and system information, this is especially useful for support queries.

Controlling Communication Channels with SAP PISAP CPS now allows you to control communication channels via the SAP PI interface. This functionality gives you advanced control of when which transformation take place and requires a Chargeable Version.

New Features in M26These features appeared in M26 and are listed here for your convenience.

6

New Features

SAP Applications API IntegrationSAP CPS has an RFC server that you can use to connect to SAP CPS from ABAP stacks via an RFC destination and submit jobs from Closing Cockpit or Solution Manager. Other SAP components are being adapted to make use of this new feature.

Mail Job Definition TypeThe Mail job definition type ( see the Administration Guide ) has been introduced to allow you to create custom emails from within a job chain.

Period FunctionsIt is now possible to create period functions ( see the Administration Guide ). You have to specify a library containing a valid JAVA 1.4.2 package that can be used with period functions. Period functions allow you to create complex schedules.

ReportsThe reporting has been improved in this release. The Report object ( see the Administration Guide ) allows you to specify filters or custom queries and displays the output in csv or html.

CredentialsCredentials ( see the Administration Guide ) have been introduced to allow you to securely save login information for external systems. There is also a new virtual user, which allows you to work with many different user names and passwords across several systems by mapping them to one virtual user. Jobs will then execute as the correct user on any of the systems, regardless of the real user name on the target system. You could have a virtual user db_user that would be jdoe on server1 and jdupont on server2.

DashboardThe dashboard ( see the Administration Guide ) has been introduced to allow you to monitor components and systems from within one window. The dashboard allows you to have graphs and tachometers to display the current status.

Library and TriggersThe scripting module has been extended with libraries ( see the Administration Guide ) and triggers ( see the Administration Guide ). Libraries provide a central location for your RedwoodScript ( see the Administration Guide ) packages and are available in all objects that provide scripting capabilities. Triggers allow you to execute code globally when a job reaches a specific status or an object is changed by a user, for example.

Isolation groupsIsolation groups ( see the Administration Guide ) allow you to isolate objects from users. They are also used to isolate SAP Systems from each other when you have the Free of Charge license.

7

Chapter 2. Release NotesMost Important Release NotesAS/400: JobAppend is Appended twice if setIf you set JobAppend, it will be appended twice, which will prevent the job from retrieving log files.

Sybase Adaptive Server Enterprise SupportSAP CPS now supports Sybase Adaptive Server Enterprise version 15.5 as an underlying database.

Reverting from a Chargeable to a Free of Charge VersionReverting from a Chargeable to a Free of Charge version is not supported. This is due to the fact that there are restrictions in the Free of Charge version which do not exist in the Chargeable version.

"[Non production use only]" in Application Title Unless Supported DB is UsedThe caption "[Non-production use only]" is displayed after the product name unless the database is on the following list. DB2 - AS/400, OS/390, Linux/Unix/Windows SQL Server Oracle SAPDB Sybase

Redwood Platform and Oracle PrerequisitesThe documentation previously stated that you should use the roles CONNECT and RESOURCE to grant the Oracle user that SAP CPS uses to access the database the required privileges. After further investigation, it turns out that these roles grant not only too many privileges, but also hidden privileges. The RESOURCE role includes UNLIMITED TABLESPACE which is not what most customers would want. Note that you can only see UNLIMITED TABLESPACE in the user's session privileges after granting the user the RESOURCE role. When you grant UNLIMITED TABLESPACE to a user, then grant and revoke the RESOURCE role, the user loses the UNLIMITED TABLESPACE privilege! Note that no issues have been reported regarding this, but SAP recommends you grant the following privileges only: CREATE SESSION CREATE TABLE

8

Release Notes

Also, the user needs unlimited quota on the default tablespace for that user, as that is the tablespace used by SAP CPS. So, to edit an existing user perform the following:$ sqlplus system/mypassword@orcl SQL> alter user masalan 2 quota unlimited on users; SQL> revoke CONNECT, RESOURCE from masalan; Revoke succeeded. SQL> grant create session, create table to masalan;

To create a user with the required privileges:$ sqlplus system/mypassword@orcl SQL> create user masalan identified by mypassword 2 default tablespace users 3 quota unlimited on users; SQL> grant create session, create table to masalan;

Note that in these examples, orcl is the connect string, masalan is the user and users is the tablespace. Note, also, that mypassword is not a very safe password and just used here for illustration purposes.

Tablespace Usage - Upgrading from Version 7When you upgrade from SAP CPS version 7.0.4 to SAP CPS, you need to plan for potentially greater tablespace usage. SAP CPS version 8.0.0 has the following differences that may affect tablespace sizes: use of a UTF characterset is highly recommended; it potentially uses more space to save characters than others - it has the advantage, though, that it can store a much greater number of different characters objects can have longer names, this was increased from 30 to 80 characters default job definitions have more job parameters which provide new functionality

Change in IntelliSearch PrefixesNew intelliSearch prefixes have been introduced:: status, st req

The following intelliSearch prefixes have changed! run start - used to be s: and has been changed to rs: run end - use to be e: and has been changed to re:

This change was necessary for the introduction of the new status prefix.

9

Release Notes

Change in Time Windows with OffsetsPreviously, when you had a time window defined with a time-range (like 10AM to 5PM, for example) and offset on a time window element, the time window could potentially be open all day, regardless of the specified timerange. This has been changed. If you are upgrading and have time windows with time-ranges and offsets, please check them to see if they still function the way you expect.

Run As Fields and Special Characters in PasswordsCustomers have reported that when they specify a user/password in a Run As User field in a job definition and have special characters (/ and @) used in the Run As User field in their passwords, the jobs reach status Error. This is due to the fact that both / and @ are used as field separators in Run As User fields. Specifying a username with password in a Run As User field is deprecated in favor of credentials, which offer a secure central store for passwords.

New MASS_ACTIVITY_DATE_SHIFT BehaviorThe behavior of MASS_ACTIVITY_DATE_SHIFT parameter has been changed: if left blank, dates will be automatically shifted the number of days between source and target date ID's, in accordance with the old behavior if set to 0, dates will not be shifted; this is the new behavior

Improved Support for DBMS_OUTPUTSupport for Oracle dbms_output when written to log files has been improved: If output is printed (still controlled by JDBCOracleDBMSOutput) it is always at the end. New parameters: JDBCOracleDBMSOutputDestination - either stderr.log or stdout.log. Defaults to stderr.log for CSV, and stdout.log for all others. JDBCOracleDBMSOutputHeader - header to print before the dbms output. Defaults to Output for HTML, for XML and nothing for all others. JDBCOracleDBMSOutputFooter - footer to print after the dbms output. Defaults to for HTML, for XML and nothing for all others.

The text update count: is now only printed for DML statements, like insert, delete, and update statements.

Changes in TablesThe following changes have been made to tables: TableValue.ColumnValue is now optional. TableValue.ColumnValue maximum length is now 1000 instead of 255.

10

Release Notes

When persisting a TableValue for a column all omitted TableValues for optional TableDefinitionColumns are also created, to ensure the table is fully populated. Besides all existing tables will be fully populated after the upgrade.

Table.TableValues() will return the TableValues sorted by: Key, DisplayOrder, previously they were only odered by key TableDefinitionColumn.Datatype can not be changed for existing tables. TableDefinitionColumn.Optional can not become mandatory for existing tables. TableDefinitioColumn.ColumnName must be unique for the TableDefinition TableDefinitionColumn.DisplayOrder must be unique for the TableDefinition

Redwood Platform: Redwood Messaging Replaces JMSIn Redwood Platform, the default cluster messaging infrastructure has changed. JMS has been replaced by a more robust built-in messaging mechanism. You can use SAP CPS registry settings or system properties, also known as JVM parameters, to set the InstanceId and messaging port. JVM parameters will have precedence over the registry keys. To set system properties, you replace the /configuration/boot/cluster with com.redwood.scheduler.boot.cluster for example: com.redwood.scheduler.boot.cluster...bindAddress will override /configuration/boot/cluster////bindAddress.

NoteThe system property com.redwood.scheduler.cluster.rwm.InstanceId is deprecated!

Out Parameters Set even when Job FailsPreviously, Out parameters were only set when the job reached status Completed; this has changed. All Out parameters that have been set by the job are now set regardless of the final status, as long as the final status is one of Completed, Unknown, Error, or Killed. This means that if the job had the time to set the Out parameter before it failed, the Out parameter will be set.

Importing Large CAR Files Can Cause OOME'sWhen you import large CAR files dependencies must be calculated and this can cause OutOfMemoryException's. SAP recommends you split large CAR files up into multiple smaller files.

Navigation Bars in Partitions other then GLOBALNavigation bars that were not stored in the GLOBAL partition could previously not be used properly, as a refresh or log off and successive log on would cause the default navigation bar to be loaded. This was because the registry key in which the current navigation bar was saved only specified the name of the navigation bar, not its partition; the navigation bar could thus not be found.

11

Release Notes

The registry key has been changed to require the business key, as in ., instead of just the name. You specify your preferred navigation bar in the Options menu.

Using Credentials with FTP Job Definition TypesWhen you use credentials, the connection is already established when the job definition source is evaluated. This means that you cannot specify a non-standard port in your job definition source while using credentials, in this case you need to specify the port in the Endpoint of the credential as follows: @: or [email protected]:2021.

Report job gives NPE if parameter OutputFormat is not availableReport jobs would reach status Error when the OutputFormat was not defined; this has been fixed, the OutputFormat job definition parameter is now optional.

Importing Multiple SAP Jobs with Identical NamesErrors can occur when you attempt to import multiple, different, SAP jobs with the same name during a single import. When, for example, you have two jobs in an SAP instance with the same name but a different number of steps, the import will fail. This is due to the fact that SAP CPS does not overwrite job definitions and is a known limitation. The workaround is to use the SAP job count to import the desired job definition, then rename it in SAP CPS and import the other with the other job count.

Jobs Stay in Status PreRunning or PostRunningWhen you make extensive use of actions, the thread pool for executing actions can be saturated, in which case a lot of jobs will remain in a pre-running or post-running status. You can configure the number of threads to be used to execute actions. A change requires a restart of the web application. SAP recommends to only change the number of threads when you are instructed to do so from SAP Customer Support Services. The number of threads is set to 20 by default, you may specify a value using the following registry key: /configuration/requestQueueSize/action

Runtime Expiration Calculations have been moved to separate threadsRuntime calculations have been moved to separate threads to increase the performance on systems where these are heavily used. You can specify the number of threads to allocate to these with the following registry key: /configuration/requestQueueSize/runtime

Importing SAP System ObjectsWhen you import SAP system objects, note that Monitor values cannot be imported. This means that the import will fail if the CAR archive references SAP Application Servers and these monitors do not exist. If you experience

12

Release Notes

this, expand the archive with jar or with a zip program (you might need to rename the CAR file to zip), open the SAP System XML file and remove any references to SAP Application Servers. Note that this also means that you cannot import load factors of an SAP system.

SAP CPS and other SAP SoftwareSpecial attention must be paid when you install Redwood Platform on a server where SAP software is installed. SAP CPS uses the librfc library to connect to SAP systems, which can also be found in SAP software like SAPGui. On some Windows systems with installed SAPGui, librfc has been found in %WINDIR%\System32, which prevents SAP CPS from loading JCo to connect to SAP systems. If you experience this, move the librfc out of the System32 directory and into another directory, like the bin directory of SAPGui.

FileInUseCommand Process Server Parameter Changed Default Value on UnixThe FileInUseCommand process server parameter now has the full path to the fuser file as the default value on Unices (except GNU/Linux), just like it was the case for Oracle Solaris. The new default value has become /usr/sbin/fuser ${Filename}, it was set to fuser ${Filename} on Unix, except for Oracle Solaris and GNU/Linux. This change was made to allow customers to remove /usr/sbin from the ${PATH} of the user. The default for GNU/Linux is lsof ${Filename}. Note that lsof is on the default user path, usually located in /usr/bin.

SAP Application Return CodesSAP application return codes will now be ignored by default with new installations. When you upgrade from M31 or earlier, a registry key will be created and set to true so as not to change the behavior of SAP CPS. IgnoreApplicationReturnCode Registry Key The registry can be set to true or false at the following locations: /configuration/sap/xbp/IgnoreApplicationReturnCode - all SAP systems are affected /configuration/sap/./xbp/IgnoreApplicationReturnCode - only the SAP instance for which this registry key is defined is affected

The settings are processed in this order, the first setting found has precedence: 1. 2. job definition parameter IGNORE_APPL_RC, only valid for all jobs of this job definition process server parameter SAP_IgnoreApplicationReturnCode, only valid for all jobs that run on the process server registry key /configuration/sap/./xbp/IgnoreApplicationReturnCode, only valid for the specified SAP system registry key /configuration/sap//xbp/IgnoreApplicationReturnCode, valid for all SAPR3 jobs across all SAP systems

3.

4.

13

Release Notes

Killing RedwoodScript JobsWhen you have short infinite loops, like {while (true){}} you will not be able to kill the RedwoodScript job. To stop this job you will have to restart SAP CPS. Note that this problem does not occur for {while (true){Thread.sleep(1);}}.

Upgrading from M28Active Monitoring ModuleWhen you upgrade from M28 and are using alert sources, make sure all alert sources have a Default Escalation or an Escalation Expression. The Default Escalation field has become mandatory when no Escalation Expression has been defined.

Pre-submit CountWhen you upgrade from M28 or lower, you will not have a value in the registry key /configuration/jcs/recurrence/DefaultPreSubmit. An operator message will be generated about this. Please set the registry key. The operator message will be: No recurrence presubmit count registry entry at /configuration/jcs/recurrence/DefaultPreSubmit

NoteWhen you use submit frames, the restart count is set to 1.

Impacts RecurrencesIn M28, when you edited a job which was part of a recurrence and the change the start time, the job is removed from the job group. In M33 and later, the job is also removed from the job group, but a new job is created to replace it. You should delete the newly created job that replaced your edited job. In the future, when you want to delay a job, use the delay action.

Job Chain Job RestartNew properties have been added to job chain jobs to automatically restart the job; a delay can be configured. Note that the restart behavior configured on job definition-level now also holds in job chains; this was not the case in releases prior to M33.6. This means that if a job definition has a restart behavior, such as Restart on Error, and you call this job definition from a job chain, if the job chain job reaches error, it will be restarted according to the rules defined on the job definition.

SQL Server DeadlocksTo prevent deadlocks on SQL Server, SAP highly recommends enabling row versioning-based isolation. You can enable this by turning the database parameter READ_COMMITTED_SNAPSHOT to on. Perform the following Transact-SQL statement to enable READ_COMMITTED_SNAPSHOT:

14

Release Notes

ALTER DATABASE SET READ_COMMITTED_SNAPSHOT ON;

NoteIn order to set READ_COMMITTED_SNAPSHOT ON or OFF, there must be no active connections to the database except for the connection executing the ALTER DATABASE statement.

J