on 05-28-2012 9:03 AM
WD_CPIFC_EM_LIST_ALV_USAGE
DATA
lo_interfacecontroller TYPE REF TO
iwci_salv_wd_table .
lo_interfacecontroller = wd_this->WD_CPIFC_EM_LIST_ALV_USAGE( ).
lo_interfacecontroller->refresh( ).
Thank you for your responses. Could you please provide me some code snippets to bind the table and in which method this binding need to be addressed. Just one month old in webdynpro ABAP so requesting even basic stuff.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry for the delay. I was down with fever and not able to login. The issue still persists.
I want some help to try out an alternative way.
As explained in my first post, there is an Apply button in the main screen which is able to refresh the screen, Is it possible to trigger that action when I click on the button in the popup screen?
If so please let me know
Thank you!
Hi,
If you want to use standard refresh method, you need to pass value for the parameter in.
DATA lo_interfacecontroller TYPE REF TO iwci_salv_wd_table .
lo_interfacecontroller = wd_this->wd_cpifc_alv( ).
lo_interfacecontroller->refresh(
in = " if_salv_wd_table=>s_type_param_refresh_in
).
It has the following fields in the structure:
action type salv_wd_constant,
list_type type salv_wd_constant,
view type wdr_pers_variant,
config_key type wdy_config_key,
is_model_requested type wdy_boolean,
default_model type s_type_default_model,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am not getting any error if I use the code. But I am not using ?=. I am able to activate and execute.
DATA
lo_interfacecontroller TYPE REF TO IWCI_SALV_WD_TABLE .
lo_interfacecontroller = wd_this->WD_CPIFC_EM_LIST_ALV_USAGE( ).
DATA: ls_in TYPE if_salv_wd_table=>s_type_param_refresh_in.
ls_in-dummy = '01'.
lo_interfacecontroller->refresh( in
= ls_in ).
Jayanthi,
Here is my code, now error is gone, but still refresh is not working.
DATA
lo_INTERFACECONTROLLER TYPE REF TO /SAPTRX/IWCI_EM_LIST_ALV_CPT .
lo_INTERFACECONTROLLER = wd_this->wd_cpifc_em_list_alv_usage( ).
DATA lv_rcl_emalv_cmp TYPE ref to iwci_salv_wd_table.
lv_rcl_emalv_cmp = lo_interfacecontroller->get_emalv_cmp( ).
DATA: ls_in TYPE IF_SALV_WD_TABLE=>s_type_param_refresh_in.
ls_in-dummy = '01'.
lv_rcl_emalv_cmp->refresh( in
= ls_in ).
Could you please help me out
Nag,
so, as per my understanding, you are triggering an event/action on ALV right?
then, just re-perform the data binding to the ALV node. Means somewhere you are binding the values to the ALV table right.. this code might be in your one of methods. recall that method. it will be auto refreshed.
use this correction.
lo_interfacecontroller ?= wd_this->WD_CPIFC_EM_LIST_ALV_USAGE( ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I hope you have a method called refresh in component controller. You want to call that in your SEND button which may be in view.
Error seems to that in the way it is called.
Use Code wizard to select the method refresh from the component controller. I hope it will be ok then.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.