SAP Screen Personas
Using Search Helps
SAP SCREEN PERSONAS KNOWLEDGE BASE - by Tobias Queck , Tamas Hoznek , Regina Sheynblat
Purpose
This article describes the steps required to add a search help (a.k.a. F4 help) to a text field. Personas supports only generic search helps based on database tables, defined in the Data Dictionary.
Overview
Considerations
Preparations
Create a flavor
Option 1 - Add a new input field
1. Once in edit mode, go to the Insert tab and select Text field -> F4 Help
Option 2 - Assign a script to the onF4 event
1. Open the scripting mode and create a new script
- Click on the script inspector icon
- Click on the input field
- Wait until the list of all available properties and methods is shown underneath the id of the field
3. Click on showF4Help and code like below should be generated:
session.findById("wnd[0]/usr/txtPersonas_2").showF4Help(String table, String field,Value);
4. Specify the table that is to be shown and the field that is to be returned, e.g.:
session.findById("wnd[0]/usr/txtPersonas_2").showF4Help('SUID_ST_BNAME', 'BNAME','');
5. Save the script and leave the script editor
6. Open the flavor editor and bind the script to the onF4 event
Handling situations without suitable search help references
Summary
Related Content
Related Search Terms:
SAP Screen Personas, Scripting, Search Help, F4
Related Content
SAP Screen Personas 3.0 Scripting Guide