on 01-30-2011 1:10 PM
Hi
data lr_interfacecontroller TYPE REF TO ZIWCI_INTF. .
pass key fields of selected flight to used component instance
lr_interfacecontroller = wd_this->wd_cpifc_details_comp( ).
details_comp is my comp usage and ZINTF my interface
however i get a syntax error "structure of lr_intrfacecontroller is incompatible "
You need to add the interface controller of the details comp in the used controllers of the view or component controller
wherever you are writing the code.
so if you are wirting it in view controller than go to the properties tab of the view and click on the create new button in the used
controllers list and then add the interface controller of the DETAILS_COMP.
thanks
sarbjeet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
I have already done this. Also i changed the like this.
lr_interfacecontroller TYPE REF TO ZIWCI_COMP_1.
lr_interfacecontroller = wd_this->wd_cpifc_details_comp( ).
LR_INTERFACECONTROLLER->display_details(
is_flight = ls_flights ).
now problem is LR_INTERFACECONTROLLER doesnot have a method called display_details but only method wd_get_api
how do i call method display_details from wd_get_api
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.