<?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: PROBLEM WITH SUBMIT using pushbutton in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-submit-using-pushbutton/m-p/6638407#M1443043</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;You have an option to use the SUBMIT statement this way,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SUBMIT rfitemar AND RETURN WITH dd_kunnr = wa_tab1-kunnr&lt;/P&gt;&lt;P&gt;                                       WITH dd_bukrs = p_bukrs&lt;/P&gt;&lt;P&gt;                                       WITH x_opsel  = 'X'&lt;/P&gt;&lt;P&gt;                                       WITH pa_stida = wf_keydt&lt;/P&gt;&lt;P&gt;                                       VIA SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you need further help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhijit G. Borkar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Feb 2010 04:31:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-02T04:31:51Z</dc:date>
    <item>
      <title>PROBLEM WITH SUBMIT using pushbutton</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-submit-using-pushbutton/m-p/6638405#M1443041</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 5 pushbutton in selection screen and after clicking every pushbutton i am using submit statement to submit another program, after click of 5 pushbuttons i assigned 5 diffrenet flag before submit statement and i want to use that flag value inside the submit statement but problem is that flag value is not transferring inside the submit statement. &lt;/P&gt;&lt;P&gt;can anyone please help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN : begin of BLOCK b1 WITH FRAME TITLE text-001.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN : skip 1,&lt;/P&gt;&lt;P&gt;                   pushbutton 25(30) a2 user-command SKU,       "SKU Interface(IDOC)&lt;/P&gt;&lt;P&gt;                   skip 2,&lt;/P&gt;&lt;P&gt;                   pushbutton 25(30) a3 user-command VM,        "Vendor Master(IDOC)&lt;/P&gt;&lt;P&gt;                   skip 2,&lt;/P&gt;&lt;P&gt;                   pushbutton 25(30) a4 user-command CC,        "Cost Change(IDOC)&lt;/P&gt;&lt;P&gt;                   skip 2,&lt;/P&gt;&lt;P&gt;                   pushbutton 25(30) a5 user-command PO,        "PO Interface(IDOC)&lt;/P&gt;&lt;P&gt;                   skip 2,&lt;/P&gt;&lt;P&gt;                   pushbutton 25(30) a6 user-command GM,        "Goods Movement(IDOC)&lt;/P&gt;&lt;P&gt;                                      skip 1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN : end of BLOCK b1.&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;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when 'SKU'.&lt;/P&gt;&lt;P&gt;  GV_FLG = GC_FLG1.&lt;/P&gt;&lt;P&gt;SUBMIT ZMMR0320_03 VIA SELECTION-SCREEN .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 'VM'.&lt;/P&gt;&lt;P&gt; GV_FLG = GC_FLG2.&lt;/P&gt;&lt;P&gt;SUBMIT ZMMR0320_03 VIA SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 'CC'.&lt;/P&gt;&lt;P&gt;  GV_FLG = GC_FLG3.&lt;/P&gt;&lt;P&gt;SUBMIT ZMMR0320_03 VIA SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 'PO'.&lt;/P&gt;&lt;P&gt;  GV_FLG = GC_FLG4.&lt;/P&gt;&lt;P&gt;SUBMIT ZMMR0320_03 VIA SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 'GM'.&lt;/P&gt;&lt;P&gt;  GV_FLG = GC_FLG5.&lt;/P&gt;&lt;P&gt;SUBMIT ZMMR0320_03 VIA SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 04:12:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-submit-using-pushbutton/m-p/6638405#M1443041</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-02T04:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM WITH SUBMIT using pushbutton</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-submit-using-pushbutton/m-p/6638406#M1443042</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;Try to use the IMPORT/EXPORT statement to pass the flag into submit program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 04:26:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-submit-using-pushbutton/m-p/6638406#M1443042</guid>
      <dc:creator>nirajgadre</dc:creator>
      <dc:date>2010-02-02T04:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM WITH SUBMIT using pushbutton</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-submit-using-pushbutton/m-p/6638407#M1443043</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;You have an option to use the SUBMIT statement this way,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SUBMIT rfitemar AND RETURN WITH dd_kunnr = wa_tab1-kunnr&lt;/P&gt;&lt;P&gt;                                       WITH dd_bukrs = p_bukrs&lt;/P&gt;&lt;P&gt;                                       WITH x_opsel  = 'X'&lt;/P&gt;&lt;P&gt;                                       WITH pa_stida = wf_keydt&lt;/P&gt;&lt;P&gt;                                       VIA SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you need further help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhijit G. Borkar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 04:31:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-submit-using-pushbutton/m-p/6638407#M1443043</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-02T04:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM WITH SUBMIT using pushbutton</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-submit-using-pushbutton/m-p/6638408#M1443044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi niraj thanx for reply....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u please tell me in detail?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 04:31:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-submit-using-pushbutton/m-p/6638408#M1443044</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-02T04:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM WITH SUBMIT using pushbutton</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-submit-using-pushbutton/m-p/6638409#M1443045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi abhijit...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx for reply...... i used this statement but value is not transfered in submitted program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT ZMMR0320_03 VIA SELECTION-SCREEN with GV_FLG = GC_FLG1 and return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 04:36:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-submit-using-pushbutton/m-p/6638409#M1443045</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-02T04:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM WITH SUBMIT using pushbutton</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-submit-using-pushbutton/m-p/6638410#M1443046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saurabh,&lt;/P&gt;&lt;P&gt;                       You can use ABAP memory inorder to transfer data in such case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN the current code that you have provided, make use of EXPORT statement inorder to save it to ABAP memory . And to fetch the value  in the program ZMMR0320_03 use IMPORT statement in the program ZMMR0320_03. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;current program :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
case sy-ucomm.
when 'SKU'.
EXPORT GC_FLG1
  TO MEMORY ID 'flag1'.

SUBMIT ZMMR0320_03 VIA SELECTION-SCREEN .

when 'VM'.
EXPORT GC_FLG1
  TO MEMORY ID 'flag2'.
SUBMIT ZMMR0320_03 VIA SELECTION-SCREEN.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;   and so on...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the program ZMMR0320_03 use IMPORT as follows :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

IMPORT lv_flag1  FROM MEMORY ID 'flag1'.
IMPORT lv_flag2  FROM MEMORY ID 'flag2'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 04:41:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-submit-using-pushbutton/m-p/6638410#M1443046</guid>
      <dc:creator>former_member206377</dc:creator>
      <dc:date>2010-02-02T04:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM WITH SUBMIT using pushbutton</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-submit-using-pushbutton/m-p/6638411#M1443047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;GV_FLG  has to be there in the selection-screen, if it is not there then the value will not be passed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example look at this program 'rfitemar' open it in SE38,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Press F1 on the radio button'Open items' and note the screen-field name it's 'X_OPSEL' so i have passed in the submit report &lt;/P&gt;&lt;P&gt;X_OPSEL = 'x'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the way we have to do it, please check in your case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhijit G. Borkar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 04:45:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-submit-using-pushbutton/m-p/6638411#M1443047</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-02T04:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM WITH SUBMIT using pushbutton</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-submit-using-pushbutton/m-p/6638412#M1443048</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;Try to use the EXPORT statement i n ur main program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORT variable TO memory ID 'FLAG_DATA'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the submitted program try to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORT Variable FROM MEMORY ID 'FLAG_DATA'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 04:46:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-submit-using-pushbutton/m-p/6638412#M1443048</guid>
      <dc:creator>nirajgadre</dc:creator>
      <dc:date>2010-02-02T04:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM WITH SUBMIT using pushbutton</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-submit-using-pushbutton/m-p/6638413#M1443049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello vasuki &amp;amp; niraj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx for reply...i m using below statement but still not getting data in Export statement. &lt;/P&gt;&lt;P&gt;plz help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONSTANTS: gc_flg1(8) type c value 'MTYP_SKU',&lt;/P&gt;&lt;P&gt;           gc_flg2(7) type c value 'MTYP_VM'.&lt;/P&gt;&lt;P&gt;data : gv_flg(8) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN : begin of BLOCK b1 WITH FRAME TITLE text-001.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN : skip 1,&lt;/P&gt;&lt;P&gt;                   pushbutton 25(30) a2 user-command SKU,       &lt;/P&gt;&lt;P&gt;                   skip 2,&lt;/P&gt;&lt;P&gt;                   pushbutton 25(30) a3 user-command VM,        &lt;/P&gt;&lt;P&gt;SELECTION-SCREEN : end of BLOCK b1.&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;  case sy-ucomm.&lt;/P&gt;&lt;P&gt;when 'SKU'.&lt;/P&gt;&lt;P&gt;      EXPORT GC_FLG1 TO MEMORY ID 'GV_FLG'.       &lt;STRONG&gt;" Not getting data here in GV_FLG&lt;/STRONG&gt;      &lt;/P&gt;&lt;P&gt;SUBMIT ZMMR0320_03 VIA SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    when 'VM'.&lt;/P&gt;&lt;P&gt;      EXPORT GC_FLG2 TO MEMORY ID 'GV_FLG'.   &lt;STRONG&gt;" Not getting data here in GV_FLG&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      SUBMIT ZMMR0320_03 VIA SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then i used &lt;STRONG&gt;IMPORT lv_flg  FROM MEMORY ID 'GV_FLG'&lt;/STRONG&gt; in submitted program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz correct me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 05:12:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-submit-using-pushbutton/m-p/6638413#M1443049</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-02T05:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM WITH SUBMIT using pushbutton</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-submit-using-pushbutton/m-p/6638414#M1443050</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 guess you are looking the variable defined as GV_FLG.&lt;/P&gt;&lt;P&gt;but when you are passing the value to the memory ID it will get stored into the ABAP memory not into the variable.&lt;/P&gt;&lt;P&gt;So check into the debugging mode... the sy-subrc after the EXPORT statement and then check the variable LV_FLG into the submitted program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 05:26:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-submit-using-pushbutton/m-p/6638414#M1443050</guid>
      <dc:creator>nirajgadre</dc:creator>
      <dc:date>2010-02-02T05:26:55Z</dc:date>
    </item>
  </channel>
</rss>

