Fonction SAP BARC_ADD_SECTION - Create a section of the time axis

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
SIZE BCSECTION-SIZE I 4 100 X Length of the time unit
START BCSECTION-START C 20 Start date
UNIT BCSECTION-UNIT C 3 '5' X Time unit
WINID NET_GRAPH-WINID C 8 SPACE X Window ID

Paramètre Reférence Type Long. Description
ID BCSECTION-ID I 4 Section identification

Exception Description
INV_WINID Incorrect window identification


With the sections the time axis can be divided into at most eightparts. Every section has a different time unit. Per time unit the width(SIZE) is specified as it should appear in the bar chart graphic. Thiscreates a magnifying function.
This module is also available as the form routine 'ADD_SECTION'.
Identification of the section.
Width of the time unit of the section to be defined in the time axis.
This width should be defined in 1/100 mm.
Starting date of the section.
The date must be defined in bar chart format.
Section unit.
Possible input values:
======================
Value|Constants |Meaning
-----+--------------------------+-----------
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
0 |BC_CONST-VERTICAL_SECTION |Vertical section for curves
If the Window ID is set, it must be 'BARCx', where for x the valuesSPACE, 1 to 9 and A to Z are available; see dialog programming.