SAP transaction RSPC (Process Chain Maintenance) troubleshooting

All QuestionsCategory: TutorialsSAP transaction RSPC (Process Chain Maintenance) troubleshooting
Profile photo of SAP guruSAP guru Staff asked 1 year ago

A process chain is a sequence of processes that are scheduled to wait in the background for an event. Some of these processes trigger a separate event that can, in turn, start other processes.

SAP transaction RSPC (Process Chain Maintenance) is classified in the Business Warehouse module under application component Data Staging and runs Process Chains program RSPC_MAINTAIN upon execution

Initial it was used only for BW process, but it also can be used in SCM(SAP APO) system.

The main difference between regular job scheduler(SM37) is that you can create a chain with parallel processes and even if some of them ended with errors the chain will continue.

Check video

You can find more on RSPC how to customize and use it in your current implementation in SAP Help Portal

Keep in mind that most actual Sap Note and solutions you can find here.

Here you can find a list of Sap Notes on some known troubleshooting:

Sap Note

Symptom

Solution

Note 686245 – Correction: Termination RSPC 002 even if chain successful

The process overview contains process chain jobs (BI_PROCESS*) that are terminated with error RSPC 002.

Reason and Prerequisites

This problem is caused by a program error.

The jobs cannot be assigned to any run of a process chain; chains that have already run do not have this error.

Import Support Package 12 for 3.1 Content (BW 3.10 Patch 12 or SAPKW31012) into your BW system. This Support Package is available when  note 601038 with the short text “SAPBWNews BW 3.1 Content Support Package 12” is released for customers.

For more information on BW Support Packages, see note 110934.

See more on Sap Note Portal.

Note 684330 – Correction: RSPC 003 with start of processes

Processes in process chains terminate with error RSPC 003: “Job &1 waiting on event &2 &3 has no predecessor”.

Reason and Prerequisites

This problem is caused by a program error.

Behind a process, there are processes of a different type but of the same variant. The job count is different.

Solution same as for Sap Note 686245

Note 608772 – Correction: Error RSPC 027 with start API

If terminated runs exist for process chains (entries in table RSPC_BUFFER), error RSPC027 “No logs found” occurs when you restart the chain using module RSPC_API_CHAIN_START.

Reason and Prerequisites

This problem is caused by a program error. Note 560295 is a prerequisite.

Solution same as for Sap Note 686245

Note 666099 – Correction: Very little information about CCMS errors

Error message RSPC062 does not have any message variables that you could use to determine which errors occurred in the CCMS.

Other terms

RSPC, 062, 62

Reason and Prerequisites

This is caused by a program error.

Import Support Package 11 for the 3.1 Content (BW3.10 Patch 11 or SAPKW31011) into your BW system. The Support Package will be available when note 571747 with the short text “SAPBWNews BW 3.1 Content Support Package 11” is released for customers.

Refer to note 110934, which contains further information on BW Support Packages.

See more on Sap Note Portal.

Note 639956 – Correction: Endless loop during a start using API

Symptom

When you use the RSPC_API_CHAIN_START module to start a process chain, the starting process hangs in an endless loop and the started trigger batch process terminates with error message RSPC 002 where the named event is ‘ ‘ (blank).

Reason and Prerequisites

This is caused by a program error.

The start process is set to “immediate start” AND the chain was never activated, that is, there is no active version of the chain.

Solution same as for Sap Note 666099

Note 615873 – Consistency checks in proc. chains – BW 3.0B/3.10 (SP 13/07)

You can use the consistency checks entered in transaction RSRV to check whether or not your data is correct. There was a desire to be able to execute the test packages created there within a process chain.

Other terms

RSRV, RSPC, check, test, process chain, test package, consistency

Reason and Prerequisites

The technical prerequisites for executing test packages within the process chains are provided as of Support Package 13 for 3.0B or Support Package 7 for 3.1 Content.

 Import Support Package 7 for 3.1 Content (BW3. 10 Patch 07 or SAPKW31007) into your BW system. The Support Package will be available once note 539829 with the short text “SAPBWNews BW 3.1 Content Support Package 07” is released for customers. 

Refer to note 110934, which contains more information about BW Support Packages.

See more on Sap Note Portal.

1 Answers
Profile photo of TomTomTomTom answered 1 year ago

Find this How To Use The Load Schedule Map tutorial really helpful:

The solution is intended to help SAP BI Developers / Support team etc to easily find out information regarding process chain executions, schedules, optimal time slot for a new chain etc. It can also be used for various performance optimization activities related to data load performance and process chain execution times.Technically speaking it’s built upon the BI Admin cockpit delivered by SAP. It’s a highly customized BEx query designed specifically for analysis of different process chain loads happening in the system.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0a44197-e22d-2d10-1190-d9ba15118d28?QuickLink=index&overridelayout=true

Profile photo of TomTomTomTom replied 1 year ago

http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/13787 – described as a good run through the chain of events

http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/9688 – execution OS command in the chain

If the chain hanging from yellow status (and does not start a new chain), even though the work chains over … (download was successful or not – does not matter), it is possible to change the status of the yellow on the right (green \ red) through the table RSPCPROCESSLOG.

In the LOG_ID enter the log ID, which can be taken from the transaction log RSPC, and for records with an empty value in ACTUAL_STATE field, change the value on G or R.

After that RSPC log will reflect the status of the green.

To find the call chain from other chains, you can use RSPCCHAIN ​​table. The field TYPE = CHAIN, CHAIN_ID – ancestor, VARIANTE – descendant.