Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

ABAP Web Dynpro Practical Tips: Call Search Help Explicit

$
0
0


I show in this document how to call explicit an existing search help within a view.

 

Web Dynpro View

 

Call Search Help Explicit

 

Issue

 

An existing search help is to call explicit on a button action. The search results are to be shown on the view.

 

Example

 

I will use here the standard search help BUPA_ROLE (business partner roles). The search help contains two parameters: RLTYP (import/export) and RLTITL (export).

The selected context of the (export) parameters must be displayed by the corresponding view fields.

 

1. Create a context node and two attributes

 

context.jpg

context_table.jpg

 

2. Create two view input fields to the context attributes and an action button

view_fields.jpg

 

3. Define an button action SEARCH_PARTNER and implement its event handler method, bind the button event to the action SEARCH_PARTNER

search_event_handler.jpg

4. Define and implement an event handler method ON_PARTNER_SELECTED for the search help results

results_event_handler.jpg

 

5. Activate the web dynpro component, create a web dynpro application and run it

 

start_site.jpg

 

search_help.jpg

 

search_help_results.jpg


Viewing all articles
Browse latest Browse all 3667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>