You are on page 1of 2

Standrard Package:-SWDP_DEMO, SALV_WD_UI, APB_FPM_CORE

Code Wizard Coding:


DATA LO_ND_ITAB TYPE REF TO IF_WD_CONTEXT_NODE.
DATA LO_EL_ITAB TYPE REF TO IF_WD_CONTEXT_ELEMENT.
DATA LS_ITAB TYPE WD_THIS->ELEMENT_ITAB.
DATA LV_NAME TYPE WD_THIS->ELEMENT_ITAB-NAME.
* navigate from <CONTEXT> to <ITAB> via lead selection
LO_ND_ITAB = WD_CONTEXT->GET_CHILD_NODE( NAME = WD_THIS->WDCTX_ITAB ).
* @TODO handle non existant child
* IF lo_nd_itab IS INITIAL.
* ENDIF.
* get element via lead selection
LO_EL_ITAB = LO_ND_ITAB->GET_ELEMENT( ).
* @TODO handle not set lead selection
IF LO_EL_ITAB IS INITIAL.
ENDIF.
* get single attribute
LO_EL_ITAB->GET_ATTRIBUTE(
EXPORTING
NAME = `NAME`
IMPORTING
VALUE = LV_NAME ).

eRROR MESSAGE

500 SAP Internal Server Error


ERROR: Instance of the view ZCALLING_WEB_URL already exists in component
(termination: RABAX_STATE)
----------How to read the input field and display that as output?
create a attribute of type string for inputfield and create another another attribute
to display the output
to read the values entered by the user by using get_attribute statement

You might also like