on 12-19-2008 10:52 AM
Hey evrybody,
I like to create a context and I want to map it to the component ALV_CONFLICT.
Creating the context is not the problem, but I tried to map the context by using the set_data method of the interface IWCI_SALV_WD_TABLE and when I try to call the view embeded the ALV_CONFLICT component I get the following mistake:
Folgender Fehlertext wurde im System E8D prozessiert: Component Usage ALV_CONFLICT Does Not Have an Active Component
Thanks so far and Kind Regards,
Henning
Hi,
Instantiate your component using code wizard before calling the set_data method of interface controller.
*Instatiate used controller
data lo_cmp_usage type ref to if_wd_component_usage.
lo_cmp_usage = wd_this->wd_cpuse_alv( ).
if lo_cmp_usage->has_active_component( ) is initial.
lo_cmp_usage->create_component( ).
endif.
data lo_interfacecontroller type ref to iwci_salv_wd_table .
lo_interfacecontroller = wd_this->wd_cpifc_alv( ).
lo_interfacecontroller->set_data( lo_node ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
now it works...
thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
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.