SAP POC_QUERY_PROCESS_REGISTRY Function Module for Query Process Registry for Federation
POC_QUERY_PROCESS_REGISTRY is a standard poc query process registry SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Query Process Registry for Federation processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for poc query process registry FM, simply by entering the name POC_QUERY_PROCESS_REGISTRY into the relevant SAP transaction such as SE37 or SE38.
Function Group: POC_FEDERATION
Program Name: SAPLPOC_FEDERATION
Main Program: SAPLPOC_FEDERATION
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function POC_QUERY_PROCESS_REGISTRY pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'POC_QUERY_PROCESS_REGISTRY'"Query Process Registry for Federation.
EXPORTING
IV_LOGSYS = "Logical system
IV_PROCESS_TYPE_ID = "Process Definition ID
IV_PROCESS_VERSION = "Process Version
* IV_E2E_PROCESS_DEF_ID = "End-To-End Process Definiton ID
* IV_MAX_CALLING_LEVEL = "Maximum Calling Level
IMPORTING
ET_RELATED_PROCESS = "Related Process Details
IMPORTING Parameters details for POC_QUERY_PROCESS_REGISTRY
IV_LOGSYS - Logical system
Data type: POC_LOGSYSOptional: No
Call by Reference: No ( called with pass by value option)
IV_PROCESS_TYPE_ID - Process Definition ID
Data type: POC_PROCESS_TYPE_IDOptional: No
Call by Reference: No ( called with pass by value option)
IV_PROCESS_VERSION - Process Version
Data type: POC_PROCESS_VERSIONOptional: No
Call by Reference: No ( called with pass by value option)
IV_E2E_PROCESS_DEF_ID - End-To-End Process Definiton ID
Data type: POC_E2E_PROC_DEF_IDOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_MAX_CALLING_LEVEL - Maximum Calling Level
Data type: POC_CALLING_LEVELOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for POC_QUERY_PROCESS_REGISTRY
ET_RELATED_PROCESS - Related Process Details
Data type: POC_T_RELATED_PROCESS_DETAILSOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for POC_QUERY_PROCESS_REGISTRY Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_iv_logsys | TYPE POC_LOGSYS, " | |||
| lv_et_related_process | TYPE POC_T_RELATED_PROCESS_DETAILS, " | |||
| lv_iv_process_type_id | TYPE POC_PROCESS_TYPE_ID, " | |||
| lv_iv_process_version | TYPE POC_PROCESS_VERSION, " | |||
| lv_iv_e2e_process_def_id | TYPE POC_E2E_PROC_DEF_ID, " | |||
| lv_iv_max_calling_level | TYPE POC_CALLING_LEVEL. " |
|   CALL FUNCTION 'POC_QUERY_PROCESS_REGISTRY' "Query Process Registry for Federation |
| EXPORTING | ||
| IV_LOGSYS | = lv_iv_logsys | |
| IV_PROCESS_TYPE_ID | = lv_iv_process_type_id | |
| IV_PROCESS_VERSION | = lv_iv_process_version | |
| IV_E2E_PROCESS_DEF_ID | = lv_iv_e2e_process_def_id | |
| IV_MAX_CALLING_LEVEL | = lv_iv_max_calling_level | |
| IMPORTING | ||
| ET_RELATED_PROCESS | = lv_et_related_process | |
| . " POC_QUERY_PROCESS_REGISTRY | ||
ABAP code using 7.40 inline data declarations to call FM POC_QUERY_PROCESS_REGISTRY
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.Search for further information about these or an SAP related objects