<?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 submit and first screen? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-first-screen/m-p/4260695#M1016802</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends ı want to open  a main program with submit properties in click.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what do I do ?&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, 13 Aug 2008 08:08:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-13T08:08:01Z</dc:date>
    <item>
      <title>submit and first screen?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-first-screen/m-p/4260695#M1016802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends ı want to open  a main program with submit properties in click.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what do I do ?&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, 13 Aug 2008 08:08:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-first-screen/m-p/4260695#M1016802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-13T08:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: submit and first screen?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-first-screen/m-p/4260696#M1016803</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;From list output of one report u want to submit to another program, do processing and come back main program, is this the issue ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2008 08:11:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-first-screen/m-p/4260696#M1016803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-13T08:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: submit and first screen?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-first-screen/m-p/4260697#M1016804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use user-commands in your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at user-command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when 'SUBMIT'.&lt;/P&gt;&lt;P&gt;/////write the code to call program&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2008 08:14:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-first-screen/m-p/4260697#M1016804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-13T08:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: submit and first screen?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-first-screen/m-p/4260698#M1016805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Emrah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please read this...it will give you good idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT... &lt;A href="VIA SELECTION-SCREEN"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;          &lt;A href="USING SELECTION-SET var"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;          &lt;A href="WITH sel criterion"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;          &lt;A href="WITH FREE SELECTIONS freesel"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;          &lt;A href="WITH SELECTION-TABLE rspar"&gt;&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These additions have the following effects:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        VIA SELECTION-SCREEN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The selection screen of the called executable program appears. If you transfer values to the program using one or more of the other options, the corresponding input fields in the selections screen are filled. The user can change these values. By default, the system does not display a selection screen after SUBMIT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        USING SELECTION-SET &lt;VAR&gt;&lt;/VAR&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This addition tells the system to start the called program with the variant var. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        WITH sel criterion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this addition to fill individual elements sel of the selection screen (selection tables and parameters) with the help of the language elements criterion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        WITH FREE SELECTION freesel&lt;/P&gt;&lt;P&gt;User dialog for dynamic selections. To use this option, the called program must be connected to a logical database that supports dynamic selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        WITH SELECTION-TABLE rspar &lt;/P&gt;&lt;P&gt;Dynamic transfer of different values. An internal table rspar with the Dictionary structure RSPARAMS is created. This table can be filled dynamically in the calling program with all the required values for the selection screen of the called program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information on these additions, refer to the keyword documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Except for WITH SELECTION-TABLE, you can use any of the above options several times and in any combination within a SUBMITstatement. In particular, you can use the WITH sel addition several times for one single criterion sel. The only combination possible for the WITH SELECTION-TABLE addition is USING SELECTION-SET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the input fields on the selection screen are linked to SPA/GPA parameters, you can also use this technique to pass values to the selection screen (see Passing Data Between Programs).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following executable program creates a selection screen containing the parameter paramet and the selection criterion selecto:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  demo_program_submit_rep1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA number TYPE i.&lt;/P&gt;&lt;P&gt;PARAMETERS      paramet(14) TYPE c.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS  selecto FOR number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program DEMOdemo_program_submit_rep1 is called by the following program using various parameters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT demo_program_submit_sel_screen NO STANDARD PAGE HEADING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: int TYPE i,&lt;/P&gt;&lt;P&gt;      rspar TYPE TABLE OF rsparams,&lt;/P&gt;&lt;P&gt;      wa_rspar LIKE LINE OF rspar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RANGES seltab FOR int.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: 'Select a Selection!',&lt;/P&gt;&lt;P&gt;     / '----&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------" /&gt;&lt;P&gt;'.&lt;/P&gt;&lt;P&gt;SKIP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORMAT HOTSPOT COLOR 5 INVERSE ON.&lt;/P&gt;&lt;P&gt;WRITE: 'Selection 1',&lt;/P&gt;&lt;P&gt;     / 'Selection 2'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION.&lt;/P&gt;&lt;P&gt;  CASE sy-lilli.&lt;/P&gt;&lt;P&gt;    WHEN 4.&lt;/P&gt;&lt;P&gt;      seltab-sign = 'I'. seltab-option = 'BT'.&lt;/P&gt;&lt;P&gt;      seltab-low  = 1.   seltab-high   = 5.&lt;/P&gt;&lt;P&gt;      APPEND seltab.&lt;/P&gt;&lt;P&gt;      SUBMIT demo_program_submit_rep1 VIA SELECTION-SCREEN&lt;/P&gt;&lt;P&gt;                      WITH paramet eq 'Selection 1'&lt;/P&gt;&lt;P&gt;                      WITH selecto IN seltab&lt;/P&gt;&lt;P&gt;                      WITH selecto ne 3&lt;/P&gt;&lt;P&gt;                      AND RETURN.&lt;/P&gt;&lt;P&gt;    WHEN 5.&lt;/P&gt;&lt;P&gt;      wa_rspar-selname = 'SELECTO'. wa_rspar-kind = 'S'.&lt;/P&gt;&lt;P&gt;      wa_rspar-sign = 'E'. wa_rspar-option = 'BT'.&lt;/P&gt;&lt;P&gt;      wa_rspar-low  = 14.  wa_rspar-high = 17.&lt;/P&gt;&lt;P&gt;      APPEND wa_rspar TO rspar.&lt;/P&gt;&lt;P&gt;      wa_rspar-selname = 'PARAMET'. wa_rspar-kind = 'P'.&lt;/P&gt;&lt;P&gt;      wa_rspar-low  = 'Selection 2'.&lt;/P&gt;&lt;P&gt;      APPEND wa_rspar TO rspar.&lt;/P&gt;&lt;P&gt;      wa_rspar-selname = 'SELECTO'. wa_rspar-kind = 'S'.&lt;/P&gt;&lt;P&gt;      wa_rspar-sign = 'I'. wa_rspar-option = 'GT'.&lt;/P&gt;&lt;P&gt;      wa_rspar-low  = 10.&lt;/P&gt;&lt;P&gt;      APPEND wa_rspar TO rspar.&lt;/P&gt;&lt;P&gt;      SUBMIT demo_program_submit_rep1 VIA SELECTION-SCREEN&lt;/P&gt;&lt;P&gt;                      WITH SELECTION-TABLE rspar&lt;/P&gt;&lt;P&gt;                      AND RETURN.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After you start the program, a basic list appears and clicking the hotspots displays the selection screen of rep1 filled with different values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For both calls of demo_program_submit_rep1, the system transfers values that lead to two-line selection tables selecto. The second line appears in the respective dialog box Multiple Selection for Selecto. Without the VIA SELECTION-SCREEN option of the SUBMIT statement, paramet and selecto would be filled accordingly in demo_program_submit_rep1, but they would not be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;venkat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2008 08:15:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-and-first-screen/m-p/4260698#M1016805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-13T08:15:44Z</dc:date>
    </item>
  </channel>
</rss>

