<?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: Calling A Report Program From DIALOG Program ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-report-program-from-dialog-program/m-p/6704818#M1452927</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;Hi , 
&amp;lt;li&amp;gt;Define Internal table in the TOP include of the Dialog program. 
&amp;lt;li&amp;gt;When you click on &lt;STRONG&gt;REPORT&lt;/STRONG&gt; button. Use the below statement to display the internal table data. No need to use SUBMIT statement 
&lt;PRE&gt;&lt;CODE&gt;
CASE sy-ucomm.
	WHEN 'REPORT'.
    LEAVE TO LIST-PROCESSING AND RETURN to SCREEN 0.
	WHEN OTHERS.
ENDCASE.
"After this you can loop internal table and use WRITE statement to display. 
&lt;/CODE&gt;&lt;/PRE&gt;

Thanks
Venkat&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Mar 2010 09:08:43 GMT</pubDate>
    <dc:creator>venkat_o</dc:creator>
    <dc:date>2010-03-04T09:08:43Z</dc:date>
    <item>
      <title>Calling A Report Program From DIALOG Program ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-report-program-from-dialog-program/m-p/6704813#M1452922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi helping Minds ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is like....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a screen, where Datas Are displayed after all the calculation in TABLECONTROL .&lt;/P&gt;&lt;P&gt;The user wants a button &lt;STRONG&gt;REPORT&lt;/STRONG&gt; on the same Screen , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By clicking the REPORT button, it will call a &lt;STRONG&gt;SELECTION SCREEN&lt;/STRONG&gt; to enter tthe input to dispaly the report list.&lt;/P&gt;&lt;P&gt;After entering the data in selection screen , it will display the LIST output ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my doubt is I have all the Data in * DIALOG SCREEN* ,which i have  stored in &lt;STRONG&gt;INTERNAL TABLE&lt;/STRONG&gt; .&lt;/P&gt;&lt;P&gt;and when i will dispaly the output i have to dispaly all those data which are in those INTERNAL TABLE. so how to transfer those INTERNAL TABLE data of Dialog Screen to REPORT , so that i can Dispaly them in LIST OUTPUT in report . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls suggest me ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Mar 2010 06:45:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-report-program-from-dialog-program/m-p/6704813#M1452922</guid>
      <dc:creator>NR_Ranasingh</dc:creator>
      <dc:date>2010-03-04T06:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: Calling A Report Program From DIALOG Program ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-report-program-from-dialog-program/m-p/6704814#M1452923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried the statements like &lt;EM&gt;EXPORT itab to memory id 'ABC'  and IMPORT itab to memory id 'ABC'&lt;/EM&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Mar 2010 07:00:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-report-program-from-dialog-program/m-p/6704814#M1452923</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-04T07:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Calling A Report Program From DIALOG Program ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-report-program-from-dialog-program/m-p/6704815#M1452924</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;If i am not wrong.....you have the data to be displayed as a report in an internal table......when report button is pressed you want to display one selection screen .....and depending on the selection screen input search you want ti segregate the data of this internal table ...and show as list display.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if that is the case .....store the internal table data globally .....and ...when that button is clicked call the selection screen by usong POPUP_GET_VALUES.. with the requred fields or call your own screen  with the layout designed .......and get the search criteria data and sort the internal table according the search adn display in ALV ......for ALV creation in module pool see the link below ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5077724"&gt;&lt;/A&gt;]&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;Shailaja Ainala.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Mar 2010 07:21:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-report-program-from-dialog-program/m-p/6704815#M1452924</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-04T07:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: Calling A Report Program From DIALOG Program ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-report-program-from-dialog-program/m-p/6704816#M1452925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure you need a separate report?  If there's no parameters needed you can simply write the list to a "canvas" dialog screen within your module pool... typically your "canvas" dialog screen logic would be something like:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
* dynpro has no fields on it
process before output.
  module suppress_dialog.   "in here you just code a "suppress dialog".

process after input.
  module d0999_write_list.  "in here you code your "set titlebar", "set pf-status" and a "leave to list-processing" then write the report

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Mar 2010 07:41:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-report-program-from-dialog-program/m-p/6704816#M1452925</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-04T07:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Calling A Report Program From DIALOG Program ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-report-program-from-dialog-program/m-p/6704817#M1452926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HAI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you can use the Submit Statement to call the report and to display the data use the Export and Import statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;rama&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Mar 2010 08:54:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-report-program-from-dialog-program/m-p/6704817#M1452926</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-04T08:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Calling A Report Program From DIALOG Program ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-report-program-from-dialog-program/m-p/6704818#M1452927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;Hi , 
&amp;lt;li&amp;gt;Define Internal table in the TOP include of the Dialog program. 
&amp;lt;li&amp;gt;When you click on &lt;STRONG&gt;REPORT&lt;/STRONG&gt; button. Use the below statement to display the internal table data. No need to use SUBMIT statement 
&lt;PRE&gt;&lt;CODE&gt;
CASE sy-ucomm.
	WHEN 'REPORT'.
    LEAVE TO LIST-PROCESSING AND RETURN to SCREEN 0.
	WHEN OTHERS.
ENDCASE.
"After this you can loop internal table and use WRITE statement to display. 
&lt;/CODE&gt;&lt;/PRE&gt;

Thanks
Venkat&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Mar 2010 09:08:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-report-program-from-dialog-program/m-p/6704818#M1452927</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2010-03-04T09:08:43Z</dc:date>
    </item>
  </channel>
</rss>

