on 12-12-2009 9:59 AM
Hi all,
I m using one Popup Screen tp show the Details in ALV by Clicking a Button.
In first time, Output Details are coming in the POPUp screen.
In the second time without refreshing the screen, when i Click the same button, the screen only coming. No alv is showing and No data is showing.
But in the debug mode i saw the data are binded properly.
Plz give me the solution.
HI,
Where are you instantiating the ALV...and paste that code..
try to instantiate the ALV on the button clikc..so that everytime you will have the data and also new instance..
One more this...are you using the SET_DATA of ALV or statically you are binding the DATA node of ALV.
Regards,
Lekha.
Edited by: Lekha on Dec 12, 2009 4:44 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
the below is the code...
DATA lo_cmp_usage TYPE REF TO if_wd_component_usage.
lo_cmp_usage = wd_this->wd_cpuse_alv_variant( ).
IF lo_cmp_usage->has_active_component( ) IS INITIAL.
lo_cmp_usage->create_component( ).
ENDIF.
If i wrongly understood the instantiation, plz tell me the code....
Thanks in advance...
Hi,
DATA lo_cmp_usage TYPE REF TO if_wd_component_usage.
lo_cmp_usage = wd_this->wd_cpuse_alv_variant( ).
IF lo_cmp_usage->has_active_component( ) IS INITIAL.
lo_cmp_usage->delete_component( ).
lo_cmp_usage->create_component( ).
ENDIF.
Try to use the DELETE_COMPONENT method then try creating he instance using CREATE_COMPONENT..
this solves the issue...
Regards,
Lekha.
Edited by: Lekha on Dec 14, 2009 11:35 AM
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.