Ansicht
Dokumentation

ABENLIST_FORMAT_COLOR_ABEXA - LIST FORMAT COLOR ABEXA

ABENLIST_FORMAT_COLOR_ABEXA - LIST FORMAT COLOR ABEXA

Vendor Master (General Section)   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

- Using Colors

This example demonstrates how colors can make lists easier to read.

Source Code

Execute

Description

All headers are displayed with the background color COL_HEADING. The key fields from the table SPFLI are defined using COL_KEY. At the event GET sflight, the list body has a different line background color (COL_NORMAL) than the background of the list (COL_BACKGROUND). In addition, flights where the number of bookings falls below a certain minimum number, have a red background. The total number of bookings for each flight has a yellow background.

It should be noted that after each event the system assumes the default setting (COLOR OFF, INTENSIFIED ON). For this reason, the line background of 'Total Bookings:' at the event GET LATE becomes COL_BACKGROUND again in the program above. INTENSIFIED is set to OFF here to preserve the same foreground color as for the other values displayed.






Addresses (Business Address Services)   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 1170 Date: 20240426 Time: 111720     sap01-206 ( 29 ms )