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

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

NEW-LINE

Basic form

NEW-LINE.

Addition




... NO-SCROLLING
... SCROLLING

Effect

Generates a new line during list processing.

Terminates the current list line and moves the cursor to the next list line. If there has been no output (with WRITE or SKIP ) since the last NEW-LINE , the NEW-LINE is ignored, i.e. no new line is started.

Notes

You can also generate a new line with WRITE AT /... .
The following key words implicitly generate a new line:
NEW-PAGE ,
CALL SCREEN .

Addition

... NO-SCROLLING

Effect

Flags the new line as "not movable" (i.e. horizontal scrolling has no effect). This allows you to keep title lines and indented comment lines or areas in the same position.

Notes


Example

Scattered comment lines - unmovable
NEW-PAGE LINE-SIZE 255. WRITE: / 'This line will be moved'. NEW-LINE NO-SCROLLING. WRITE: / 'This line will n o t be moved'. WRITE: / 'This line will be moved'.

Addition 2

... SCROLLING

Effect

Flags the new line as "not movable". Since SCROLLING is the default setting of NEW-LINE , it can normally be omitted.
You only have to use NEW-LINE SCROLLING after NEW-LINE NO-SCROLLING , which is not followed by any output. This ensures that the next line introduced with NEW-LINE also has the attribute SCROLLING .

Example

Conditional comment lines:
NEW-PAGE LINE-SIZE 255. WRITE: / 'This line will be moved'. NEW-LINE NO-SCROLLING. IF 0 = 1. WRITE: / 'Conditional comment line'. ENDIF. NEW-LINE. "Incorrect WRITE: / 'This line will n o t be moved'. WRITE: / 'This line will be moved'. NEW-LINE NO-SCROLLING. IF 0 = 1. WRITE: / 'Conditional comment line'. ENDIF. NEW-LINE SCROLLING. "Correct WRITE: / 'This line will be moved'.



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