Skip to Content
Former Member
Jan 21, 2011 at 07:29 PM

BP_HEAD_SEARCH - How to get from MainSearchResult view all found BP data


lr_entity ?= me->typed_context->result->collection_wrapper->get_current( ).
  CHECK lr_entity IS BOUND.

  lr_entity->get_properties( IMPORTING es_attributes = es_attributes ).

Above code will get the first record the pointer is pointing to. How to get the whole search result table. Say if we get 100 partners in search result. Which method do I use to extract data for all 100 partners. not just for the first one as displayed above.