Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Classical report ON INPUT

Former Member
0 Likes
353

in the output of a classical report i have allowed a field with <b>INPUT ON,</b>

and i want to read all the lines of the report output and the values entered in the INPUT ON field.

how this can be achieved.

rewards if helpful.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
326

WRITE - ext_format_options

Syntax

... [COLOR {{{color [ON]}|OFF}|{= col}}]

[INTENSIFIED [{ON|OFF}|{= flag}]]

[INVERSE [{ON|OFF}|{= flag}]]

[HOTSPOT [{ON|OFF}|{= flag}]]

<b>[INPUT [{ON|OFF}|{= flag}]]</b> [FRAMES [{ON|OFF}|{= flag}]]

[RESET] ... .

Effect

The meaning of the additions is the same as for the statement FORMAT, with the difference that they only affect the output of the current WRITE statement. If the additions are not specified, the standard settings described in FORMAT or the settings set by the previous FORMAT statements are used.

Note

The use of such an addition in the WRITE statement overrides the standard settings or the formats set by the previous FORMAT statements for exactly one output and for exactly the property concerned. All the other properties and the subsequent WRITE statements are not affected.

Example

Changing the background color for output of the data oject sum. All the other outputs and spaces between the outputs have the background color that is set in the FORMAT statement.

DATA sum TYPE i.

FORMAT COLOR COL_NORMAL.

DO 10 TIMES.

WRITE / sy-index.

sum = sum + sy-index.

WRITE sum COLOR COL_TOTAL.

ENDDO.

ULINE.

WRITE sum UNDER sum COLOR COL_GROUP.

1 REPLY 1
Read only

Former Member
0 Likes
327

WRITE - ext_format_options

Syntax

... [COLOR {{{color [ON]}|OFF}|{= col}}]

[INTENSIFIED [{ON|OFF}|{= flag}]]

[INVERSE [{ON|OFF}|{= flag}]]

[HOTSPOT [{ON|OFF}|{= flag}]]

<b>[INPUT [{ON|OFF}|{= flag}]]</b> [FRAMES [{ON|OFF}|{= flag}]]

[RESET] ... .

Effect

The meaning of the additions is the same as for the statement FORMAT, with the difference that they only affect the output of the current WRITE statement. If the additions are not specified, the standard settings described in FORMAT or the settings set by the previous FORMAT statements are used.

Note

The use of such an addition in the WRITE statement overrides the standard settings or the formats set by the previous FORMAT statements for exactly one output and for exactly the property concerned. All the other properties and the subsequent WRITE statements are not affected.

Example

Changing the background color for output of the data oject sum. All the other outputs and spaces between the outputs have the background color that is set in the FORMAT statement.

DATA sum TYPE i.

FORMAT COLOR COL_NORMAL.

DO 10 TIMES.

WRITE / sy-index.

sum = sum + sy-index.

WRITE sum COLOR COL_TOTAL.

ENDDO.

ULINE.

WRITE sum UNDER sum COLOR COL_GROUP.