<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: GRAPH_2D FM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/graph-2d-fm/m-p/3339032#M800461</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;if you are intested in a chart that does not come up in its own window, have a look at the modern alternative: the chart engine.&lt;/P&gt;&lt;P&gt;Check out reports graphics_gui_ce_demo or graphics_igs_ce_test and see the SAP Chart Designer (SDN - Downloads - Tools for WebAS).&lt;/P&gt;&lt;P&gt;Regards, Kai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Feb 2008 12:11:25 GMT</pubDate>
    <dc:creator>kai_gutenkunst</dc:creator>
    <dc:date>2008-02-07T12:11:25Z</dc:date>
    <item>
      <title>GRAPH_2D FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/graph-2d-fm/m-p/3339030#M800459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any body explain me what is this FM do and how to use it ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;points will be rewarded for good answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 06:39:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/graph-2d-fm/m-p/3339030#M800459</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T06:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: GRAPH_2D FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/graph-2d-fm/m-p/3339031#M800460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function module GRAPH_2D calls up a 2D SAP Business graphic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As opposed to the function module GRAPH_MATRIX_2D, GRAPH_2D is very easy&lt;/P&gt;&lt;P&gt;to handle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To display an internal table with a text and value column in the form of&lt;/P&gt;&lt;P&gt;a diagram with vertical bars, you should use this function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GRAPH_MATRIX_2D is required, in particular, to represent various lines&lt;/P&gt;&lt;P&gt;and columns from a very large matrix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GRAPH_MATRIX_2D is also required for special types of displays.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only parameter that needs to be transferred is the DATA table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table DATA consists of two columns. The first column is a C field with&lt;/P&gt;&lt;P&gt;an arbitrary length. The second column is a value field that can be of&lt;/P&gt;&lt;P&gt;the type P or F.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All other transfer parameters are optional.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renjith Michael.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 10:16:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/graph-2d-fm/m-p/3339031#M800460</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T10:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: GRAPH_2D FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/graph-2d-fm/m-p/3339032#M800461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;if you are intested in a chart that does not come up in its own window, have a look at the modern alternative: the chart engine.&lt;/P&gt;&lt;P&gt;Check out reports graphics_gui_ce_demo or graphics_igs_ce_test and see the SAP Chart Designer (SDN - Downloads - Tools for WebAS).&lt;/P&gt;&lt;P&gt;Regards, Kai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 12:11:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/graph-2d-fm/m-p/3339032#M800461</guid>
      <dc:creator>kai_gutenkunst</dc:creator>
      <dc:date>2008-02-07T12:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: GRAPH_2D FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/graph-2d-fm/m-p/3339033#M800462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Renjith, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are incorrect.&lt;/P&gt;&lt;P&gt;The function module GRAPH_MATRIX_2D also requires the tables, OPTS and TCOL.&lt;/P&gt;&lt;P&gt;However, it is not required that these tables have data in them. It is only required that you pass them into the function module.&lt;/P&gt;&lt;P&gt;Use this webpage as a reference: [GRAPH_MATRIX_2D|http://www.consolut.com/en/s/sap-ides-access/d/s/doc/F-GRAPH_MATRIX_2D|GRAPH_MATRIX_2D]&lt;/P&gt;&lt;P&gt;To give you an example of it's use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  TYPES:  BEGIN OF data_row,
            label(10) TYPE c,
            value(15) TYPE p DECIMALS 4,
          END OF data_row.

  DATA: i_data TYPE TABLE OF data_row,
        i_opts TYPE TABLE OF string,
        i_tcol TYPE TABLE OF string.

  FIELD-SYMBOLS:
    &amp;lt;i_data&amp;gt; LIKE LINE OF i_data.

    DO 5 TIMES.
      APPEND INITIAL LINE TO i_data ASSIGNING &amp;lt;i_data&amp;gt;.
      &amp;lt;i_data&amp;gt;-label = 'label'.
      &amp;lt;i_data&amp;gt;-value = 100.
    ENDDO.

      CALL FUNCTION 'GRAPH_MATRIX_2D'
*       EXPORTING
*         AUTO_CMD_1        = ' '
*         AUTO_CMD_2        = ' '
*         INBUF             = ' '
*         INFORM            = ' '
*         MAIL_ALLOW        = ' '
*         NCOL              = ' '
*         NROW              = ' '
*         PWDID             = ' '
*         SET_FOCUS         = 'x'
*         SO_CONTENTS       = ' '
*         SO_RECEIVER       = ' '
*         SO_SEND           = ' '
*         SO_TITLE          = ' '
*         STAT              = ' '
*         SUPER             = ' '
*         TIMER             = ' '
*         TITL              = ' '
*         VALT              = ' '
*         WDID              = ' '
*         WINID             = ' '
*         WINPOS            = ' '
*         WINSZX            = '50'
*         WINSZY            = '50'
*         X_OPT             = ' '
*         NOTIFY            = ' '
*       IMPORTING
*         B_KEY             =
*         B_TYP             =
*         CUA_ID            =
*         MOD_COL           =
*         MOD_ROW           =
*         MOD_VAL           =
*         M_TYP             =
*         RBUFF             =
*         RWNID             =
        TABLES
          DATA              = i_data
          OPTS              = i_opts
          TCOL              = i_tcol
*       EXCEPTIONS
*         COL_INVALID       = 1
*         OPT_INVALID       = 2
*         OTHERS            = 3
         .
       IF SY-SUBRC &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
       ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2012 13:40:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/graph-2d-fm/m-p/3339033#M800462</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-07T13:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: GRAPH_2D FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/graph-2d-fm/m-p/3339034#M800463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This FM is used to display the data in 2D format. Instead you can try the below mentioned class and FM . It is used for creating graphical charts (bar, pie charts, lines graphs) in ABAP as GRAPH_2D FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two main methods for creating charts in ABAP&lt;/P&gt;&lt;P&gt;1)	Using the class CL_GFW&lt;/P&gt;&lt;P&gt;2)	Using the function module GFW_PRES_SHOW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are also other classes and function modules derived from these ones. &lt;/P&gt;&lt;P&gt;Use transaction GRAL to explore all possibilities provided by this class and this FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function Module GFW_PRES_SHOW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function module has IMPORTING, EXPORTING and TABLES parameters and EXCEPTIONS.&lt;/P&gt;&lt;P&gt;IMPORTING: -&lt;/P&gt;&lt;P&gt;CONTAINER or PARENT: - Container object in which the graphic is to be placed (PARENT must have the data type u201CTYPE REF TO CL_GUI_CONTAINERu201D).&lt;/P&gt;&lt;P&gt;TOP: - Alignment/upper edge of the parent object&lt;/P&gt;&lt;P&gt;LEFT: - Alignment/left hand edge of the parent object&lt;/P&gt;&lt;P&gt;HEIGHT: -Height of the control&lt;/P&gt;&lt;P&gt;WIDTH: - Width of the control&lt;/P&gt;&lt;P&gt;PRESENTATION_TYPE: - Diagram type = type in which all data series are represented (lines, points, vertical bar, pie ...) &lt;/P&gt;&lt;P&gt;The presentation type is determined by the constants in type group GFW (please refer to the documentation for the parameter PRESENTATION_TYPE).&lt;/P&gt;&lt;P&gt;If the PRESENTATION_TYPE is GFW_PRESTYPE_PIE_CHART make sure that the texts in the table parameters ROW_LABELS/COLUMN_LABELS are 20 characters or less, otherwise the sections of the pie are displayed white.&lt;/P&gt;&lt;P&gt;HEADER: - Header (plot area)&lt;/P&gt;&lt;P&gt;ORIENTATION : -Specifies how the data tables are interpreted&lt;/P&gt;&lt;P&gt;X_AXIS_TITLE: - Title/label for the X-axis&lt;/P&gt;&lt;P&gt;Y_AXIS_TITLE : -Title/label for the Y-axis&lt;/P&gt;&lt;P&gt;FORMAT: - Format of requested export&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;RETVAL: - First error occurred&lt;/P&gt;&lt;P&gt;CONTENT_TYPE: - Type of requested export &lt;/P&gt;&lt;P&gt;CONTENT_LENGTH: - Length of requested export&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;VALUES: - Line texts and (up to 32) values per line&lt;/P&gt;&lt;P&gt;COLUMN_TEXTS: - Column texts (up to 32)&lt;/P&gt;&lt;P&gt;ROW_LABELS: - Headings for unique line texts&lt;/P&gt;&lt;P&gt;COLUMN_LABELS: - Headings for the unique column texts&lt;/P&gt;&lt;P&gt;CONTENT: - Exported picture of graphic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward if u find this useful...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 10:14:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/graph-2d-fm/m-p/3339034#M800463</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-09T10:14:12Z</dc:date>
    </item>
  </channel>
</rss>

