on 07-10-2018 7:07 AM
Hi. I am trying to develop a ALV web dynpro application where I want to increase the no. of visible row counts to 1000 or more than that. now the value is 10. the class used is CL_SALV_WD_CONFIG_TABLE.
The attribute is IF_SALV_WD_TABLE_SETTINGS~VISIBLE_ROW_COUNT.
The method used is GET_MODEL of the interface IWCI_SALV_WD_TABLE.
The method is wddoinit in VIEW
The code somewhat looks like this. (done through wizard)
method WDDOINIT .
DATA lo_nd_material TYPE REF TO if_wd_context_node.
* navigate from <CONTEXT> to <FLIGHT> via lead selection
lo_nd_material = wd_context->get_child_node( name = wd_this->wdctx_material ).
DATA lo_cmp_usage TYPE REF TO if_wd_component_usage.
lo_cmp_usage = wd_this->wd_cpuse_alv( ).
IF lo_cmp_usage->has_active_component( ) IS INITIAL.
lo_cmp_usage->create_component( ).
ENDIF.
DATA lo_interfacecontroller TYPE REF TO iwci_salv_wd_table .
lo_interfacecontroller = wd_this->wd_cpifc_alv( ).
DATA lv_value TYPE REF TO cl_salv_wd_config_table.
lv_value = lo_interfacecontroller->get_model(
).
TYPES: BEGIN OF ty_material,
matnr type mara-matnr,
mtart TYPE mara-mtart,
matkl TYPE mara-matkl,
END OF ty_material.
DATA: t_material TYPE STANDARD TABLE OF ty_material.
select matnr mtart matkl FROM mara INTO TABLE t_material UP TO 1000 ROWS.
lo_nd_material->bind_table( t_material ).
endmethod.
Can anyone suggest about this
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.