Fonction SAP BARC_DEF_MAKRO - Macro identification

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
M_DEF BCMAKRO-M_DEF C 80 Macro definition
M_TYPE BCMAKRO-M_TYPE C 2 Macro type
WINID NET_GRAPH-WINID C 8 SPACE X Window ID

Paramètre Reférence Type Long. Description
ID BCMAKRO-ID I 4 Identification

Exception Description
INV_WINID Incorrect window ID


When the same types of objects are created or changed the amount ofdata that is sent to the graphic can be reduced by defining makros withthis module.
This module is also available as form routine 'DEF_MAKRO'
Macro definition. The first and last characters must be the delimiter.
The following combinations are possible for node macros:
o 'A' = BC_CONST-ADD_LAYER with two-figure layer type
o 'R' = BC_CONST-REMOVE_LAYER with two-figure layer type
o 'F' = BC_CONST-FORM_TYPE with two-figure form type
for nodes or row boxes
o 'h' = BC_CONST-COROR_TYPE with two-figure color type
o 'C' = BC_CONST-SET_CALENDAR with calendar ID
o 'D' = BC_CONST-REMOVE_CALENDAR with calendar ID
o 'S' = BC_CONST-SELECTED_NODE with corresponding indicators
o '00' - '99' as text index with name
Specify a two-figure text index
Examples: /A/42/A/43/A/44/A/45/A/46/A/47/R/41/
/A/42/C/1/D/1/A/04/Text a/12/Text b/
Color and form type can be used for box macros.
All possible layer attributes can be used for layer macros.
Macro type
Node macro: BC_CONST-NODE_MAKRO = 'N'
Box macro: BC_CONST-BOX_MAKRO = 'B'
Layer macro: BC_CONST-LAYER_MAKRO = 'L'