SAP FORMAT - Reference ABAP Statements

Get Example source ABAP code based on a different SAP table
  


Standard SAP Help for FORMAT

FORMAT

ABAP Reference
ABAP Code Snippet


ABAP Syntax FORMAT [COLOR { { [=] { { COL_BACKGROUND

| {1 | COL_HEADING }
| {2 | COL_NORMAL }
| {3 | COL_TOTAL }
| {4 | COL_KEY }
| {5 | COL_POSITIVE }
| {6 | COL_NEGATIVE }
| {7 | COL_GROUP } } [ON] }
| OFF}
| {= col} }]
[INTENSIFIED [{ON|OFF}|{= flag}]]
[INVERSE [ {ON|OFF} | {= flag} ]]
[HOTSPOT [ {ON|OFF} | {= flag} ]]
[INPUT [{ON|OFF}|{= flag}]]
[FRAMES [{ON|OFF}|{= flag}]]
[RESET].
ABAP Code Snippet

What does it do? Formats a list by sections.

ABAP Addition ON | OFF | {= flag}
Switches a format on and off. flag checks the value for 0 or not equal to 0.
COLOR
Sets the color:

COL_BACKGROUNG - GUI-specific
1 | COL_HEADING - gray-blue
2 | COL_NORMAL - light gray
3 | COL_TOTAL - yellow
4 | COL_KEY - blue-green
5 | COL_POSITIVE - green
6 | COL_NEGATIVE - rot
7 | COL_GROUP - violet
= col - dynamic specification of a color key figure in col .
INTENSIFIED
Sets the intensity of the background color.
INVERSE
Switches between the foreground and the background.
HOTSPOT
Creates a hotspot for reacting to single mouse clicks.
INPUT
Creates an input area.
FRAMES
Controls the conversion of '-' and '|' into line elements.
RESET
Sets all settings apart from FRAMES to OFF.

Return to menu