2006 Sep 07 4:42 AM
What should be the structure of the internal tables DATA & OPTS for the function GRAPH_MATRIX_3D?
2006 Sep 07 4:57 AM
The <b>DATA</b> table provides the function module with the data for the graph. Each row in the table has the following fields:
Data text: a label for this row of data values in the graph. This field is a character string of any length.
Any number of data values: the numeric values to be represented in the graph. These fields can be of type P or F.
For example
DATA: BEGIN OF gt_data occurs 0,
DATANAME(15),
QUANTITY1 TYPE I,
QUANTITY2 TYPE I,
QUANTITY3 TYPE I,
END OF gt_data.
<b>Options</b> table
This parameter contains a table of display options. Setting the OPTS parameter allows the ABAP program to determine the appearance of the generated graph. You can set any display option available to the online user in the SAP Business Graphics menus.
Setting options in this table only determines the initial appearance of the display. The online user is still free to reset these options once the display appears on the monitor screen.
Each element in the OPTS table is a string with the format:
OptionKey = Value
for example
BEGIN OF gt_options OCCURS 0,
OPTION(20),
END OF gt_options.
You can have a look at the SAP Demo program <b>BCGRBU99</b>
What should be the structure of the internal tables DATA & OPTS for the function GRAPH_MATRIX_3D?
2006 Sep 07 4:57 AM
The <b>DATA</b> table provides the function module with the data for the graph. Each row in the table has the following fields:
Data text: a label for this row of data values in the graph. This field is a character string of any length.
Any number of data values: the numeric values to be represented in the graph. These fields can be of type P or F.
For example
DATA: BEGIN OF gt_data occurs 0,
DATANAME(15),
QUANTITY1 TYPE I,
QUANTITY2 TYPE I,
QUANTITY3 TYPE I,
END OF gt_data.
<b>Options</b> table
This parameter contains a table of display options. Setting the OPTS parameter allows the ABAP program to determine the appearance of the generated graph. You can set any display option available to the online user in the SAP Business Graphics menus.
Setting options in this table only determines the initial appearance of the display. The online user is still free to reset these options once the display appears on the monitor screen.
Each element in the OPTS table is a string with the format:
OptionKey = Value
for example
BEGIN OF gt_options OCCURS 0,
OPTION(20),
END OF gt_options.
You can have a look at the SAP Demo program <b>BCGRBU99</b>
2006 Sep 07 5:26 AM
hi Pooja,
chek this program RLS10040 where that Function module was used
Pls reward if helpful
2006 Sep 07 5:28 AM