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
.| Name | Type | Data Type | Description | Default Value |
| DIM1 | Importing | TYPE ROLLNAME | Name of attribute with value of 1st dimension (X-axis) | |
| DIM2 | Importing | TYPE ROLLNAME | Name of attribute with value of 2nd dimension (Y-axis) | |
| DIM3 | Importing | TYPE ROLLNAME | Name of attribute with value of 3nd dimension (Z-axis) | |
| FILTER | Importing | TYPE ROLLNAME | See method documentation | |
| GRP_ID | Importing | TYPE ROLLNAME | See method documentation | |
| OBJREF_ID | Importing | TYPE ROLLNAME | Customizing ID for special Customizing | |
| OBJ_ID | Importing | TYPE ROLLNAME | Name of object ID (unique) | |
| TEXT | Importing | TYPE ROLLNAME | Additional text (displayed if customized) | |
| T_DIM1 | Importing | TYPE ROLLNAME | See method documentation | |
| T_GRP_ID | Importing | TYPE ROLLNAME | See method documentation | |
| RETVAL | Exporting | TYPE SYMSGNO | CL_GFW -> OK, if OK |
Exceptions of Method SET_DC_NAMES
This method does not have any exceptionsExample 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