GET_COLOR_ICON SAP Method Get color icon
Below is documentation, parameters and attributes of ABAP Method GET_COLOR_ICON within SAP class /SCMTMS/IF_COLOR_MANAGER. 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 /SCMTMS/IF_COLOR_MANAGER 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 GET_COLOR_ICON can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_COLOR_ICON
.| Name | Type | Data Type | Description | Default Value |
| IV_BORDER_COLOR | Importing | TYPE TY_COLOR | Border Color | |
| IV_BORDER_WIDTH | Importing | TYPE TY_SIZE_PIXEL | Border Width in Pixel | |
| IV_COLOR | Importing | TYPE TY_COLOR | Icon Color | |
| IV_ICON_SHAPE | Importing | TYPE /SCMTMS/ICON_SHAPE | Icon Shape | |
| IV_ICON_SIZE | Importing | TYPE TY_SIZE_PIXEL | Icon Size in Pixel | |
| IV_PATTERN | Importing | TYPE /SCMTMS/ICON_PATTERN | Icon Pattern | |
| EV_ICON_DATA | Exporting | TYPE XSTRING | Binary Icon Data |
Exceptions of Method GET_COLOR_ICON
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /SCMTMS/IF_COLOR_MANAGER.
DATA: lv_EV_ICON_DATA TYPE XSTRING,
lv_IV_BORDER_COLOR TYPE TY_COLOR,
lv_IV_BORDER_WIDTH TYPE TY_SIZE_PIXEL,
lv_IV_COLOR TYPE TY_COLOR,
lv_IV_ICON_SHAPE TYPE /SCMTMS/ICON_SHAPE,
lv_IV_ICON_SIZE TYPE TY_SIZE_PIXEL,
lv_IV_PATTERN TYPE /SCMTMS/ICON_PATTERN,
lv_other TYPE c.
CALL METHOD lo_class=>GET_COLOR_ICON(
EXPORTING
IV_BORDER_COLOR = lv_IV_BORDER_COLOR
IV_BORDER_WIDTH = lv_IV_BORDER_WIDTH
IV_COLOR = lv_IV_COLOR
IV_ICON_SHAPE = lv_IV_ICON_SHAPE
IV_ICON_SIZE = lv_IV_ICON_SIZE
IV_PATTERN = lv_IV_PATTERN
IMPORTING
EV_ICON_DATA = lv_EV_ICON_DATA ).
Links to Related Class(s)
/SCMTMS/...Full list of available SAP object classes
Search for further information about these or an SAP related objects