Skip to end of metadata
Go to start of metadata

Frequently Asked Questions - UI Elements  

This section of the FAQ provides answers to questions about the WD4A UI Elements.

How to create a suitable UIElement for a DDIC Type

Please read here.

How to remove unnecessary padding around a WD page (SET_CUSTOM_PADDING)

Go to the main window (which is the "interface view" of the WD application):

Edit method WDDOINIT. Here you have to switch off the framework padding by declaring that you want to use your own "custom" padding:

method WDDOINIT .
 data window_controller type ref to if_wd_window_controller.
 data window_info type ref to if_wd_rr_window.

 window_controller ?= wd_this->wd_get_api( ).
 window_info = window_controller->get_window_info( ).
 window_info->set_custom_padding( abap_true ).

To ensure that you really have no padding, please check all LayoutDatas beginning from the element which should have no padding upwards to the root TransparentContainer. All MatrixData, MatrixHeaderData, RowHeadData and FlowData need to have cellDesign=paddless.

FAQ Tables

please go to this Section