on 05-23-2012 4:31 PM
Hello,
We are having a wierd issue with ABAP Web Dynpro.
We are getting exception CX_SY_DYN_CALL_ILLEGAL_TYPE between these lines. For some reason the context is not getting updated. Please help me where we could get the error in the statements below.
Also is there a way to look at the context values during runtime?
****************************************************************
DATA lv_print type C.
lv_print = 'X'.
DATA lo_nd_et_otf_data TYPE REF TO if_wd_context_node.
DATA lt_et_otf_data TYPE wd_this->Elements_et_otf_data.
****************************************************************
please do not point me to old discussions which are not ABAP Web Dynpro. I did my search before posting this.
Thanks
am
wd_this-> is the reference to the view runtime object.
For declaring your variables in ABAP that should have the same type as a context node, have a look at the generated Interface for the view controller or the component controller.
Menu: Goto -> Controller Interface
The name of the interface as well as the types are shown.
Examples:
In the component controller use notation:
DATA lt_your_data TYPE if_componentcontroller=>elements_your_data.
In the view controller replace "componentcontroller" by the name of the view, for example:
DATA lt_your_data TYPE if_your_view=>elements_your_data.
For debugging, there is a special Web Dynpro Tool in the New Debugger.
help.sap.com/erp2005_ehp_04/helpdata/en/48/74d50bd1431b5ae10000000a42189c/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
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.