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

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

REPORT

Basic form

REPORT rep.

Additions




1. ... NO STANDARD PAGE HEADING
2. ... LINE-SIZE col
3. ... LINE-COUNT lin(n)
4. ... MESSAGE-ID xx
5. ... DEFINING DATABASE ldb

Effect

Introduces the report. You can choose any name you like up to 8 characters long.

Example

REPORT ZREPNAME.

Note

Only standard SAP reports should begin with 'R'.

Addition 1

... NO STANDARD PAGE HEADING

Effect

Suppresses output of the standard page header (see NEW-PAGE ).

Addition 2

... LINE-SIZE col

Effect

Creates a report with col columns per line. The maximum line length permitted is 255 characters.
If the LINE-SIZE specification is missing, the line length corresponds to the current screen width. The system field SY-LINSZ contains the current line size for generating reports (see NEW-PAGE ... LINE-SIZE ).

Notes


Example

REPORT ZREPNAME LINE-SIZE 132.

Addition 3

... LINE-COUNT lin(n)

Effect

Creates a report with lin lines per page, of which n lines are reserved for the END-OF-PAGE processing. If you omit the " (n) ", the default value 0 applies. The system field SY-LINCT contains the current number of lines per page for generating reports.
If the LINE-COUNT specification is missing, the number of lines per page is calculated dynamically from the number of lines actually output on this page. Here, a page break no longer occurs automatically, but must be specified explicitly with NEW-PAGE , and the system field SY-LINCT is set to 0. (NEW-PAGE ... LINE-COUNT )

Note

The LINE-COUNT must not be enclosed in quotation marks. Further information about using LINE-COUNT .

Examples

REPORT ZREPNAME LINE-COUNT 65.
The page has 65 lines.
REPORT ZREPNAME LINE-COUNT 65(8).
The page has 65 lines, of which the last 8 are only defined by END-OF-PAGE .

Addition 4

... MESSAGE-ID xx

Effect

Takes the messages output by MESSAGE under the specified 2-character ID xx from table T100 .

Note

This ID must not be enclosed in quotation marks.

Example

REPORT RSTEST00 MESSAGE-ID SY.

Addition 5

... DEFINING DATABASE ...

Effect

All the database programs must specify in the REPORT statement the three-character name of the logical database to which they belong.
This addition is generated automatically (in the REPORT statement) when you create a logical database by selecting Utilities -> Development/test -> Logical databases .

Example

REPORT SAPDBKDF DEFINING DATABASE KDF.


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