Various actions can be executed in a Bex Web Application – for example, the filtering oder arranging of data in a table.
You can use the method handler of BIApplicationFrame from method WDDOMODIFYVIEW, for 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.
Then you can also access the various methods in actions.
Application developers work with the interface IF_WD_BI_APPLFRAME_METHOD_HNDL only; classes are created automatically by Web Dynpro.
The following methods allow the setting and removing of 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 may have the following values:
Value Range
Fixed value |
Short Description |
EQ |
EQual to |
BT |
BeTween ... and ... |
CP |
Contains Pattern |
LE |
Less than or Equal to |
GE |
Greater than or Equal to |
NE |
Not Equal to |
NB |
Not Between ... and ... |
NP |
Not Contains pattern |
GT |
Greater Than |
LT |
Less Than |
These parameters correspond to the relational operators of Open SQL. See also Selecting Lines
Parameters of type WDUI_BI_AXIS may have the following values:
Value Range
Fixed value |
Short Description |
00 |
rows |
01 |
columns |
02 |
free |
This parameter specifies whether the elements are arranged in columns or rows.
For the constants use the associated attributes of interface IF_WDL_BUSINESS_INTELLIGENCE.