SAP CCM_PROCESS_RESULTS Function Module for NOTRANSL: Ergebnis des Prozesses auswerten -> Logging + ObjRef
CCM_PROCESS_RESULTS is a standard ccm process results SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Ergebnis des Prozesses auswerten -> Logging + ObjRef 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 ccm process results FM, simply by entering the name CCM_PROCESS_RESULTS into the relevant SAP transaction such as SE37 or SE38.
Function Group: CCM2
Program Name: SAPLCCM2
Main Program: SAPLCCM2
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CCM_PROCESS_RESULTS 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 'CCM_PROCESS_RESULTS'"NOTRANSL: Ergebnis des Prozesses auswerten -> Logging + ObjRef.
EXPORTING
I_ASYNC = "General checkbox: X or ' '
I_CALLID = "Code of an Action Box transaction
I_PROCID = "Generic process class ID
I_PROCOBJ = "Structure of types OLE2_OBJECT
TABLES
T_CONTAINER = "Instance Structure
IMPORTING Parameters details for CCM_PROCESS_RESULTS
I_ASYNC - General checkbox: X or SPACE
Data type: EBAGEN-KENNZXOptional: No
Call by Reference: No ( called with pass by value option)
I_CALLID - Code of an Action Box transaction
Data type: EWFCAL-CALLIDOptional: No
Call by Reference: No ( called with pass by value option)
I_PROCID - Generic process class ID
Data type: EWFCAL-PROCIDOptional: No
Call by Reference: No ( called with pass by value option)
I_PROCOBJ - Structure of types OLE2_OBJECT
Data type: OBJ_RECORDOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CCM_PROCESS_RESULTS
T_CONTAINER - Instance Structure
Data type: SWCONTOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CCM_PROCESS_RESULTS 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_i_async | TYPE EBAGEN-KENNZX, " | |||
| lt_t_container | TYPE STANDARD TABLE OF SWCONT, " | |||
| lv_i_callid | TYPE EWFCAL-CALLID, " | |||
| lv_i_procid | TYPE EWFCAL-PROCID, " | |||
| lv_i_procobj | TYPE OBJ_RECORD. " |
|   CALL FUNCTION 'CCM_PROCESS_RESULTS' "NOTRANSL: Ergebnis des Prozesses auswerten -> Logging + ObjRef |
| EXPORTING | ||
| I_ASYNC | = lv_i_async | |
| I_CALLID | = lv_i_callid | |
| I_PROCID | = lv_i_procid | |
| I_PROCOBJ | = lv_i_procobj | |
| TABLES | ||
| T_CONTAINER | = lt_t_container | |
| . " CCM_PROCESS_RESULTS | ||
ABAP code using 7.40 inline data declarations to call FM CCM_PROCESS_RESULTS
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.| "SELECT single KENNZX FROM EBAGEN INTO @DATA(ld_i_async). | ||||
| "SELECT single CALLID FROM EWFCAL INTO @DATA(ld_i_callid). | ||||
| "SELECT single PROCID FROM EWFCAL INTO @DATA(ld_i_procid). | ||||
Search for further information about these or an SAP related objects