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

GRAPH_MATRIX_3D....

Former Member
0 Likes
680

Hi Everybody,

Can anyone tell me what is the roll of table parameter opts while using the function module GRAPH_MATRIX_3D.

I have seen a code to pass a blank internal table having a character field to that parameter. The whole scenario is not clear tome.

SEEKING FOR YOUR HELP.....

2 REPLIES 2
Read only

former_member156446
Active Contributor
0 Likes
531

This is what its written in the FM documentation: ( try to read it )

Options 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

The following table provides all the names for options (OptionKey) and what values (Value) are allowed. Yes-no options (marked "N/X" in the table) can be turned on with the value 'X' and off with the value 'N'.

Not all options work in all cases. For example, for a 2D graph, you can not request the 3D or Selection views as initial views. For more detailed information about these options, see the following documentation:

BC SAP Graphics: User's Guide

Option keys and values for using the OPTS table parameter

Read only

Sreejith1
Contributor
0 Likes
531

Hi,

when graph is displayed yu can chage its mode of view(in 2D ,3D etc...). some time you need to view the graph as 2D in the first time. like wise lots of options are avilable in that table.

It the 'opts' gave the functionality

TYPES : BEGIN OF ty_opttable,

options(30) TYPE c,

END OF ty_opttable.

DATA : it_opttable TYPE STANDARD TABLE OF ty_opttable,

wa_opttable TYPE ty_opttable.

wa_opttable-options = 'FISTK2 = X'.

APPEND wa_opttable TO it_opttable.

wa_opttable-options = 'FIFRST = 3D'.

APPEND wa_opttable TO it_opttable.

wa_opttable-options = 'P3LINS = X'.

APPEND wa_opttable TO it_opttable.

wa_opttable-options = 'P3SIDE = 8'.

CALL FUNCTION 'GRAPH_MATRIX_3D'

EXPORTING

col1 = 'XXXXX'

col2 = 'XXXXX'

titl = 'XXXXX'

dim1 = 'XXXXX'

dim2 = 'XXXXX''

TABLES

data = lt_xxxxx

opts = it_opttable

EXCEPTIONS

OTHERS = 1.

if you got the solution, please close the thread. 🐵