on 08-14-2007 12:29 PM
I try create an ALV. Also the time I get the error:
To the Component use ALV_TEST no active Component exists
I have activate the hole dynpro so I dont know why I get the error?
Please help
You need to instantiate a component usage of the ALV. Do that using the following code in your doinit method or the method where you initialize your ALV model. This is assuming that your usage name is 'ALV'.
data: l_ref_cmp_usage TYPE REF TO if_wd_component_usage.
l_ref_cmp_usage = wd_this->wd_cpuse_alv( ).
IF l_ref_cmp_usage->has_active_component( ) IS INITIAL.
l_ref_cmp_usage->create_component( ).
ENDIF.
Regards,
Nithya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.