<?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: submit statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement/m-p/2011185#M410472</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/rep_submit.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/rep_submit.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Mar 2007 09:26:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-05T09:26:42Z</dc:date>
    <item>
      <title>submit statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement/m-p/2011184#M410471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i coded: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SUBMIT zffmr006a AND RETURN&lt;/P&gt;&lt;P&gt;    WITH p_kokrs  = $6-kokrs&lt;/P&gt;&lt;P&gt;    WITH s_gj_bud = $6-gjahr&lt;/P&gt;&lt;P&gt;    WITH p_perbv  = $6-perbv&lt;/P&gt;&lt;P&gt;    WITH p_perbb  = $6-perbb&lt;/P&gt;&lt;P&gt;    WITH p_verp   = $6-verp&lt;/P&gt;&lt;P&gt;    WITH p_aufgr  = $6-aufgr&lt;/P&gt;&lt;P&gt;    WITH s_aufgr  IN _6-aufgr&lt;/P&gt;&lt;P&gt;    .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the program still stuck at zffmr006a , i have to click back only it will go back to write my output..how to code the submit syntax that it will straight away generate my output without displauing zffmr006a&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2007 09:25:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement/m-p/2011184#M410471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-05T09:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: submit statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement/m-p/2011185#M410472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/rep_submit.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/rep_submit.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2007 09:26:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement/m-p/2011185#M410472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-05T09:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: submit statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement/m-p/2011186#M410473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If ur report ZFFMR006A is displaying a ALV grid then it is not possible to avoid the display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is using the ALV LIST or WRITE Sattement then u can avaoid it like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  DATA: LISTOBJECT LIKE ABAPLIST OCCURS 0 WITH HEADER LINE.
  SUBMIT  Z48R_PROJEKTSTATUS WITH SO_WWSTO IN SO_WWSTO
                             WITH SO_ISTAT IN SO_ISTAT
                             EXPORTING LIST TO MEMORY
                             AND RETURN.


* Import the list from memory and store it in table listobject
  CALL FUNCTION 'LIST_FROM_MEMORY'
       TABLES
            LISTOBJECT = LISTOBJECT
       EXCEPTIONS
            NOT_FOUND  = 1
            OTHERS     = 2.
  IF SY-SUBRC &amp;lt;&amp;gt; 0.
    WRITE  'Error in list_from_memory.'.
  ENDIF.
  CALL FUNCTION 'LIST_TO_ASCI'
*       EXPORTING
*            LIST_INDEX         = -1
       TABLES
            LISTASCI           = LT_TXT
            LISTOBJECT         = LISTOBJECT
       EXCEPTIONS
            EMPTY_LIST         = 1
            LIST_INDEX_INVALID = 2
            OTHERS             = 3.
  CHECK SY-SUBRC = 0.

  DATA: LV_LINES LIKE SY-TABIX.
  DESCRIBE TABLE LT_TXT LINES LV_LINES.
  LOOP AT LT_TXT INTO W_TEXTLINE.
    CHECK SY-TABIX &amp;gt; 3.
    CHECK W_TEXTLINE(5) &amp;lt;&amp;gt; 'Keine'.
    CHECK W_TEXTLINE(5) &amp;lt;&amp;gt; '-----'.
    DO 120 TIMES. REPLACE ' |' WITH '|' INTO W_TEXTLINE.  ENDDO.
    "WRITE / w_textline(255).
    PERFORM HANDLE_LINE USING W_TEXTLINE.
  ENDLOOP.

* Free memory
  CALL FUNCTION 'LIST_FREE_MEMORY'
       TABLES
            LISTOBJECT = LISTOBJECT
       EXCEPTIONS
            OTHERS     = 1.
  IF SY-SUBRC &amp;lt;&amp;gt; 0.
    WRITE  'Error in list_free_memory.'.
  ENDIF.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If useful reward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2007 09:28:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement/m-p/2011186#M410473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-05T09:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: submit statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement/m-p/2011187#M410474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the addition: EXPORTING LIST TO MEMORY .&lt;/P&gt;&lt;P&gt;SUBMIT zffmr006a &amp;lt;b&amp;gt;EXPORTING LIST TO MEMORY&amp;lt;/b&amp;gt; AND RETURN &lt;/P&gt;&lt;P&gt;WITH p_kokrs = $6-kokrs&lt;/P&gt;&lt;P&gt;WITH s_gj_bud = $6-gjahr&lt;/P&gt;&lt;P&gt;WITH p_perbv = $6-perbv&lt;/P&gt;&lt;P&gt;WITH p_perbb = $6-perbb&lt;/P&gt;&lt;P&gt;WITH p_verp = $6-verp&lt;/P&gt;&lt;P&gt;WITH p_aufgr = $6-aufgr&lt;/P&gt;&lt;P&gt;WITH s_aufgr IN _6-aufgr&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2007 09:28:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement/m-p/2011187#M410474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-05T09:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: submit statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement/m-p/2011188#M410475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how can this link help as the coding i did is already similar with it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2007 09:29:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement/m-p/2011188#M410475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-05T09:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: submit statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement/m-p/2011189#M410476</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;Yes, that's true, the last called list will remain on the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may write a silent mode to the program:zffmr006a. This means, you can handle all writes with a parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: &lt;/P&gt;&lt;P&gt;PARAMETERS: p_silent AS CHECKBOX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF p_silent = ' '.   "only print, if silent is switched off&lt;/P&gt;&lt;P&gt;WRITE:/ ...&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this way you can prevent the called program to stay on the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2007 09:29:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement/m-p/2011189#M410476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-05T09:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: submit statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement/m-p/2011190#M410477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;make sure that in the called program there should not be any output statements like WRITE, SKIP, ULINE.. etc...&lt;/P&gt;&lt;P&gt;then it processes that program and comes back to the main program and displays the output..&lt;/P&gt;&lt;P&gt;If u have any output statement in the called program then it is not possible with out back statement...&lt;/P&gt;&lt;P&gt;u need to use some other logic..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if it is helpful..&lt;/P&gt;&lt;P&gt;sai ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2007 09:32:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement/m-p/2011190#M410477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-05T09:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: submit statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement/m-p/2011191#M410478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks guy, i copy zffmr006a to a new program and turn off the alv_grid function.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the input&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2007 09:38:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-statement/m-p/2011191#M410478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-05T09:38:22Z</dc:date>
    </item>
  </channel>
</rss>

