Гуля написал(а):
Привет всем! Поскажите пожалуйста как после выданной Message ошибки ,который обрабатывается после Start-of-Selection ,надо выйти заново в селекционный экран!
Code:
MESSAGE 'Error' TYPE 'S' DISPLAY LIKE 'E'.
EXIT.
Цитата:
Processing block
START-OF-SELECTION
Message type
--------------------------------------------------------------
A| E | I | S| W| X |
--------------------------------------------------------------
1| 11| 3| 4| E | 6 |
--------------------------------------------------------------
1. The message is displayed in a dialog box. After the dialog box is exited, the program is terminated and processing returns to the calling position of the first program of the current call sequence. All internal sessions of the call chain are deleted and a database rollback is performed.
3. The message is displayed in a dialog box. After the dialog box is exited, the program is resumed after the statement MESSAGE.
4. The program is continued after the statement MESSAGE. The message is displayed as standard in the screen of the next dynpro in the status bar of the current window.
6. The program is terminated, a database rollback is executed, and the runtime error MESSAGE_TYPE_X is triggered. The short dump of the runtime error is displayed, which contains the ID, the short text, and the long text of the message.
11. The program is terminated and an empty screen is displayed with an empty GUIstatus. The message is displayed in the status bar of the current window as standard. After a user action, processing returns to the calling position of the program.
Также можете посмотреть программу DEMO_MESSAGES.
после MESSAGE type E -> экран выбора