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

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

SET RUN TIME ANALYZER ON/OFF

Variants

1. SET RUN TIME ANALYZER ON.
2. SET RUN TIME ANALYZER OFF.

Variant 1

SET RUN TIME ANALYZER ON.

Addition



... MODE mode

Effect

Switches on runtime analysis.

The return code value is set as follows:


SY-SUBRC = 0 Runtime analysis was switched on.
SY-SUBRC <> 0 Runtime analysis was not switched on because the performance data file was not open.

Addition

... MODE mode

Effect

Writes certain records to the performance data file and assigns the associated performance data to the superior entry. This ensures that the performance data file does not become too big through entries that cannot be used individually.
The processing mode mode controls write behavior when an object is measured. You can assign a whole value to the processing mode mode . MODE 0 is optional. MODE 0 has the following meaning:
Certain flags are set depending on the binary format of mode whose value is other than zero. If any of the following bits are of the binary value are set, the procedure is different:

Examples



a) SET RUN TIME ANALYZER ON MODE 3.
b) SET RUN TIME ANALYZER ON MODE 11.

a) and b) have the same effect because the 1st and 2nd bits are set in both cases (see the explanantions above).

Variant 2

SET RUN TIME ANALYZER OFF.

Effect

1. Closes the performance data file.
2. Switches off runtime analysis.

Example

DO 2 TIMES. IF SY-UNAME = 'SMITH'. CALL FUNCTION 'S_ABAP_TRACE_OPEN_FILE'. SET RUN TIME ANALYZER ON. ENDIF. * >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> * The modularization unit to be measured is called * here. * <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< IF SY-UNAME = 'SMITH'. SET RUN TIME ANALYZER OFF. ENDIF. ENDDO.


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