Skip to Content
0
Jul 12, 2006 at 03:53 PM

Manipulate an uielement in webdynpro abap

29 Views

Hi.

How I can manipulate an uielement created in time of design (for example, to do visible or not an inputfield) in layout from a method.I´ve seen this code: data: LR_CONTAINER type ref to L_WD_UIELEMENT_CONTAINER, LR_BUTTON type ref to CL_WD_BUTTON,

LR_FLOW_DATA type ref to CL_WD_FLOW_DATA.

LR_BUTTON = CL_WD_BUTTON=>NEW_BUTTON ().

LR_FLOW_DATA =

CL_WD_FLOW_DATA=>NEW_FLOW_DATA (element = LR_BUTTON).

LR_CONTAINER? =

view

->GET_ELEMENT`ROOTUIELEMENTCONTAINER').
LR_CONTAINER->ADD_CHILD (LR_BUTTON).

But I don´t know how the data 'view' is created.

Thanks in advance.