Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3280

rspc_api_chain_start synchronous flag not working?

$
0
0

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

Viewing all articles
Browse latest Browse all 3280

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>