Component Usage Does Not Have an Active Component
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.
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.