CONSTRUCTOR SAP Method Constructor
Below is documentation, parameters and attributes of ABAP Method CONSTRUCTOR within SAP class CL_GUI_GRAPH_RFW. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is a Class Constructor so it is called automatically when the class is accessed for the first time.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_GRAPH_RFW 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 CONSTRUCTOR can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CONSTRUCTOR
.| Name | Type | Data Type | Description | Default Value |
| ASSIGNMENTS_GRAPH | Importing | TYPE REF TO CL_GUI_ASSIGNMENTS_RFW | Assignment Area | |
| CLIPBOARD | Importing | TYPE REF TO CL_CLIPBOARD_RFW | Clipboard | |
| CONTAINER | Importing | TYPE REF TO CL_GUI_CONTAINER | Display area | |
| FLT_VAL | Importing | TYPE APPLICATION_RFW | Application Name | |
| GRAPH | Importing | TYPE REF TO CL_DC_GRAPH_RFW | Data of Graph to Display | |
| GRAPH_NUMBER | Importing | TYPE I | Sequence Number of Graph Display Area | |
| NAVIGATION_GRAPH | Importing | TYPE REF TO CL_GUI_NAVIGATION_RFW | Navigation area |
Exceptions of Method CONSTRUCTOR
This method does not have any exceptionsExample ABAP coding
As the method is a Class Constructor the below code doesnt really make sense as it cant be executed as a stand alone method but this is how it would look if it was a normal static method.DATA: lo_class TYPE REF TO CL_GUI_GRAPH_RFW.
DATA: lv_ASSIGNMENTS_GRAPH TYPE CL_GUI_ASSIGNMENTS_RFW,
lv_CLIPBOARD TYPE CL_CLIPBOARD_RFW,
lv_CONTAINER TYPE CL_GUI_CONTAINER,
lv_FLT_VAL TYPE APPLICATION_RFW,
lv_GRAPH TYPE CL_DC_GRAPH_RFW,
lv_GRAPH_NUMBER TYPE I,
lv_NAVIGATION_GRAPH TYPE CL_GUI_NAVIGATION_RFW,
lv_other TYPE c.
CALL METHOD lo_class=>CONSTRUCTOR(
EXPORTING
ASSIGNMENTS_GRAPH = lv_ASSIGNMENTS_GRAPH
CLIPBOARD = lv_CLIPBOARD
CONTAINER = lv_CONTAINER
FLT_VAL = lv_FLT_VAL
GRAPH = lv_GRAPH
GRAPH_NUMBER = lv_GRAPH_NUMBER
NAVIGATION_GRAPH = lv_NAVIGATION_GRAPH ).
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