<?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: Dialog program and report in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-program-and-report/m-p/2694577#M623599</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , thanks for the help , but I would like to know if there is an easier way , can we convert the i/o fields into select- options or just some thing that can be used to specify a range. &lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Aug 2007 19:17:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-23T19:17:13Z</dc:date>
    <item>
      <title>Dialog program and report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-program-and-report/m-p/2694575#M623597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to create a dialog screen with a bunch of input fields that should be used by user to specify a search range . I know in reports it can be done with select options. How can it be done in dialog program. Also can I create a report and on executing the report can I call a dialog porgram screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 18:55:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-program-and-report/m-p/2694575#M623597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T18:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog program and report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-program-and-report/m-p/2694576#M623598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can embed a selection screen definition directly into your dynpro via a subscreen. Here is an example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0006 .

tables: mara.

* Custom Selection Screen 1010
selection-screen begin of screen 1010 as subscreen.
selection-screen begin of block b1 with frame title text-001.
parameters: p_rad1 radiobutton group grp1 default 'X',
            p_rad2 radiobutton group grp1,
            p_rad3 radiobutton group grp1.
select-options: s_matnr for  mara-matnr,
                s_matkl for  mara-matkl,
                s_mtart for  mara-mtart.
selection-screen end of block b1.
selection-screen end of screen 1010.


start-of-selection.

  call screen 100.
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Module  STATUS_0100  OUTPUT
*&amp;amp;---------------------------------------------------------------------*
module status_0100 output.
*  SET PF-STATUS 'xxxxxxxx'.
*  SET TITLEBAR 'xxx'.

endmodule.
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Module  USER_COMMAND_0100  INPUT
*&amp;amp;---------------------------------------------------------------------*
module user_command_0100 input.

endmodule.


* Screen screen 100 with a subscreen area called "subscreen_1010"
* Screen Flow Logic follows

*process before output.
*
*  module status_0100.
*
*  call subscreen subscreen_1010 including sy-repid '1010'.
*
*process after input.
*
*  call subscreen subscreen_1010 .
*
*  module user_command_0100.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Rich  Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 18:57:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-program-and-report/m-p/2694576#M623598</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-08-23T18:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog program and report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-program-and-report/m-p/2694577#M623599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , thanks for the help , but I would like to know if there is an easier way , can we convert the i/o fields into select- options or just some thing that can be used to specify a range. &lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 19:17:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-program-and-report/m-p/2694577#M623599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T19:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog program and report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-program-and-report/m-p/2694578#M623600</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;I have implemented the code you gave for embedding a report in a dynpro . However , the select options of the subscreen are not visible. WHen I check for errors in flow logic , the error message " Include block not specified " pops up. Is there a way around this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you &lt;/P&gt;&lt;P&gt;Krish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2007 15:05:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-program-and-report/m-p/2694578#M623600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-24T15:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog program and report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-program-and-report/m-p/2694579#M623601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you did something wrong, can you post your code in of your program as well as the code in the flow logic of the screen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To answer your other question, this is the easiest way,  it saves you from having to create and handle all of the internal workings of SELECT-OPTIONS in a selection screen, you don't want to go there, trust me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2007 15:24:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-program-and-report/m-p/2694579#M623601</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-08-24T15:24:28Z</dc:date>
    </item>
  </channel>
</rss>

