<?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 and data on the same output screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/graph-and-data-on-the-same-output-screen/m-p/5904453#M1328669</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    how to you process "Graph and data on the same output screen", i have the same issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;P&gt;james&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: james huang on Dec 28, 2009 10:51 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Dec 2009 09:51:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-12-28T09:51:40Z</dc:date>
    <item>
      <title>Graph and data on the same output screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/graph-and-data-on-the-same-output-screen/m-p/5904449#M1328665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can we display graph, selected input and some text  corresponding to the graph on the same output screen?..&lt;/P&gt;&lt;P&gt;I am using GFW_PRES_SHOW function to display the graph.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2009 11:33:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/graph-and-data-on-the-same-output-screen/m-p/5904449#M1328665</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-29T11:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: Graph and data on the same output screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/graph-and-data-on-the-same-output-screen/m-p/5904450#M1328666</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;Check this demo program GFW_DEMO_HIER2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2009 11:38:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/graph-and-data-on-the-same-output-screen/m-p/5904450#M1328666</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-29T11:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Graph and data on the same output screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/graph-and-data-on-the-same-output-screen/m-p/5904451#M1328667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2009 08:58:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/graph-and-data-on-the-same-output-screen/m-p/5904451#M1328667</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-23T08:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Graph and data on the same output screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/graph-and-data-on-the-same-output-screen/m-p/5904452#M1328668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it is possible to have multiple items (Grid, Pictures, graph, calendar, text editor etc) in the same output screen. This can be achieved using Control Frameworks. You can see the following code that is used to display a table and a graph in the same output screen. However a study on Control framework will give you a wider picture.&amp;lt;br /&amp;gt; &amp;lt;u&amp;gt;Steps involved:&amp;lt;/u&amp;gt;&amp;lt;br /&amp;gt; u2022Create different custom controls in the screen painter to hold the different items to be displayed.&amp;lt;br /&amp;gt; u2022Create objects for these  containers&amp;lt;br /&amp;gt; u2022Link the application control ( graph, ALV, text editor etc) with the objects of the container control.&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; TYPE-POOLS: GFW.&lt;/P&gt;&lt;P&gt;Data: cust1       TYPE REF TO cl_gui_custom_container,&lt;/P&gt;&lt;P&gt;         cust2       TYPE REF TO cl_gui_custom_container,&lt;/P&gt;&lt;P&gt;         grid1       TYPE REF TO cl_gui_alv_grid,&lt;/P&gt;&lt;P&gt;         i_fieldcat1 TYPE lvc_t_fcat,&lt;/P&gt;&lt;P&gt;         wa_fieldcat1 TYPE lvc_s_fcat.&lt;/P&gt;&lt;P&gt;&amp;amp;nbsp;&lt;/P&gt;&lt;P&gt;In PBO:&lt;/P&gt;&lt;P&gt;--&amp;amp;gt;&amp;amp;gt;Creating a container object to hold the table &amp;amp;nbsp;&lt;/P&gt;&lt;P&gt; IF cust1 IS INITIAL.&lt;/P&gt;&lt;P&gt;    CREATE OBJECT cust1&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        container_name              = 'CUSTOM_TABLE'&lt;/P&gt;&lt;P&gt;      EXCEPTIONS.&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;CREATE OBJECT grid1&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        i_parent          = cust1&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&amp;amp;nbsp;&lt;/P&gt;&lt;P&gt;*****Manually fill the field catalog&lt;/P&gt;&lt;P&gt;*******Fill the details &amp;lt;font color="navy"&amp;gt;&amp;lt;b&amp;gt;for&amp;lt;/b&amp;gt;&amp;lt;/font&amp;gt; grid1&lt;/P&gt;&lt;P&gt;  CALL METHOD grid1-&amp;amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt;&amp;amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="8" type="ul"&gt;&lt;P&gt;Refresh the table data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;  CALL METHOD grid1-&amp;amp;gt;refresh_table_display&lt;/P&gt;&lt;P&gt;    EXCEPTIONS.&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;--&amp;amp;gt;&amp;amp;gt; creating a container object  to hold the graph&lt;/P&gt;&lt;P&gt;  IF cust2 IS INITIAL.&lt;/P&gt;&lt;P&gt;    CREATE OBJECT cust2&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        container_name              = 'CUSTOM_GRAPH'&lt;/P&gt;&lt;P&gt;      EXCEPTIONS.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&amp;lt;/code&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;br /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;br /&amp;gt;&lt;/P&gt;&lt;P&gt;Then you can call the function Module 'GFW_PRES_SHOW'  and pass the container object name (cust2) for PARENT parameter and display  the graph.&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt;&lt;/P&gt;&lt;P&gt;Note: Here  'CUSTOM_TABLE' &amp;amp; 'CUSTOM_GRAPH' are the names given to the Custom controls created in the screen painter of the output screen. &amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; It is important to free the containers once used. So in the PAI,&amp;lt;br /&amp;gt; **--&amp;amp;gt;&amp;amp;gt; free the containers&amp;lt;br /&amp;gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD cust1-&amp;amp;gt;free&amp;lt;br /&amp;gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD cust2-&amp;amp;gt;free&amp;lt;br /&amp;gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD grid1-&amp;amp;gt;free.&amp;lt;br /&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Dec 2009 04:28:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/graph-and-data-on-the-same-output-screen/m-p/5904452#M1328668</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-24T04:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Graph and data on the same output screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/graph-and-data-on-the-same-output-screen/m-p/5904453#M1328669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    how to you process "Graph and data on the same output screen", i have the same issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;P&gt;james&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: james huang on Dec 28, 2009 10:51 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2009 09:51:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/graph-and-data-on-the-same-output-screen/m-p/5904453#M1328669</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-28T09:51:40Z</dc:date>
    </item>
  </channel>
</rss>

