SET_DC_NAMES SAP Method Set name of attributes in data contnr + fill DC_ATTRIB_LIST









Below is documentation, parameters and attributes of ABAP Method SET_DC_NAMES within SAP class CL_GUI_GP_PRES. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name CL_GUI_GP_PRES into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

The following technical details of method SET_DC_NAMES can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method SET_DC_NAMES

.

NameTypeData TypeDescriptionDefault Value
DIM1ImportingTYPE
ROLLNAME
Name of attribute with value of 1st dimension (X-axis)
DIM2ImportingTYPE
ROLLNAME
Name of attribute with value of 2nd dimension (Y-axis)
DIM3ImportingTYPE
ROLLNAME
Name of attribute with value of 3nd dimension (Z-axis)
FILTERImportingTYPE
ROLLNAME
See method documentation
GRP_IDImportingTYPE
ROLLNAME
See method documentation
OBJREF_IDImportingTYPE
ROLLNAME
Customizing ID for special Customizing
OBJ_IDImportingTYPE
ROLLNAME
Name of object ID (unique)
TEXTImportingTYPE
ROLLNAME
Additional text (displayed if customized)
T_DIM1ImportingTYPE
ROLLNAME
See method documentation
T_GRP_IDImportingTYPE
ROLLNAME
See method documentation
RETVALExportingTYPE
SYMSGNO
CL_GFW -> OK, if OK



Exceptions of Method SET_DC_NAMES

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO CL_GUI_GP_PRES.
DATA: lv_DIM1 TYPE ROLLNAME,
lv_DIM2 TYPE ROLLNAME,
lv_DIM3 TYPE ROLLNAME,
lv_FILTER TYPE ROLLNAME,
lv_GRP_ID TYPE ROLLNAME,
lv_OBJREF_ID TYPE ROLLNAME,
lv_OBJ_ID TYPE ROLLNAME,
lv_RETVAL TYPE SYMSGNO,
lv_TEXT TYPE ROLLNAME,
lv_T_DIM1 TYPE ROLLNAME,
lv_T_GRP_ID TYPE ROLLNAME,
lv_other TYPE c.

CALL METHOD lo_class=>SET_DC_NAMES(
EXPORTING
DIM1 = lv_DIM1
DIM2 = lv_DIM2
DIM3 = lv_DIM3
FILTER = lv_FILTER
GRP_ID = lv_GRP_ID
OBJREF_ID = lv_OBJREF_ID
OBJ_ID = lv_OBJ_ID
TEXT = lv_TEXT
T_DIM1 = lv_T_DIM1
T_GRP_ID = lv_T_GRP_ID
IMPORTING
RETVAL = lv_RETVAL ).

Links to Related Class(s)

CL_GUI_G...
Full list of available SAP object classes

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!