READ_BUTTON_CONFIG SAP Method reads the button config









Below is documentation, parameters and attributes of ABAP Method READ_BUTTON_CONFIG within SAP class CL_CHTMLB_CONFIG_UTILITY. 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_CHTMLB_CONFIG_UTILITY into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Static

This is a Static Method so you can call it directly

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

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


Parameters of Method READ_BUTTON_CONFIG

.

NameTypeData TypeDescriptionDefault Value
IR_VIEW_CONTROLLERImportingTYPE REF TO
CL_BSP_WD_VIEW_CONTROLLER
Basis Class for WD View Controller
IV_LOCATIONImportingTYPE
STRING
optional filter for buttons table
IV_SET_PAGE_IDImportingTYPE
ABAP_BOOL
use page id of current view controller
ES_BUTTON_CONFIGExportingTYPE
BSP_DLCS_BUTTON_CONFIG_STRUCT
structure defining one button configuration as stored as XML
ET_BUTTONSExportingTYPE
CRMT_THTMLB_BUTTON_EXT_T
button from external source



Exceptions of Method READ_BUTTON_CONFIG

This method does not have any exceptions

Example ABAP coding


DATA: lv_ES_BUTTON_CONFIG TYPE BSP_DLCS_BUTTON_CONFIG_STRUCT,
lv_ET_BUTTONS TYPE CRMT_THTMLB_BUTTON_EXT_T,
lv_IR_VIEW_CONTROLLER TYPE CL_BSP_WD_VIEW_CONTROLLER,
lv_IV_LOCATION TYPE STRING,
lv_IV_SET_PAGE_ID TYPE ABAP_BOOL,
lv_other TYPE c.

CALL METHOD CL_CHTMLB_CONFIG_UTILITY=>READ_BUTTON_CONFIG(
EXPORTING
IR_VIEW_CONTROLLER = lv_IR_VIEW_CONTROLLER
IV_LOCATION = lv_IV_LOCATION
IV_SET_PAGE_ID = lv_IV_SET_PAGE_ID
IMPORTING
ES_BUTTON_CONFIG = lv_ES_BUTTON_CONFIG
ET_BUTTONS = lv_ET_BUTTONS ).

Links to Related Class(s)

CL_CHTML...
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!