skaa написал(а):
Добрый день!
На своем экране(созданном в редакторе экранов) есть поле ввода даты, а так же другие поля. При нажатии на кнопку Enter на поле ввода даты хотелось бы отлавливать событие Enter. Возможно ли такое?
https://help.sap.com/saphelp_nw73ehp1/helpdata/en/4a/44b52897311cd4e10000000a421937/frameset.htmПодвяжите код функции в статусе под иконку "V" это есть энтер.
Цитата:
The ENTER key is associated with the icon in the standard toolbar, and is always active, even if no function is assigned to it in the GUI status, or if there is no GUI status set at all. The PAI event is always triggered when the user chooses ENTER. The following function codes can be passed to sy-ucomm or the OK_CODE field:
When an entry is made in the command field on the toolbar, it is passed to sy-ucomm and the OK_CODE field a function code.
If no entry is made in the command field and a function code is assigned to the ENTER key in Menu Painter, this function code is passed to sy-ucomm and the OK_CODE field.
If the command field does not contain an entry and no function code is assigned to the ENTER key in Menu Painter, the function code is empty and therefore not passed to sy-ucomm or the OK_CODE field.