SQL Server administration and T-SQL development, Web Programming with ASP.NET, HTML5 and Javascript, Windows Phone 8 app development, SAP Smartforms and ABAP Programming, Windows 7, Visual Studio and MS Office software SAP ABAP Programming and HANA Database Tutorials
Development resources, articles, tutorials, code samples and tools and downloads for ASP.Net, SQL Server, R Script, Windows, Windows Phone, AWS, SAP HANA and ABAP, like SAP UI5, Screen Personas, etc.

Install SAP Free

PushOnEnter Event on SAP Personas like OnKeyPress in Javascript

Using SAP Screen Personas, we have modified initial VA01 Order Entry screen and prepared a flavor as seen below.


What I want to enable for Personas users is that whenever they press Enter key on a input text field the Search button should run. This is similar to the onKeyPress event where pressed key is Enter key in Javascript development actually.

Using Manage Flavor menu, Personas layout editor can switch to Edit mode.
Then click on Search button or the button which is desired to run automatically.
Click on Show/Hide Properties (Ctrl+Alt+P) icon displayed on the right Personas menu.
When you left click on the marked text below, it will copy the control id to the clipboard. Later we will use this control id.


Now to trigger this button when Enter key is pressed on a SAP Personas flavor automatically, paste the id of the button into the PushOnEnter property of each textbox control placed on related flavor.


SAP Tutorials

SAP Tutorial

SAP Forums

SAP Tools

SAP Transaction Codes Table

Meetup Sunumu 1 meetup

Related Articles and Tutorials(http://www.kodyaz.com/sap-abap/pushonenter-action-on-personas-like-onkeypress-in-javascript.aspx)
Activate SAP Personas 3.0 Services using SICF Transaction
Call WebRFC from SAP Personas Script Button for User Name and Data
How to Change Background in SAP Personas MainApp
SAP Personas Html Viewer Control for Table Data
Launch Transaction Code using SAP Personas Script Button
Display Whitelist URL using SAP Personas WebPage Launch Button
Hands-on SAP Personas Tutorial for Beginners
How to Create SAP Screen Personas Flavor, Remove and Delete it
How to Export and Import SAP Screen Personas Flavors
Launch Web URL using SAP Personas Script Button
clientaccesspolicy.xml crossdomain.xml is not configured
SAP Screen Personas OnCreateHandler Script Button to Run At Page Load
Press F Key on SAP Personas Script Button for F3
PushOnEnter Event on SAP Personas like OnKeyPress in Javascript
How SAP Screen Personas Improve Business Value
SAP Screen Personas Set Default Selection in DropDown List
Function module is not released for the Internet

Copyright © 2004 - 2020 Eralper YILMAZ. All rights reserved.
Community Server by Telligent Systems