on 10-30-2014 2:53 PM
Hi,
I am calling Interface method from one component & I am getting below dump.
Component Usage YORDER Does Not Have an Active Component
Could you pls suggest....
I wrote below logics...
This is written in comp2 from where i m calling the Interface Method
DATA lo_interfacecontroller TYPE REF TO ziwci_wd_is .
lo_interfacecontroller = wd_this->wd_cpifc_zwd_is( ).
lo_interfacecontroller->yorder_popup( ).
and in INIT method of Component controller, where my method exists
lo_cmp_usage TYPE REF TO if_wd_component_usage.
lo_cmp_usage = wd_this->wd_cpuse_zwd_is_reuse( ).
IF lo_cmp_usage->has_active_component( ) IS INITIAL.
lo_cmp_usage->create_component( ).
ENDIF.
But still not working........
Thanks in Advance.
Regards,
Bharath
Hi Bharath,
I think the error is not coming from the above code. In your code the component usage is zwd_is_reuse.
But the error is pointing to YORDER as component usage, do you have YORDER component usage used some where else in the component? Check out.
If so, your used component might not be active, try to activate the used component and try again.
Regards,
Rama
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 |
---|---|
81 | |
10 | |
10 | |
8 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.