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

.

NameTypeData TypeDescriptionDefault Value
IV_BORDER_COLORImportingTYPE
TY_COLOR
Border Color
IV_BORDER_WIDTHImportingTYPE
TY_SIZE_PIXEL
Border Width in Pixel
IV_COLORImportingTYPE
TY_COLOR
Icon Color
IV_ICON_SHAPEImportingTYPE
/SCMTMS/ICON_SHAPE
Icon Shape
IV_ICON_SIZEImportingTYPE
TY_SIZE_PIXEL
Icon Size in Pixel
IV_PATTERNImportingTYPE
/SCMTMS/ICON_PATTERN
Icon Pattern
EV_ICON_DATAExportingTYPE
XSTRING
Binary Icon Data



Exceptions of Method GET_COLOR_ICON

This method does not have any exceptions

Example 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



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!