on 04-18-2011 1:13 PM
Hi All,
I get the following error "Component Usage MASTERS_ALV Does Not Have an Active Component" i got the same type of error before and resolved but now i forgor how to do can any one help me in resolving this error.
Hi ,,
In WDDOINIT hook method you need to instantiate the component usage otherwise you will get such type of dump.
Paste the below code in WDDOINIT hook method view or component controller doinit then you will not get dump
data lo_cmp_usage_alv type ref to if_wd_component_usage.
lo_cmp_usage_alv = wd_this->wd_masters_alv( ).
if lo_cmp_usage_alv->has_active_component( ) is INITIAL.
lo_cmp_usage_alv->create_Component( ).
endif.
Regards,
Devi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.