Posted: Fri Nov 14, 2008 5:22 pm Post subject: Запрет выхода с селекционного экрана
Добрый вечер!
Ставится проверка на допустимость значения в поле. Как бы сделать, чтобы при нажатии пользователем Esc программа не завершалась?
Code:
AT SELECTION-SCREEN ON p_per2.
PERFORM check_interval.
IF cb_norm IS INITIAL.
IF NOT p_per1 IS INITIAL AND
NOT p_per2 IS INITIAL AND
p_per1 > p_per2.
MESSAGE e000(su) WITH text-e10.
ENDIF.
ENDIF.
Age: 40 Joined: 01 Feb 2008 Posts: 387 Location: Воронеж
Posted: Mon Nov 17, 2008 12:23 pm Post subject:
Может, просто выдавать сообщение какого либо другого типа? _________________ Hормальные люди делают вещи намного более безумные чем всё, что делают сумасшедшие (c) С.Лем
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG. SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG. Every effort is made to ensure content integrity. Use information on this site at your own risk.