
Various actions can be performed in a BEx Web Application, for example, filtering or arranging data in a table.
You can use the method handler of BIApplicationFrame, IF_WD_BI_APPLFRAME_METHOD_HNDL using method WDDOMODIFYVIEW.
Syntax
Example:
method wddomodifyview.
data:
lr_bi_control type ref to cl_wd_biapplication_frame, 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_bi_control ?= view->get_element( 'BI_APPL_FRAME' ). wd_this->m_bi_method_handler ?= lr_bi_control->_method_handler.
The following methods allow users to set and remove filters:
CLEAR_SELECTION_STATE
SET_SELECTION_STATE
Setting filters in several overloaded versions.
The DrillDown methods relate to the arrangement of elements of a table in the Web template and specify whether they are arranged in columns or rows.
DRILL_DOWN
REMOVE_DRILL_DOWN
The following methods map to the methods for the definition of Web items:
RESET_ITEM
SET_ITEM_PARAMETER
Parameters of type DDOPTION correspond to the relational operators of Open SQL.
These parameters can have the following values:
Fixed Value |
Description |
|---|---|
EQ |
equals |
BT |
between... and .... |
CP |
contains template |
LE |
less than or equal to |
GE |
greater than or equal to |
NE |
does not equal |
NB |
not between... and .... |
NP |
does not contain template |
GT |
greater than |
LT |
less than |
A parameter of type WDUI_BI_AXIS specifies whether the elements are arranged in columns or rows. It can have the following values:
Fixed Value |
Description |
|---|---|
00 |
rows |
01 |
columns |
02 |
free |
For the constants use the corresponding attributes of interface IF_WDL_BUSINESS_INTELLIGENCE.
UI Element BIApplicationFrame