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
Development resources, articles, tutorials, code samples, tools and downloads for SAP HANA and ABAP, HANA Database, SQLScript, SAP UI5, Screen Personas, Web Dynpro, Workflow

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.



Install SAP Free
CRM Companies List
Web Based CRM Software

Copyright © 2004 - 2021 Eralper YILMAZ. All rights reserved.