ABAP/4   ОКМ   ДМ   экономическая информатика   4GL   Теория и практика обработки информации

Компьютерный язык ABAP/4 - ключевые слова

SET

Basic form

SET USER-COMMAND f.

Effect

Only valid with report list output:

Sets the contents of the field f as USER-COMMAND and executes them immediately when the list is next displayed (i.e. the system suppresses the list display und immediately processes the event AT LINE-SELECTION , AT USER-COMMAND or, in the case of a system function code (list of reserved function codes, see AT USER-COMMAND ), this system function).
The effect is exactly as if the user had entered the function in the command field and pressed ENTER . This means that the current positioning of the list (SCROLL ) and the cursor (SET CURSOR ) is taken into account.

Note

You can specify SET USER-COMMAND several times in the same event.
If you set several functions one after the other with USER-COMMAND when creating a list, only the last one is effective.
If the function key ENTER in the GUI status of the relevant list itself contains a function code, this is executed rather than that specified with SET USER-COMMAND .

Example

Process a line selection immediately:
WRITE: 'List'... "Create a list SET CURSOR LINE 7.
SET USER-COMMAND 'PICK'.
The event AT LINE-SELECTION is processed immediately for list line 7.

Example

Process a function immediately:
WRITE: 'List'... "Create a list

SET USER-COMMAND 'FUN'.
Processes the event AT USER-COMMAND immediately; the system field SY-UCOMM contains the function code FUN .

Example

Leave list immediately:
WRITE: 'List'... "Create a list

SET USER-COMMAND 'BACK'.
The list is not displayed, but is left immediately.

Example

Create list with dialog box 'Find by...':
WRITE: 'List'... "Create a list

SET USER-COMMAND '%SC'.
The list is displayed with the dialog box 'Find by...'.

Index
© SAP AG 1996
ABAP/4   ОКМ   ДМ   экономическая информатика   4GL   Теория и практика обработки информации

НОВОСТИ ФОРУМА

Форум Рыцари теории эфира


Рыцари теории эфира
 10.11.2021 - 12:37: ПЕРСОНАЛИИ - Personalias -> WHO IS WHO - КТО ЕСТЬ КТО - Карим_Хайдаров.
10.11.2021 - 12:36: СОВЕСТЬ - Conscience -> РАСЧЕЛОВЕЧИВАНИЕ ЧЕЛОВЕКА. КОМУ ЭТО НАДО? - Карим_Хайдаров.
10.11.2021 - 12:36: ВОСПИТАНИЕ, ПРОСВЕЩЕНИЕ, ОБРАЗОВАНИЕ - Upbringing, Inlightening, Education -> Просвещение от д.м.н. Александра Алексеевича Редько - Карим_Хайдаров.
10.11.2021 - 12:35: ЭКОЛОГИЯ - Ecology -> Биологическая безопасность населения - Карим_Хайдаров.
10.11.2021 - 12:34: ВОЙНА, ПОЛИТИКА И НАУКА - War, Politics and Science -> Проблема государственного терроризма - Карим_Хайдаров.
10.11.2021 - 12:34: ВОЙНА, ПОЛИТИКА И НАУКА - War, Politics and Science -> ПРАВОСУДИЯ.НЕТ - Карим_Хайдаров.
10.11.2021 - 12:34: ВОСПИТАНИЕ, ПРОСВЕЩЕНИЕ, ОБРАЗОВАНИЕ - Upbringing, Inlightening, Education -> Просвещение от Вадима Глогера, США - Карим_Хайдаров.
10.11.2021 - 09:18: НОВЫЕ ТЕХНОЛОГИИ - New Technologies -> Волновая генетика Петра Гаряева, 5G-контроль и управление - Карим_Хайдаров.
10.11.2021 - 09:18: ЭКОЛОГИЯ - Ecology -> ЭКОЛОГИЯ ДЛЯ ВСЕХ - Карим_Хайдаров.
10.11.2021 - 09:16: ЭКОЛОГИЯ - Ecology -> ПРОБЛЕМЫ МЕДИЦИНЫ - Карим_Хайдаров.
10.11.2021 - 09:15: ВОСПИТАНИЕ, ПРОСВЕЩЕНИЕ, ОБРАЗОВАНИЕ - Upbringing, Inlightening, Education -> Просвещение от Екатерины Коваленко - Карим_Хайдаров.
10.11.2021 - 09:13: ВОСПИТАНИЕ, ПРОСВЕЩЕНИЕ, ОБРАЗОВАНИЕ - Upbringing, Inlightening, Education -> Просвещение от Вильгельма Варкентина - Карим_Хайдаров.
Bourabai Research - Технологии XXI века Bourabai Research Institution