SAP CLGV_DISPLAY_OBJECT_VALUES Function Module for









CLGV_DISPLAY_OBJECT_VALUES is a standard clgv display object values SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 clgv display object values FM, simply by entering the name CLGV_DISPLAY_OBJECT_VALUES into the relevant SAP transaction such as SE37 or SE38.

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



Function CLGV_DISPLAY_OBJECT_VALUES 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 'CLGV_DISPLAY_OBJECT_VALUES'"
EXPORTING
I_OBJEK = "
* I_NO_VALUE_DESCRIPT = "Value Instead of Value Description
* I_ADOPTED_CHAR = "
* I_WITH_CHARAC = "
* I_TOUCH_CTMS = 'X' "
I_CALL_REPID = "Calling Program
I_CALL_DYNNR = "Screen
* I_TASK = "Single-Character Indicator
* I_NO_POPUP = "
* I_UCOMM = "
I_MAFID = "
* I_OBTAB = "Object table
* I_CUOBJ = "Configuration (internal object number)
* I_CLASSTYPE = "Class Type
* I_CLASS = "
* I_KEY_DATE = SY-DATUM "Valid From
* I_LANGUAGE = SY-LANGU "Language
* I_CHARACT_DESCR = "

TABLES
* IT_CLRS_CHARAC = "
* IT_AUSP = "Characteristic Values
* ET_OBJECTDATA = "

EXCEPTIONS
NO_CLASSIFICATION = 1 NO_CLASSTYPES = 2 NO_VALUATION = 3 INVALID_CLASS_TYPE = 4 ERROR_IN_CLGV_CTMS = 5 ERROR_IN_CLGV_CTCV = 6 ERROR_IN_CLGV_CLSE = 7 ERROR_IN_CLSD = 8
.



IMPORTING Parameters details for CLGV_DISPLAY_OBJECT_VALUES

I_OBJEK -

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

I_NO_VALUE_DESCRIPT - Value Instead of Value Description

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

I_ADOPTED_CHAR -

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

I_WITH_CHARAC -

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

I_TOUCH_CTMS -

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

I_CALL_REPID - Calling Program

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

I_CALL_DYNNR - Screen

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

I_TASK - Single-Character Indicator

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

I_NO_POPUP -

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

I_UCOMM -

Data type: SY-UCOMM
Optional: Yes
Call by Reference: Yes

I_MAFID -

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

I_OBTAB - Object table

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

I_CUOBJ - Configuration (internal object number)

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

I_CLASSTYPE - Class Type

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

I_CLASS -

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

I_KEY_DATE - Valid From

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

I_LANGUAGE - Language

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

I_CHARACT_DESCR -

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

TABLES Parameters details for CLGV_DISPLAY_OBJECT_VALUES

IT_CLRS_CHARAC -

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

IT_AUSP - Characteristic Values

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

ET_OBJECTDATA -

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

EXCEPTIONS details

NO_CLASSIFICATION -

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

NO_CLASSTYPES - No class types found for object table

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

NO_VALUATION -

Data type:
Optional: No
Call by Reference: Yes

INVALID_CLASS_TYPE - No authorization for class type

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

ERROR_IN_CLGV_CTMS -

Data type:
Optional: No
Call by Reference: Yes

ERROR_IN_CLGV_CTCV -

Data type:
Optional: No
Call by Reference: Yes

ERROR_IN_CLGV_CLSE -

Data type:
Optional: No
Call by Reference: Yes

ERROR_IN_CLSD -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for CLGV_DISPLAY_OBJECT_VALUES 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_objek  TYPE OBJNUM, "   
lt_it_clrs_charac  TYPE STANDARD TABLE OF CLRS_CHARAC, "   
lv_no_classification  TYPE CLRS_CHARAC, "   
lv_i_no_value_descript  TYPE CHAR1, "   
lv_i_adopted_char  TYPE CHAR1, "   
lv_i_with_charac  TYPE CHAR1, "   
lv_i_touch_ctms  TYPE CHAR1, "   'X'
lv_i_call_repid  TYPE SYREPID, "   
lv_i_call_dynnr  TYPE SYDYNNR, "   
lv_i_task  TYPE CHAR1, "   
lv_i_no_popup  TYPE CHAR1, "   
lv_i_ucomm  TYPE SY-UCOMM, "   
lt_it_ausp  TYPE STANDARD TABLE OF AUSP, "   
lv_i_mafid  TYPE KLMAF, "   
lv_no_classtypes  TYPE KLMAF, "   
lv_i_obtab  TYPE TABELLE, "   
lv_no_valuation  TYPE TABELLE, "   
lt_et_objectdata  TYPE STANDARD TABLE OF CLOBJDAT, "   
lv_i_cuobj  TYPE CUOBJ, "   
lv_invalid_class_type  TYPE CUOBJ, "   
lv_i_classtype  TYPE KLASSENART, "   
lv_error_in_clgv_ctms  TYPE KLASSENART, "   
lv_i_class  TYPE KLASSE_D, "   
lv_error_in_clgv_ctcv  TYPE KLASSE_D, "   
lv_i_key_date  TYPE SY-DATUM, "   SY-DATUM
lv_error_in_clgv_clse  TYPE SY, "   
lv_i_language  TYPE SY-LANGU, "   SY-LANGU
lv_error_in_clsd  TYPE SY, "   
lv_i_charact_descr  TYPE CHAR1. "   

  CALL FUNCTION 'CLGV_DISPLAY_OBJECT_VALUES'  "
    EXPORTING
         I_OBJEK = lv_i_objek
         I_NO_VALUE_DESCRIPT = lv_i_no_value_descript
         I_ADOPTED_CHAR = lv_i_adopted_char
         I_WITH_CHARAC = lv_i_with_charac
         I_TOUCH_CTMS = lv_i_touch_ctms
         I_CALL_REPID = lv_i_call_repid
         I_CALL_DYNNR = lv_i_call_dynnr
         I_TASK = lv_i_task
         I_NO_POPUP = lv_i_no_popup
         I_UCOMM = lv_i_ucomm
         I_MAFID = lv_i_mafid
         I_OBTAB = lv_i_obtab
         I_CUOBJ = lv_i_cuobj
         I_CLASSTYPE = lv_i_classtype
         I_CLASS = lv_i_class
         I_KEY_DATE = lv_i_key_date
         I_LANGUAGE = lv_i_language
         I_CHARACT_DESCR = lv_i_charact_descr
    TABLES
         IT_CLRS_CHARAC = lt_it_clrs_charac
         IT_AUSP = lt_it_ausp
         ET_OBJECTDATA = lt_et_objectdata
    EXCEPTIONS
        NO_CLASSIFICATION = 1
        NO_CLASSTYPES = 2
        NO_VALUATION = 3
        INVALID_CLASS_TYPE = 4
        ERROR_IN_CLGV_CTMS = 5
        ERROR_IN_CLGV_CTCV = 6
        ERROR_IN_CLGV_CLSE = 7
        ERROR_IN_CLSD = 8
. " CLGV_DISPLAY_OBJECT_VALUES




ABAP code using 7.40 inline data declarations to call FM CLGV_DISPLAY_OBJECT_VALUES

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_i_touch_ctms) = 'X'.
 
 
 
 
 
"SELECT single UCOMM FROM SY INTO @DATA(ld_i_ucomm).
 
 
 
 
 
 
 
 
 
 
 
 
 
"SELECT single DATUM FROM SY INTO @DATA(ld_i_key_date).
DATA(ld_i_key_date) = SY-DATUM.
 
 
"SELECT single LANGU FROM SY INTO @DATA(ld_i_language).
DATA(ld_i_language) = SY-LANGU.
 
 
 


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!