Fonction SAP BARC_ADD_RIBBON - Create a ribbon

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CHART_ID BCRIBBON-CHART_ID I 4 Chart identification
COLOR_TYPE BCRIBBON-COLOR_TYPE C 2 '00' X Color type
FORM_TYPE TBCF-TYPE C 2 SPACE X Format type
SECTION_ID BCRIBBON-SECTION_ID I 4 Section identification
UNIT BCRIBBON-UNIT C 3 '5' X Time unit, ribbon type
WINID NET_GRAPH-WINID C 8 SPACE X Window ID

Paramètre Reférence Type Long. Description
ID BCRIBBON-ID I 4 Identification of the ribbon

Exception Description
INV_WINID Incorrect window ID


Ribbons are time scales to be defined for every time axis per chart andsection.
The time scales are presented underneath one another.
This is also available as the form routine 'ADD_RIBBON'.
Identification of the ribbon.
Identification of the chart in which the ribbon is to be positioned.
Color type defining the colors and pattern with which the ribbon shouldbe represented.
The color types are maintained in customizing.
If the color type specified here is not defined, the default color type(00) is used.
The form type is maintained in customizing. This form type must beassigned a form in which the usage is indicated as 'axis'.
Only the switch 3-D effect is evaluated from this form.
A form defined for the ribbons should only contain one field. Thefields font type, marking, font size and font color are used from thisfield.
If no form type is specified, the attributes are set automatically.
If a form type is specified that does not exist in the graphic profileused, the default type '00' is used.
Identification of the section in which the ribbon should be positioned.
Unit of the ribbon to be defined.
Possible input values (constants from Include file LBARCCON):
Value|Constant |Meaning, type
-----+-----------------------+-----------------------
1 |BC_CONST-YEAR_UNIT |Year
2 |BC_CONST-QUATER_UNIT |Quarter
3 |BC_CONST-MONTH_UNIT |Month
4 |BC_CONST-WEEK_UNIT |Week
5 |BC_CONST-DAY_UNIT |Day
6 |BC_CONST-HOUR_UNIT |Hour
7 |BC_CONST-MINUTE_UNIT |Minute
8 |BC_CONST-SECOND_UNIT |Second
12 |BC_CONST-SHIFT_UNIT |Shift ribbon
138 |BC_CONST-VERTICAL_RIBBON|Vertical ribbon for folded time axis
139 |BC_CONST-CALENDAR_UNIT |Calendar ribbon
152 |BC_CONST-CURVE_RIBBON |Numerical ribbon for curve
If the Window ID is set, it must be 'BARCx', where x can have the valueSPACE, 1 to 9 or A to Z; see interactive programming.