SAP CV110_SET_DATA Function Module for NOTRANSL: DVS: Daten an Screen 101 übergeben









CV110_SET_DATA is a standard cv110 set data 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: Daten an Screen 101 übergeben 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 cv110 set data FM, simply by entering the name CV110_SET_DATA into the relevant SAP transaction such as SE37 or SE38.

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



Function CV110_SET_DATA 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 'CV110_SET_DATA'"NOTRANSL: DVS: Daten an Screen 101 übergeben
EXPORTING
* PF_TRANSACTION = ' ' "Transaction Code
* PS_API_CONTROL = "Checkbox
* PF_CAD_CALLED = ' ' "Screens, display user entry
* PS_DRAW = "
* PS_DRAW_OLD = "
* PS_AUDITS = "

TABLES
* PT_DRAT = "
* PT_FILES = "
* PT_DRAZ = "Additional Files
* PT_DRAD = "
* PT_DRAP = "Document Log File
* PT_DRAT_OLD = "
* PT_DRAD_OLD = "
* PT_DRAO = "
* PT_DRAOZ = "
* PT_TOAV0 = "
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLCV110_001 Does the customer include exist?
EXIT_SAPLCV110_002 Transfer data to the customer enhancement
EXIT_SAPLCV110_003 Transfer data from the customer enhancement
EXIT_SAPLCV110_004 Transfer/assign values OK-CODE to the customer enhancement

IMPORTING Parameters details for CV110_SET_DATA

PF_TRANSACTION - Transaction Code

Data type: SY-TCODE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

PS_API_CONTROL - Checkbox

Data type: CVAPI_API_CONTROL
Optional: Yes
Call by Reference: No ( called with pass by value option)

PF_CAD_CALLED - Screens, display user entry

Data type: C
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

PS_DRAW -

Data type: DRAW
Optional: Yes
Call by Reference: No ( called with pass by value option)

PS_DRAW_OLD -

Data type: DRAW
Optional: Yes
Call by Reference: No ( called with pass by value option)

PS_AUDITS -

Data type: DMS_AUDITS
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for CV110_SET_DATA

PT_DRAT -

Data type: DRAT
Optional: Yes
Call by Reference: No ( called with pass by value option)

PT_FILES -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

PT_DRAZ - Additional Files

Data type: DRAZ
Optional: Yes
Call by Reference: No ( called with pass by value option)

PT_DRAD -

Data type: DRAD
Optional: Yes
Call by Reference: No ( called with pass by value option)

PT_DRAP - Document Log File

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

PT_DRAT_OLD -

Data type: DRAT
Optional: Yes
Call by Reference: No ( called with pass by value option)

PT_DRAD_OLD -

Data type: DRAD
Optional: Yes
Call by Reference: No ( called with pass by value option)

PT_DRAO -

Data type: DRAO
Optional: Yes
Call by Reference: No ( called with pass by value option)

PT_DRAOZ -

Data type: DRAOZ
Optional: Yes
Call by Reference: No ( called with pass by value option)

PT_TOAV0 -

Data type: TOAV0
Optional: Yes
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for CV110_SET_DATA 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:
lt_pt_drat  TYPE STANDARD TABLE OF DRAT, "   
lv_pf_transaction  TYPE SY-TCODE, "   SPACE
lt_pt_files  TYPE STANDARD TABLE OF SY, "   
lt_pt_draz  TYPE STANDARD TABLE OF DRAZ, "   
lv_ps_api_control  TYPE CVAPI_API_CONTROL, "   
lt_pt_drad  TYPE STANDARD TABLE OF DRAD, "   
lv_pf_cad_called  TYPE C, "   SPACE
lv_ps_draw  TYPE DRAW, "   
lt_pt_drap  TYPE STANDARD TABLE OF DRAP, "   
lv_ps_draw_old  TYPE DRAW, "   
lt_pt_drat_old  TYPE STANDARD TABLE OF DRAT, "   
lv_ps_audits  TYPE DMS_AUDITS, "   
lt_pt_drad_old  TYPE STANDARD TABLE OF DRAD, "   
lt_pt_drao  TYPE STANDARD TABLE OF DRAO, "   
lt_pt_draoz  TYPE STANDARD TABLE OF DRAOZ, "   
lt_pt_toav0  TYPE STANDARD TABLE OF TOAV0. "   

  CALL FUNCTION 'CV110_SET_DATA'  "NOTRANSL: DVS: Daten an Screen 101 übergeben
    EXPORTING
         PF_TRANSACTION = lv_pf_transaction
         PS_API_CONTROL = lv_ps_api_control
         PF_CAD_CALLED = lv_pf_cad_called
         PS_DRAW = lv_ps_draw
         PS_DRAW_OLD = lv_ps_draw_old
         PS_AUDITS = lv_ps_audits
    TABLES
         PT_DRAT = lt_pt_drat
         PT_FILES = lt_pt_files
         PT_DRAZ = lt_pt_draz
         PT_DRAD = lt_pt_drad
         PT_DRAP = lt_pt_drap
         PT_DRAT_OLD = lt_pt_drat_old
         PT_DRAD_OLD = lt_pt_drad_old
         PT_DRAO = lt_pt_drao
         PT_DRAOZ = lt_pt_draoz
         PT_TOAV0 = lt_pt_toav0
. " CV110_SET_DATA




ABAP code using 7.40 inline data declarations to call FM CV110_SET_DATA

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 TCODE FROM SY INTO @DATA(ld_pf_transaction).
DATA(ld_pf_transaction) = ' '.
 
 
 
 
 
DATA(ld_pf_cad_called) = ' '.
 
 
 
 
 
 
 
 
 
 


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!