Hello All,
I have added a new attribute to a node in my component controller 'LOGONUID' and I cannot access it within my windows within the WDA application.
DATA lo_nd_url_param TYPE REF TO if_wd_context_node. DATA ls_workset TYPE wd_this->element_workset. "DATA ls_logonuid TYPE wd_this->element_logonuid.
I get an error as soon as I try to activate this code in my method in my W_MAIN
In my component controller I do not see it reference in the SAP generated code in my WD_THIS IF_COMPONENTCONTROLLER?
* Intf.: ig_componentcontroller
* Purp.: programming interface for access of this controller within
* other controllers of the same component
* controller: <COMPONENTCONTROLLER> of
* component: <zhr_wd_mss>
* UDate: 20111207 145441
*=====================================================================*
interface ig_componentcontroller.
interfaces: ziwci_hr_wd_mss .
constants:
wdctx_context type string value `CONTEXT`.
constants:
wdctx_cuifcontext type string value `CUIFCONTEXT`.
types:
begin of Element_cuifcontext,
USERID type String,
LASTEVENTOPERATION type String,
end of Element_cuifcontext,
Elements_cuifcontext type
standard table of Element_cuifcontext
with default key.
constants:
wdctx_messages type string value `MESSAGES`.
types:
Element_messages type ZHR_S_MESSAGE,
Elements_messages type
standard table of Element_messages
with default key.
constants:
wdctx_workset type string value `WORKSET`.
I want it to be declared as the constant 'WORKSET'
thank you
Edited by: Keith Warnock on Dec 7, 2011 8:55 PM
Edited by: Keith Warnock on Dec 7, 2011 8:56 PM