SAP CNV_CDMC_CC_REPOSITORY_INFOF4 Function Module for F4 for Repository Objects









CNV_CDMC_CC_REPOSITORY_INFOF4 is a standard cnv cdmc cc repository infof4 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for F4 for Repository Objects 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 cnv cdmc cc repository infof4 FM, simply by entering the name CNV_CDMC_CC_REPOSITORY_INFOF4 into the relevant SAP transaction such as SE37 or SE38.

Function Group: CNV_CDMC_CC_FUNCTIONS
Program Name: SAPLCNV_CDMC_CC_FUNCTIONS
Main Program: SAPLCNV_CDMC_CC_FUNCTIONS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function CNV_CDMC_CC_REPOSITORY_INFOF4 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 'CNV_CDMC_CC_REPOSITORY_INFOF4'"F4 for Repository Objects
EXPORTING
IV_OBJECT_TYPE = "Object type
* IV_WITHOUT_PERSONAL_LIST = ' ' "Internal
* IV_OBJECT_NAME = "ABAP/4 Development Workbench: LIMU name
* IV_ENCLOSING_OBJECT = "ABAP program, current main program
* IV_SUPPRESS_SELECTION = 'X' "Internal
* IV_VARIANT = ' ' "Variant name
* IV_LIST_VARIANT = ' ' "Variant name
* IV_DISPLAY_FIELD = "Internal
* IV_MULTIPLE_SELECTION = "Internal
* IV_SELECT_ALL_FIELDS = ' ' "Internal

IMPORTING
EV_OBJECT_NAME_SELECTED = "ABAP/4 Development Workbench: LIMU name
EV_ENCLOSING_OBJECT_SELECTED = "ABAP program, current main program
EV_STRUCINF = "Table name

TABLES
* IT_OBJECTS_SELECTED = "Structure for copying sets in F4 help
* IT_RECORD_TAB = "Search help result structure

EXCEPTIONS
CANCEL = 1 WRONG_TYPE = 2 INVALID_USER_TYPE = 3
.



IMPORTING Parameters details for CNV_CDMC_CC_REPOSITORY_INFOF4

IV_OBJECT_TYPE - Object type

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

IV_WITHOUT_PERSONAL_LIST - Internal

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

IV_OBJECT_NAME - ABAP/4 Development Workbench: LIMU name

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

IV_ENCLOSING_OBJECT - ABAP program, current main program

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

IV_SUPPRESS_SELECTION - Internal

Data type: SY-INPUT
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_VARIANT - Variant name

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

IV_LIST_VARIANT - Variant name

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

IV_DISPLAY_FIELD - Internal

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

IV_MULTIPLE_SELECTION - Internal

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

IV_SELECT_ALL_FIELDS - Internal

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

EXPORTING Parameters details for CNV_CDMC_CC_REPOSITORY_INFOF4

EV_OBJECT_NAME_SELECTED - ABAP/4 Development Workbench: LIMU name

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

EV_ENCLOSING_OBJECT_SELECTED - ABAP program, current main program

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

EV_STRUCINF - Table name

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

TABLES Parameters details for CNV_CDMC_CC_REPOSITORY_INFOF4

IT_OBJECTS_SELECTED - Structure for copying sets in F4 help

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

IT_RECORD_TAB - Search help result structure

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

EXCEPTIONS details

CANCEL - F12 executed

Data type:
Optional: No
Call by Reference: Yes

WRONG_TYPE - Type for INFO_OBJECT not implemented

Data type:
Optional: No
Call by Reference: Yes

INVALID_USER_TYPE - Not a Dialog user

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for CNV_CDMC_CC_REPOSITORY_INFOF4 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_cancel  TYPE STRING, "   
lv_iv_object_type  TYPE EUOBJ-ID, "   
lt_it_objects_selected  TYPE STANDARD TABLE OF RSEUI_F4, "   
lv_ev_object_name_selected  TYPE RSEUAP-OBJ_NAME, "   
lv_iv_without_personal_list  TYPE SY-INPUT, "   ' '
lv_wrong_type  TYPE SY, "   
lt_it_record_tab  TYPE STANDARD TABLE OF SEAHLPRES, "   
lv_iv_object_name  TYPE RSEUAP-OBJ_NAME, "   
lv_ev_enclosing_object_selected  TYPE RSEUAP-ENCL_OBJ, "   
lv_ev_strucinf  TYPE DD02L-TABNAME, "   
lv_invalid_user_type  TYPE DD02L, "   
lv_iv_enclosing_object  TYPE RSEUAP-ENCL_OBJ, "   
lv_iv_suppress_selection  TYPE SY-INPUT, "   'X'
lv_iv_variant  TYPE RSVAR-VARIANT, "   ' '
lv_iv_list_variant  TYPE RSVAR-VARIANT, "   ' '
lv_iv_display_field  TYPE SY-INPUT, "   
lv_iv_multiple_selection  TYPE SY-INPUT, "   
lv_iv_select_all_fields  TYPE SY-INPUT. "   ' '

  CALL FUNCTION 'CNV_CDMC_CC_REPOSITORY_INFOF4'  "F4 for Repository Objects
    EXPORTING
         IV_OBJECT_TYPE = lv_iv_object_type
         IV_WITHOUT_PERSONAL_LIST = lv_iv_without_personal_list
         IV_OBJECT_NAME = lv_iv_object_name
         IV_ENCLOSING_OBJECT = lv_iv_enclosing_object
         IV_SUPPRESS_SELECTION = lv_iv_suppress_selection
         IV_VARIANT = lv_iv_variant
         IV_LIST_VARIANT = lv_iv_list_variant
         IV_DISPLAY_FIELD = lv_iv_display_field
         IV_MULTIPLE_SELECTION = lv_iv_multiple_selection
         IV_SELECT_ALL_FIELDS = lv_iv_select_all_fields
    IMPORTING
         EV_OBJECT_NAME_SELECTED = lv_ev_object_name_selected
         EV_ENCLOSING_OBJECT_SELECTED = lv_ev_enclosing_object_selected
         EV_STRUCINF = lv_ev_strucinf
    TABLES
         IT_OBJECTS_SELECTED = lt_it_objects_selected
         IT_RECORD_TAB = lt_it_record_tab
    EXCEPTIONS
        CANCEL = 1
        WRONG_TYPE = 2
        INVALID_USER_TYPE = 3
. " CNV_CDMC_CC_REPOSITORY_INFOF4




ABAP code using 7.40 inline data declarations to call FM CNV_CDMC_CC_REPOSITORY_INFOF4

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 ID FROM EUOBJ INTO @DATA(ld_iv_object_type).
 
 
"SELECT single OBJ_NAME FROM RSEUAP INTO @DATA(ld_ev_object_name_selected).
 
"SELECT single INPUT FROM SY INTO @DATA(ld_iv_without_personal_list).
DATA(ld_iv_without_personal_list) = ' '.
 
 
 
"SELECT single OBJ_NAME FROM RSEUAP INTO @DATA(ld_iv_object_name).
 
"SELECT single ENCL_OBJ FROM RSEUAP INTO @DATA(ld_ev_enclosing_object_selected).
 
"SELECT single TABNAME FROM DD02L INTO @DATA(ld_ev_strucinf).
 
 
"SELECT single ENCL_OBJ FROM RSEUAP INTO @DATA(ld_iv_enclosing_object).
 
"SELECT single INPUT FROM SY INTO @DATA(ld_iv_suppress_selection).
DATA(ld_iv_suppress_selection) = 'X'.
 
"SELECT single VARIANT FROM RSVAR INTO @DATA(ld_iv_variant).
DATA(ld_iv_variant) = ' '.
 
"SELECT single VARIANT FROM RSVAR INTO @DATA(ld_iv_list_variant).
DATA(ld_iv_list_variant) = ' '.
 
"SELECT single INPUT FROM SY INTO @DATA(ld_iv_display_field).
 
"SELECT single INPUT FROM SY INTO @DATA(ld_iv_multiple_selection).
 
"SELECT single INPUT FROM SY INTO @DATA(ld_iv_select_all_fields).
DATA(ld_iv_select_all_fields) = ' '.
 


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!