Fonction SAP BARC_SET_GRID_ATTRIB - Set grid attributes

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
FL BCVALS-FL C 2 Attribute type
ID BCVALS-ID I 4 Identification
VAL BCVALS-VAL C 80 Attribute value

This module is also available as the form routine 'SET_GRID_ATTRIB'.
The attribute type determines the use of the value.
The following lists all possible types, the values resulting from themand the constants reserved for the types in the Include file LBARCCON.
Type|Value/meaning |
----+------------------------------------------+-----------------------
'c' |Calendar ID of the calendar to be |BC_CONST-CALENDAR
|assigned to the grid |
'h' |Color type to be assigned to the grid |BC_CONST-COLOR_TYPE
'p' |Interval in which the timelines appear |BC_CONST-PERIOD
|The default value is 1, i.e. every time |
|line is displayed. |
's' |Section in which the grid is to be |BC_CONST-SECTION
|positioned. |
't' |New time unit to be assigned to the grid |BC_CONST-GRID_TIME_UNIT
|For possible values see |
|'BARC_ADD_GRID' parameter 'UNIT'. |
'a' |Specifies in which line the display of |BC_CONST-POSITION_BEGIN
|calendar or the grid begins. |
'e' |Specifies in which line the display of |BC_CONST-POSITION_END
|calendar or the grid ends. |
'r' |Sets the grid priority |BC_CONST-GRID_PRIORITY
|Default = 0 |
|Set of values: -128 bis +128 |
|The higher the priority, the further |
|forward the grid is drawn. |
'd' |Offset for periodically displayed grids |BC_CONST-GRID_OFFSET
|The offset can be given as a date or in |
|seconds since 1900. |
'b' |Adding scope |BC_CONST-ADD_SCOPE
|Specify the interval in the form start/end|
|e.g. 3/7 (line 3 to 7). |
'f' |Subtract scope |BC_CONST-REMOVE_SCOPE
|as above, however only those scopes can be|
|subtracted that were previously added. |
'x' |Delete all scopes |BC_CONST-DEL_COMP_SCOPE
'v' |Grid visibility |BC_CONST-VISIBILITY
|visible: VAL = '1' = BC_CONST-ON |
|not visible: VAL = '0' = BC_CONST-OFF |
'!' |Object name in customizing wizard |BC_CONST-WIZARD_TEXT
'w' |Line height of the grid for folded time |
|axes |
'm' |Merge calendar of the grid for folded |
|time axes (analogous to section attribute)|
Note:
'a', 'e':
If neither the beginning nor the end is specified, the calendar displayis for all the lines.
Is also valid for folded time axes. If the vertial part should only bedisplayed in the right column, this is done automatically.
Identification number for the time grid that is to be changed.
The value specified here depends on the attribute type (see field'FL').