Show TOC

IF_WD_BUSIN_GRAPHICS_MTD_HNDLLocate this document in the navigation structure

Use

Various additional actions connected with Customizing can be executed in a BusinessGraphics UI element, and these methods are then available in addition to the standard methods.

You can use the method handler of BusinessGraphics, IF_WD_BUSIN_GRAPHICS_MTD_HNDL using method WDDOMODIFYVIEW.

Example:

            method wddomodifyview.
            data:
                lr_bg_control type ref to cl_wd_business_graphics,
    lr_container  type ref to cl_wd_uielement_container,
    lt_items      type string_table,
    lt_actions    type string_table.
            * save the method handler
              check first_time = abap_true.
  lr_bg_control ?= view->get_element( 'BUSINESS_GRAPHICS' ).
  wd_this->m_bg_method_handler ?= lr_bg_control->_method_handler
         

ADD_DIRECT_CUSTOMIZING

During runtime you can also make further Customizing settings in addition to the existing ones (see BusinessGraphics Properties ). The following two import parameters can be used for this purpose:

  • I_CUSTOMIZING

    Additional XML document for Customizing, see IF_IXML_DOCUMENT

  • IT_CUSTOMIZING

    See table type IGS_CE_CU_TAB

CLEAR_DIRECT_CUSTOMIZING

During runtime you can delete any additional Customizing settings created by ADD_DIRECT_CUSTOMIZING.

GET_DIRECT_CUSTOMIZING

During runtime you can export further XML files for the additional Customizing. The export parameter ET_CUSTOMIZING is provided for this purpose. See table type IGS_CE_CU_TAB.

SET_DIRECT_CUSTOMIZING_MODE and GET_DIRECT_CUSTOMIZING_MODE

During runtime you can specify whether additional Customizing made by the previous methods is to overwrite the existing design time Customizing , or whether it is supported in addition. The parameters, I_ENABLE_OVERWRITE (import) and E_ENABLE_OVERWRITE (export), provided for this purpose use Boolean values ( ABAP_BOOL).

More Information