In addition to the standard attributes attached to all Web objects, the Web Reporting template has additional attributes, also stored in WWWPARAMS.
WEBREPORTING_REPORT
When generating lists from ABAP reports, you can modify the standard template WEBREPORTING_REPORT to:
Set list colors (foreground and background)
Change the appearance of HTML tables
List Colors
Colors used in lists generated by ABAP reports are defined as template attributes. Both the list color names and their values are identical to those used for reporting in the SAP system. When defining values, you can either specify the color itself or use the HTML specification. SAP recommends the HTML specification.
Attribute |
Example value |
col_group |
#800080 |
col_background |
#0080cc |
col_heading |
#0080cc |
col_key |
#0080cc |
col_negative |
red |
col_normal |
#404040 |
col_positive |
#008000 |
col_total |
yellow |
col_selected |
#ff0000 |
Attribute |
Example value |
bg_colors |
yes |
col_group_bg |
#dd88dd |
col_background_bg |
none |
col_heading_bg |
#88aaee |
col_key_bg |
#00bfbf |
col_negative_bg |
#ee6666 |
col_normal_bg |
#d0d0d0 |
col_positive_bg |
#00ee00 |
col_total_bg |
#f0f008 |
col_selected_bg |
#ff0000 |
The suffix '_bg' corresponds to INTENSIFIED ON colors. If you want to define INTENSIFIED OFF colors, you use the suffx '_bl'.
HTML Table Attributes
The attributes of HTML tables have values similar to those shown in the following table:
Attribute |
Example values |
table_attributes |
border=1 cellspacing=1 cellpadding=6 |
Setting table attributes in this way is the same as using HTML tag table.
List Attributes
The style attributes have values similar to those shown in the following table:
Attribute |
Example values |
divList_attributes |
style="overflow:auto; height:80%; width:95%"; |
This specification activates scrollbars for the list. The attribute itself works only for interactive lists.