Additional Blogs by SAP
cancel
Showing results for 
Search instead for 
Did you mean: 
thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

Introduction

In the past, I have shared my implementation for Value Help in BSP via Weblogs:




Finally I have the latest version of this Value Help available here on SDN via this weblog. Unlike the last major revision that focused on enhancing the user interface, this update has no changes or additions to the UI. The interface still supports elemental and complex search helps via popup windows. Although we will be making some major additions to the internal coding of the object, no changes will be made to the UI rendering (InputHelp.bsp)


   
   
method do_request.
  ...
  • if any of the controllers has requested a navigation,
  • do not try to display, but leave current processing
  if is_navigation_requested( ) is not initial.
    return.
  endif.


****Requested Simple Help Values
  if not model2->data_ref is initial.
    model2->get_helpvalues_complex( ).
****Requested Help Values Via an RFC Exit
  elseif not model2->rfcfunction is initial.
    model2->get_helpvalues_exit( ).
  elseif not model2->objtype is initial.
    model2->get_helpvalues_bapi( ).
  else.
    model2->message = 'Element ID can not be blank'(e03).
  endif.


****Multi or Single Select?
  if model2->multiple = abap_true.
...


endmethod.
82 Comments