Skip to Content
author's profile photo Former Member
Former Member

GRAPH_MATRIX_3D....

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.....

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jul 06, 2009 at 10:03 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 09, 2009 at 09:14 AM

    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. :o)

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.