SAP CVV1_SELECT_COM_ADDRESS Function Module for NOTRANSL: DDS: Kommunikationsadresse auswählen









CVV1_SELECT_COM_ADDRESS is a standard cvv1 select com address 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: DDS: Kommunikationsadresse auswählen 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 cvv1 select com address FM, simply by entering the name CVV1_SELECT_COM_ADDRESS into the relevant SAP transaction such as SE37 or SE38.

Function Group: CVV1
Program Name: SAPLCVV1
Main Program: SAPLCVV1
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function CVV1_SELECT_COM_ADDRESS 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 'CVV1_SELECT_COM_ADDRESS'"NOTRANSL: DDS: Kommunikationsadresse auswählen
EXPORTING
ADDRNUMBER = "
PERSNUMBER = "
ADDR_TYPE = "
COM_TYPE = "
* ACT_SEQNO = "
* DIALOG_MODE = 'SELECT' "

IMPORTING
SEL_SEQNO = "
SELECTED = "
.




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_SAPLCVV1_001 DDS: User-Exit - Save recipient list
EXIT_SAPLCVV1_002 DDS: User-Exit - Modify initial values for screen 100
EXIT_SAPLCVV1_003 DDS: User-Exit - Determine original
EXIT_SAPLCVV1_004 DDS: User-Exit - Determine document part and version of a document
EXIT_SAPLCVV1_005 DDS: User-Exit - Determine workstation application

IMPORTING Parameters details for CVV1_SELECT_COM_ADDRESS

ADDRNUMBER -

Data type: ADRC-ADDRNUMBER
Optional: No
Call by Reference: No ( called with pass by value option)

PERSNUMBER -

Data type: ADRP-PERSNUMBER
Optional: No
Call by Reference: No ( called with pass by value option)

ADDR_TYPE -

Data type: SZAD_FIELD-ADDR_TYPE
Optional: No
Call by Reference: No ( called with pass by value option)

COM_TYPE -

Data type: DRZA-COM_TYPE
Optional: No
Call by Reference: No ( called with pass by value option)

ACT_SEQNO -

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

DIALOG_MODE -

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

EXPORTING Parameters details for CVV1_SELECT_COM_ADDRESS

SEL_SEQNO -

Data type: DRZA-SEQNO
Optional: No
Call by Reference: No ( called with pass by value option)

SELECTED -

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

Copy and paste ABAP code example for CVV1_SELECT_COM_ADDRESS 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_sel_seqno  TYPE DRZA-SEQNO, "   
lv_addrnumber  TYPE ADRC-ADDRNUMBER, "   
lv_selected  TYPE C, "   
lv_persnumber  TYPE ADRP-PERSNUMBER, "   
lv_addr_type  TYPE SZAD_FIELD-ADDR_TYPE, "   
lv_com_type  TYPE DRZA-COM_TYPE, "   
lv_act_seqno  TYPE DRZA-SEQNO, "   
lv_dialog_mode  TYPE DRZA. "   'SELECT'

  CALL FUNCTION 'CVV1_SELECT_COM_ADDRESS'  "NOTRANSL: DDS: Kommunikationsadresse auswählen
    EXPORTING
         ADDRNUMBER = lv_addrnumber
         PERSNUMBER = lv_persnumber
         ADDR_TYPE = lv_addr_type
         COM_TYPE = lv_com_type
         ACT_SEQNO = lv_act_seqno
         DIALOG_MODE = lv_dialog_mode
    IMPORTING
         SEL_SEQNO = lv_sel_seqno
         SELECTED = lv_selected
. " CVV1_SELECT_COM_ADDRESS




ABAP code using 7.40 inline data declarations to call FM CVV1_SELECT_COM_ADDRESS

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 SEQNO FROM DRZA INTO @DATA(ld_sel_seqno).
 
"SELECT single ADDRNUMBER FROM ADRC INTO @DATA(ld_addrnumber).
 
 
"SELECT single PERSNUMBER FROM ADRP INTO @DATA(ld_persnumber).
 
"SELECT single ADDR_TYPE FROM SZAD_FIELD INTO @DATA(ld_addr_type).
 
"SELECT single COM_TYPE FROM DRZA INTO @DATA(ld_com_type).
 
"SELECT single SEQNO FROM DRZA INTO @DATA(ld_act_seqno).
 
DATA(ld_dialog_mode) = 'SELECT'.
 


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!