Child pages
  • Function Module RSPC_API_CHAIN_START - Start Process Chain
Skip to end of metadata
Go to start of metadata

Purpose

 The purpose of this page is to clarify the understanding of the function module RSPC_API_CHAIN_START
 

Overview

RSPC_API_CHAIN_START is used to trigger a process chain immediately regardless of the chains scheduling settings.

How to use it?

Call Transaction Code – SE37 with function module RSPC_API_CHAIN_START.

Import Parameters

  • I_CHAIN - Process Chain ID - Mandatory
  • I_T_VARIABLES – Not Applicable/Not Mandatory
  • I_SYNCHRONOUS - Not Applicable/Not Mandatory
  • I_SIMULATE - Not Applicable/Not Mandatory
  • I_NOPLAN - Not Applicable/Not Mandatory
  • I_DONT_WAIT - Not Applicable/Not Mandatory
  • I_POLL - Not Applicable/Not Mandatory

Export Parameters

  • E_LOGID - Log-ID of a Process Chain Run

Exception

  • FAILED - Errors occurred

Function Group

  • RSPC_API

Related Content

http://help.sap.com/saphelp_snc700_ehp02/helpdata/en/01/15843b74f7be0fe10000000a114084/frameset.htm

Related SAP Notes/KBAs

1723482  Parallel runs of the process chain may cause endless loops
1413364  RSPC_API_CHAIN_START dumps SAPSQL_ARRAY_INSERT_DUPREC.
1572593  BIW-230306: Error while calling BAPI <RSPC_API_CHAIN_START> for Process Chain
1458168  Polling during synchronous execution via API
1096790  7.1 SP 04: Performance of subsequent process chain
 715272  Maintaining trigger process w/ regards to transport

 

  • No labels

1 Comment

  1. Former Member

    Include this FM in a report or transaction like this and see the protocol direct after start:

    *& Report  ZBW_RSPC_Start
    *&Start of process chain with display of protocol
    *&---------------------------------------------------------------------*
    include rstc_call_process_via_rri_top           .    " global Data
    include rstc_call_process_via_rri_cf01.

    data:
      lv_logid type rspc_logid.

    data:  lv_varint  type rspc_variant,
           lv_display type rs_bool value rs_c_true,
           lv_control type rspc_controlmode value 'NET',
           lv_mode    type rspc_frontendmode value 'LOG'.

    datarspar type table of rsparams.

    parameters:
      pa_chain type rspc_chain,
      pa_str   type rs_bool default rs_c_true,
      pa_log   type rs_bool default rs_c_true.

    start-of-selection.

    *Starten der Kette
      if pa_str rs_c_true.
        call function 'RSPC_CHAIN_START'
          exporting
            i_chain       pa_chain
    *       I_T_VARIABLES =
    *       I_SYNCHRONOUS =
    *       I_SIMULATE    =
    *       I_NOPLAN      =
    *       i_dont_wait   =
    *       I_POLL        =
          importing
            e_logid       lv_logid.

      endif.

    *Protokoll-Anzeige
      if pa_log rs_c_true.
        perform call_process_chain
                  using pa_chain
    *                  p_logid
                        lv_varint
                        lv_mode
                        lv_control
                        lv_display.
      endif.