Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

rspc_api_chain_start synchronous flag not working?

How to programatically run a process chain synchronously:

To dynamically control some processes, I have a master process chain consisting of 2 "Execute ABAP Programs" in series. Both steps are configured to run a custom program Synchronously. The program looks up a flag in a config table and if set, calls "RSPC_API_CHAIN_START" with i_synchronous = 'X'. However, the call immediately returns (before the subsequent chain has finished running) and the next step runs. This results in both sub-chains running in parallel, and object locks occur.

Is there something broken with RSPC_API_CHAIN_START?

Or do I need to configure something else/extra in the sub-chain to ensure it blocks the RSPC_API_CHAIN_START from returning prematurely?

Version info:

ComponentReleaseSP-Level
SAP_BASIS74013
SAP_ABA74013
SAP_UI74015
SAP_BW74013
Tags:
Not what you were looking for? View more on this topic or Ask a question