on ‎2020 Feb 14 4:43 PM
Hi Experts,
I have custom Table Assignment block at Account Over view page. It use to hold more than 500 records therfore Customer use to filter or sort the record using Assignment block Column header. Now each record has SO which is hyper link. When User click on hyper link it navigate to SO and on press Back. It navigate back to AB. Issue is When Screen Navigate back. The AB get refresh i.e. filter criteria got clear hence all bulk of record again display.
I need to maintain this AB filter criteria so that user see specific record each time. Please suggest.
Request clarification before answering.
Hi Habil,
Your solution might not work. It will only takecare of Sorting but not for Filter value.
Issue : I have AB at Overview page when filter apply at AB column and when naviagte to Other page and come back the state is not restore back.
For this SAP given STATE_STORE option but it is not triggering at View Level, But only it trigger at OV but again facing issue i.e. State is not returning.
Is there any other place where we can maintain the AB config i.e filter/sort and when come back we push it
Please advice.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey,
you can do it with sort method of collection wrapper. Sth. like that:
data: comp_controller type ref to /pwc/zl_bspwdcompone0_impl.
data: lr_col_wrapper_order type ref to cl_bsp_wd_collection_wrapper.
comp_controller ?= me->comp_controller.
lr_col_wrapper_order = comp_controller->typed_context->orders->get_collection_wrapper( ).
lr_col_wrapper_order->sort( iv_attr_name = 'ZATTR' iv_sort_order = 'D' iv_stable = abap_true ).kind regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.