Skip to Content
0
Former Member
Jan 11, 2007 at 10:28 AM

How to determine wheter static attributes are initial or from which type

34 Views

Hi,

i have a problem with my application. In my searchhelp i copy the value of the requesting context to my searchhelp component:

method SUPPLY_SEARCHVALUE .

DATA:
  stru_search  TYPE if_componentcontroller=>element_search.

wd_this->value_help_listener->f4_context_element->get_static_attributes( importing static_attributes = stru_search ).

node->bind_structure( new_item = stru_search  ).

endmethod.

but sometimes, I get an error within the call of the method get_static_attributes which says that there is a problem with move corresponding.

So, how can I dynamically get the content of the requesting context ???

or how can I determine (try - catch perhaps) if there is an error ?

Thanks a lot !!