on 08-16-2012 1:27 PM
Hi Experts,
I used ALV component ,in my Webdynpro ABAP application as a used component. Now my object is working fine with ALV, when ever i click sort option in any one of the column and uses ALV button ,now it throwing dump. the samething happen when i use filters. filter option is working ,after filter if i use the header button throwing dump like..
Please suggest me!!!
Regards,
KiranReddy
Hi,
i got exactily the same dump but your coding
wont help either.
ist there a solution?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For the Sort-Dump i got finlay a solution.
The Reason for the sort-dump is, because when you Sort your ALV-Table the lead selection get lost.
and if you implement, for example an imput fead with a binding of your alv table-field you get a dump.
but i got a solution for this.
1. Go in you view or component controller (where you implementet you alv table binding)
in the proportys area and be shoure to embed the interfacecontroller of your alv table.
2. create a method (i called it ALV_AFTER_FUNCTION) with the Event ON_STD_FUNCTION_AFTE
From the Interfacecontroller.
3. put in this Coding
DATA l_context_node TYPE REF TO if_wd_context_node.
l_context_node = wd_context->get_child_node( name = wd_this->wdctx_zberufuverf ).
l_context_node->set_lead_selection_index( index = 1 ).
zberufuverf is my context node
no wenn you so sort you table the method above starts and set the lead selection ...:D
Hi ,
I assigned cardinality 0...N, and lead selection as Yes...But no use....tried with diffrent cardinality combinations...but it can't work...
Please suggest me onthis.....very urgent.
Regards,
Kiranreddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kiran,
You have to use the below code in the WDDOINIT method,
CALL METHOD lv_value->if_salv_wd_std_functions~set_sort_complex_allowed
EXPORTING
value = ABAP_TRUE.
After executing the application you will get the filter and settings options in ALV toolbar.
Click on settings->Go to Sort tab->Select your column name which you want to sort->Click on Add->Apply->Ok.
Hi V A,
Thanks for your reply.
Actually i am getting the sort and filter options and those working fine.But my issue is once if you apply sort and filter option for columns,this also works fine,later if you selects one of the row from alv table and click the details button,it will opens in the other view perfetcly ,here if you do any events like enter or radio butto check....throws the dump.
If you do not apply any sort on ALV table and did same like select row and click details,it goes another view and perform any events ...working fine.....
Regards,
Kiran
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.