Hi,
I am getting user input via ls_data_selections.
DATA lo_nd_data_selections TYPE REF TO if_wd_context_node.
DATA lo_el_data_selections TYPE REF TO if_wd_context_element.
DATA ls_data_selections TYPE wd_this->element_data_selections.
navigate from <CONTEXT> to <DATA_SELECTIONS> via lead selection
lo_nd_data_selections = wd_context->get_child_node( name = wd_this->wdctx_data_selections ).
get element via lead selection
lo_el_data_selections = lo_nd_data_selections->get_element( ).
get all declared attributes
lo_el_data_selections->get_static_attributes(
IMPORTING
static_attributes = ls_data_selections ).
SELECT * FROM proj INTO CORRESPONDING FIELDS OF TABLE it_proj
WHERE pspid = ls_data_selections.
if user enters a wrong slection this table will not have any entries .I want to add a message at selection screen saying wrong job number.
How do we do that?
rgds
Vara