<?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 Issue with SUBMIT statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-submit-statement/m-p/1705486#M309064</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a issue with SUBMIT satement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a program with one selection screen element as below: &amp;lt;b&amp;gt;Program1&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;PARAMETERS: P_FNAME LIKE RLGRAP-FILENAME.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in another program &amp;lt;b&amp;gt;[program2]&amp;lt;/b&amp;gt; i am submitting above program[program1] as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V_PROG = 'PROGRAM1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Pass the data into SUBMIT statement with no file details&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;T_PARMS-SELNAME = 'P_FNAME'.&lt;/P&gt;&lt;P&gt;T_PARMS-KIND    = 'P'.&lt;/P&gt;&lt;P&gt;T_PARMS-LOW     = ''.&lt;/P&gt;&lt;P&gt;APPEND T_PARMS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT (V_PROG)&lt;/P&gt;&lt;P&gt;       WITH SELECTION-TABLE T_PARMS&lt;/P&gt;&lt;P&gt;       VIA JOB gv_jobname NUMBER gv_jobnum "USER puser&lt;/P&gt;&lt;P&gt;       AND RETURN TO SAP-SPOOL&lt;/P&gt;&lt;P&gt;       SPOOL PARAMETERS gv_params&lt;/P&gt;&lt;P&gt;       WITHOUT SPOOL DYNPRO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my issue over here is when i am submitting program1 from program2 i should skip selection screen file name should be blank in [program1] and program should proceed executing program1 without taking into consideration selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will my above code achives this functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot test as test procedure is not there to test the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any body tell me the solution for the same!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Deep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Nov 2006 07:11:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-02T07:11:06Z</dc:date>
    <item>
      <title>Issue with SUBMIT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-submit-statement/m-p/1705486#M309064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a issue with SUBMIT satement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a program with one selection screen element as below: &amp;lt;b&amp;gt;Program1&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;PARAMETERS: P_FNAME LIKE RLGRAP-FILENAME.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in another program &amp;lt;b&amp;gt;[program2]&amp;lt;/b&amp;gt; i am submitting above program[program1] as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V_PROG = 'PROGRAM1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Pass the data into SUBMIT statement with no file details&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;T_PARMS-SELNAME = 'P_FNAME'.&lt;/P&gt;&lt;P&gt;T_PARMS-KIND    = 'P'.&lt;/P&gt;&lt;P&gt;T_PARMS-LOW     = ''.&lt;/P&gt;&lt;P&gt;APPEND T_PARMS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT (V_PROG)&lt;/P&gt;&lt;P&gt;       WITH SELECTION-TABLE T_PARMS&lt;/P&gt;&lt;P&gt;       VIA JOB gv_jobname NUMBER gv_jobnum "USER puser&lt;/P&gt;&lt;P&gt;       AND RETURN TO SAP-SPOOL&lt;/P&gt;&lt;P&gt;       SPOOL PARAMETERS gv_params&lt;/P&gt;&lt;P&gt;       WITHOUT SPOOL DYNPRO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my issue over here is when i am submitting program1 from program2 i should skip selection screen file name should be blank in [program1] and program should proceed executing program1 without taking into consideration selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will my above code achives this functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot test as test procedure is not there to test the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any body tell me the solution for the same!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Deep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2006 07:11:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-submit-statement/m-p/1705486#M309064</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-02T07:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with SUBMIT statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-submit-statement/m-p/1705487#M309065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Deep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure if I got your question right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you want program 1 to not consider the file name after you have executed program 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that case, you can set P_FNAME =  ''.&lt;/P&gt;&lt;P&gt;after&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT (V_PROG)&lt;/P&gt;&lt;P&gt;WITH SELECTION-TABLE T_PARMS&lt;/P&gt;&lt;P&gt;VIA JOB gv_jobname NUMBER gv_jobnum "USER puser&lt;/P&gt;&lt;P&gt;AND RETURN TO SAP-SPOOL&lt;/P&gt;&lt;P&gt;SPOOL PARAMETERS gv_params&lt;/P&gt;&lt;P&gt;WITHOUT SPOOL DYNPRO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I am not sure if I got your question right. Can you help me understand better?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ganesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2006 07:32:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-submit-statement/m-p/1705487#M309065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-02T07:32:00Z</dc:date>
    </item>
  </channel>
</rss>

