01-08-2008 2:00 PM
Dear Friends,
I am developing one application using module pool programming.
The initial screen has User ID and Password fields.
I want to keep the User ID field strictly alphanumeric and have subroutines in place to check that.
What I want is that the cursor should remain at the User ID field whenever I press TAB or Click on the Password input field after entering a non alphanumerical User ID.
How can I achieve this?
01-09-2008 1:18 AM
That's not the nature of the SAPGui... it works in "block mode" which means the application server (and hence your ABAP) does not see the user's data values until it is sent from the front end... so unless you build your input fields in a front-end control (such as in the demo program SAPHTML_EVENTS_DEMO) and have "loss of focus" style validation in that layer (e.g. via Javascript), you won't be able to do this.
Jonathan
01-09-2008 1:18 AM
That's not the nature of the SAPGui... it works in "block mode" which means the application server (and hence your ABAP) does not see the user's data values until it is sent from the front end... so unless you build your input fields in a front-end control (such as in the demo program SAPHTML_EVENTS_DEMO) and have "loss of focus" style validation in that layer (e.g. via Javascript), you won't be able to do this.
Jonathan
01-09-2008 4:03 AM