<?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: My submit statement does not work... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/my-submit-statement-does-not-work/m-p/1434381#M207244</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did u try debugging the code? Does it stop @ the IF condition?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; not sure why u would want to call another report at selection screen event. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; How did u call the second report from the first report? If you have set SUBMIT &amp;amp; RETURN in the first report u dont have to write that piece of code the control will automatically go back to the first report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Cheers&lt;/P&gt;&lt;P&gt; VJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Jul 2006 01:58:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-03T01:58:58Z</dc:date>
    <item>
      <title>My submit statement does not work...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/my-submit-statement-does-not-work/m-p/1434380#M207243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please look at my code below. What I want to do is go back to the selection-screen of zdealer_contacts(this is report 1). I made this code in zdealer_contacts_add_edit(this is report 2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PF-STATUS 'MAIN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-ucomm = 'E'.&lt;/P&gt;&lt;P&gt;  SUBMIT zdealer_contacts AND RETURN VIA SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked the value of the back button in pf-status main and it has a value of 'E'. Again, &lt;/P&gt;&lt;P&gt;Thank you guys and have a nice day!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 01:40:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/my-submit-statement-does-not-work/m-p/1434380#M207243</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2006-07-03T01:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: My submit statement does not work...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/my-submit-statement-does-not-work/m-p/1434381#M207244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did u try debugging the code? Does it stop @ the IF condition?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; not sure why u would want to call another report at selection screen event. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; How did u call the second report from the first report? If you have set SUBMIT &amp;amp; RETURN in the first report u dont have to write that piece of code the control will automatically go back to the first report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Cheers&lt;/P&gt;&lt;P&gt; VJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 01:58:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/my-submit-statement-does-not-work/m-p/1434381#M207244</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-03T01:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: My submit statement does not work...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/my-submit-statement-does-not-work/m-p/1434382#M207245</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;Let me explain my problem a bit clearly. I have reports, zreport1 and zreport2. Now, zreport1 has 2 selection-screens. Why? it depends on who uses zreport1. Now, assuming I called selection-screen 500 of zreport1 that lets users add, edit and display records. If he chooses add radioubutton it will do this in zreport1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT zdealer_contacts_add_edit AND RETURN&lt;/P&gt;&lt;P&gt;                                     WITH p_kunnr = v_kunnr&lt;/P&gt;&lt;P&gt;                                     WITH p_name1 = p_name1  "AVH&lt;/P&gt;&lt;P&gt;                                     WITH p_cdseq = space&lt;/P&gt;&lt;P&gt;                                     WITH p_flag = 'A'&lt;/P&gt;&lt;P&gt;                                     WITH p_addr = it_zts0001-zaddress&lt;/P&gt;&lt;P&gt;                                     WITH p_pers = it_zts0001-zcperson&lt;/P&gt;&lt;P&gt;                                     WITH p_numb = it_zts0001-zcnumber&lt;/P&gt;&lt;P&gt;                                     VIA SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, here lies the problem, for example the user presses back button instead of continuing the adding of records, it must go back to the selection-screen of zreport1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 02:04:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/my-submit-statement-does-not-work/m-p/1434382#M207245</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2006-07-03T02:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: My submit statement does not work...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/my-submit-statement-does-not-work/m-p/1434383#M207246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok understand so in the second report when the user clicks ont he back button does the code stop at the IF condition if u place a break point? The code seems ok to me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 02:15:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/my-submit-statement-does-not-work/m-p/1434383#M207246</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-03T02:15:21Z</dc:date>
    </item>
  </channel>
</rss>

