SAP CV117_PROCESS_SHOW_LIST Function Module for NOTRANSL: DVS: Mögliche Prozesse anzeigen & ausführen









CV117_PROCESS_SHOW_LIST is a standard cv117 process show list 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: DVS: Mögliche Prozesse anzeigen & ausführen 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 cv117 process show list FM, simply by entering the name CV117_PROCESS_SHOW_LIST into the relevant SAP transaction such as SE37 or SE38.

Function Group: CV117
Program Name: SAPLCV117
Main Program: SAPLCV117
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function CV117_PROCESS_SHOW_LIST 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 'CV117_PROCESS_SHOW_LIST'"NOTRANSL: DVS: Mögliche Prozesse anzeigen & ausführen
EXPORTING
* PF_EXECUTE = 'X' "Generic Type
* PF_LIST_PROTOCOL = "Display Log
* PF_CALLED_FROM = "Process Category
* PF_PROC_TYPE = '*' "Process Category
* PF_USER = SY-UNAME "Logon Name of User
* PF_PROFILE = "Profile key for processing of original files

IMPORTING
PSX_PROCESS = "DMS Processes

TABLES
* PT_DRAW = "Document Info Record
* PTX_PROTOCOL = "Log

EXCEPTIONS
ERROR = 1
.



IMPORTING Parameters details for CV117_PROCESS_SHOW_LIST

PF_EXECUTE - Generic Type

Data type: C
Default: 'X'
Optional: Yes
Call by Reference: Yes

PF_LIST_PROTOCOL - Display Log

Data type: C
Optional: Yes
Call by Reference: Yes

PF_CALLED_FROM - Process Category

Data type: DMS_PROC01-PROC_TYPE
Optional: Yes
Call by Reference: Yes

PF_PROC_TYPE - Process Category

Data type: DMS_PROC01-PROC_TYPE
Default: '*'
Optional: Yes
Call by Reference: Yes

PF_USER - Logon Name of User

Data type: SY-UNAME
Default: SY-UNAME
Optional: Yes
Call by Reference: Yes

PF_PROFILE - Profile key for processing of original files

Data type: DMS_PROF01-PROFILE_NAME
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for CV117_PROCESS_SHOW_LIST

PSX_PROCESS - DMS Processes

Data type: DMS_REC_PROC
Optional: No
Call by Reference: Yes

TABLES Parameters details for CV117_PROCESS_SHOW_LIST

PT_DRAW - Document Info Record

Data type: DRAW
Optional: Yes
Call by Reference: Yes

PTX_PROTOCOL - Log

Data type:
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

ERROR - Error

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for CV117_PROCESS_SHOW_LIST 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_error  TYPE STRING, "   
lt_pt_draw  TYPE STANDARD TABLE OF DRAW, "   
lv_pf_execute  TYPE C, "   'X'
lv_psx_process  TYPE DMS_REC_PROC, "   
lt_ptx_protocol  TYPE STANDARD TABLE OF DMS_REC_PROC, "   
lv_pf_list_protocol  TYPE C, "   
lv_pf_called_from  TYPE DMS_PROC01-PROC_TYPE, "   
lv_pf_proc_type  TYPE DMS_PROC01-PROC_TYPE, "   '*'
lv_pf_user  TYPE SY-UNAME, "   SY-UNAME
lv_pf_profile  TYPE DMS_PROF01-PROFILE_NAME. "   

  CALL FUNCTION 'CV117_PROCESS_SHOW_LIST'  "NOTRANSL: DVS: Mögliche Prozesse anzeigen & ausführen
    EXPORTING
         PF_EXECUTE = lv_pf_execute
         PF_LIST_PROTOCOL = lv_pf_list_protocol
         PF_CALLED_FROM = lv_pf_called_from
         PF_PROC_TYPE = lv_pf_proc_type
         PF_USER = lv_pf_user
         PF_PROFILE = lv_pf_profile
    IMPORTING
         PSX_PROCESS = lv_psx_process
    TABLES
         PT_DRAW = lt_pt_draw
         PTX_PROTOCOL = lt_ptx_protocol
    EXCEPTIONS
        ERROR = 1
. " CV117_PROCESS_SHOW_LIST




ABAP code using 7.40 inline data declarations to call FM CV117_PROCESS_SHOW_LIST

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.

 
 
DATA(ld_pf_execute) = 'X'.
 
 
 
 
"SELECT single PROC_TYPE FROM DMS_PROC01 INTO @DATA(ld_pf_called_from).
 
"SELECT single PROC_TYPE FROM DMS_PROC01 INTO @DATA(ld_pf_proc_type).
DATA(ld_pf_proc_type) = '*'.
 
"SELECT single UNAME FROM SY INTO @DATA(ld_pf_user).
DATA(ld_pf_user) = SY-UNAME.
 
"SELECT single PROFILE_NAME FROM DMS_PROF01 INTO @DATA(ld_pf_profile).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!