RSPC_API_GET_CHAINS is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name RSPC_API_GET_CHAINS into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
RSPC_API
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'RSPC_API_GET_CHAINS' "Process chains in the system
* EXPORTING
* i_with_dialog = " rs_bool With online
* i_sel_chain = " rspc_chain Process chain (with Wildcards)
* i_sel_txtlg = " rstxtlg Description long (with Wildcards)
* TABLES
* e_t_chains = " rspcchaint Texts for Chain
EXCEPTIONS
FAILED = 1 " Error
. " RSPC_API_GET_CHAINS
The ABAP code below is a full code listing to execute function module RSPC_API_GET_CHAINS including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| it_e_t_chains | TYPE STANDARD TABLE OF RSPCCHAINT,"TABLES PARAM |
| wa_e_t_chains | LIKE LINE OF it_e_t_chains . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_i_with_dialog | TYPE RS_BOOL , |
| it_e_t_chains | TYPE STANDARD TABLE OF RSPCCHAINT , |
| wa_e_t_chains | LIKE LINE OF it_e_t_chains, |
| ld_i_sel_chain | TYPE RSPC_CHAIN , |
| ld_i_sel_txtlg | TYPE RSTXTLG . |
With this module you are able to obtain a list of the process chains in
the system. A dialogue is processed if requested. You are able to
...See here for full SAP fm documentation
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name RSPC_API_GET_CHAINS or its description.
RSPC_API_GET_CHAINS - Process chains in the system RSPC_API_CHAIN_START - Start Process Chain RSPC_API_CHAIN_SET_STARTCOND - Change the start condition of a process chain RSPC_API_CHAIN_SCHEDULE - Schedule process chain RSPC_API_CHAIN_RESTART - Process chain again start RSPC_API_CHAIN_MAINTAIN - Process Chain Maintenance