Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Structure of ITABs in GRAPH_MATRIX_3D function module?

Former Member
0 Likes
640

What should be the structure of the internal tables DATA & OPTS for the function GRAPH_MATRIX_3D?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
524

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?

3 REPLIES 3
Read only

Former Member
0 Likes
525

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>

Read only

Former Member
0 Likes
524

hi Pooja,

chek this program RLS10040 where that Function module was used

Pls reward if helpful

Read only

0 Likes
524

check transaction <b>GRAL</b>