<?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: WRITE statement not working in abap editor in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement-not-working-in-abap-editor/m-p/12582606#M2009374</link>
    <description>&lt;P&gt;I don't remember exactly. In "module pool programs", don't we need to use explicitly LEAVE TO LIST-PROCESSING in PBO/PAI of one screen? Isn't it only in "executable programs" that the list processing mode is automatically activated?&lt;/P&gt;</description>
    <pubDate>Thu, 11 Aug 2022 13:14:08 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2022-08-11T13:14:08Z</dc:date>
    <item>
      <title>WRITE statement not working in abap editor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement-not-working-in-abap-editor/m-p/12582604#M2009372</link>
      <description>&lt;P&gt;I am creating a new program using se80, based on the table zcatdriverinfo, I want to let the user to insert the company code and press 'execute' to show the data from the custom table zcatdriverinfo.&lt;/P&gt;
  &lt;P&gt;However I done some code but nothing happen when I press the execute button, I used the debug mode and I see that the flow is correct and the system able to read the loop statement but nothing shown, Hopefully get some advise.&lt;/P&gt;
  &lt;P&gt;PROCESS BEFORE OUTPUT.&lt;BR /&gt; MODULE STATUS_0200.&lt;BR /&gt;*&lt;BR /&gt;PROCESS AFTER INPUT.&lt;BR /&gt; MODULE USER_COMMAND_0200.&lt;/P&gt;
  &lt;P&gt;MODULE STATUS_0200 OUTPUT.&lt;BR /&gt; SET PF-STATUS 'SD_DISPLAYMENU'.&lt;BR /&gt; SET TITLEBAR 'SD_DRIVERDISPLAY'.&lt;BR /&gt;&lt;BR /&gt;ENDMODULE. &lt;/P&gt;
  &lt;P&gt;MODULE USER_COMMAND_0200 INPUT.&lt;BR /&gt;&lt;BR /&gt; CASE ok_code.&lt;BR /&gt; WHEN 'EXECUTE'.&lt;BR /&gt;&lt;BR /&gt; IF gv_bukrs IS INITIAL.&lt;BR /&gt; MESSAGE 'Please fill in Company code.' type 'E'.&lt;BR /&gt; ELSE.&lt;BR /&gt; perform check_data3.&lt;/P&gt;
  &lt;P&gt;perform query_data.&lt;BR /&gt; ENDIF.&lt;BR /&gt; WHEN 'EXIT'.&lt;BR /&gt; LEAVE TO SCREEN 0.&lt;BR /&gt; ENDCASE.&lt;BR /&gt;&lt;BR /&gt;ENDMODULE.&lt;/P&gt;
  &lt;P&gt;"skip perform check_data3 due to long logic, debug for this part okay no problem&lt;/P&gt;
  &lt;P&gt;"Problem appear here, debug get the data however there is nothing shown&lt;/P&gt;
  &lt;P&gt;FORM QUERY_DATA.&lt;BR /&gt;&lt;BR /&gt;LOOP AT lv_driver into wa_driver2.&lt;BR /&gt;&lt;BR /&gt; WRITE:/15 wa_driver2-icno, ...,... .&lt;BR /&gt;&lt;BR /&gt;ENDLOOP.&lt;BR /&gt;&lt;BR /&gt;ENDFORM.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 09:17:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement-not-working-in-abap-editor/m-p/12582604#M2009372</guid>
      <dc:creator>suityan98</dc:creator>
      <dc:date>2022-08-11T09:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: WRITE statement not working in abap editor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement-not-working-in-abap-editor/m-p/12582605#M2009373</link>
      <description>&lt;P&gt;It is working as expected: in a module pool, you do no see the effect of WRITE statements until the last dynpro has been processed.&lt;/P&gt;&lt;P&gt;If you wish to inform the user, either use a popup (including error messages) or include a text output field in the dynpro and write your message there.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 09:38:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement-not-working-in-abap-editor/m-p/12582605#M2009373</guid>
      <dc:creator>abo</dc:creator>
      <dc:date>2022-08-11T09:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: WRITE statement not working in abap editor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement-not-working-in-abap-editor/m-p/12582606#M2009374</link>
      <description>&lt;P&gt;I don't remember exactly. In "module pool programs", don't we need to use explicitly LEAVE TO LIST-PROCESSING in PBO/PAI of one screen? Isn't it only in "executable programs" that the list processing mode is automatically activated?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 13:14:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement-not-working-in-abap-editor/m-p/12582606#M2009374</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-08-11T13:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: WRITE statement not working in abap editor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement-not-working-in-abap-editor/m-p/12582607#M2009375</link>
      <description>&lt;SPAN class="mention-scrubbed"&gt;sandra.rossi&lt;/SPAN&gt;&lt;P&gt;indeed we do, the one case I had in mind was that of a normal report calling a single dynpro for some task and then processing would resume: here there is no need for a LEAVE statement. Kind of contrived example, yeah.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 15:55:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement-not-working-in-abap-editor/m-p/12582607#M2009375</guid>
      <dc:creator>abo</dc:creator>
      <dc:date>2022-08-11T15:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: WRITE statement not working in abap editor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement-not-working-in-abap-editor/m-p/12582608#M2009376</link>
      <description>&lt;P&gt;In fact it is one of the greatest misunderstandings in ABAP that WRITE creates something like a console output.&lt;/P&gt;&lt;P&gt;WRITE writes to a list buffer and it is the task of classical list processing to output this.&lt;/P&gt;&lt;P&gt;The only place where this happens automatically is in classical reporting with executable programs.&lt;/P&gt;&lt;P&gt;For complete Information see &lt;/P&gt;&lt;P&gt;&lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abenabap_dynpro_list.htm" target="test_blank"&gt;https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abenabap_dynpro_list.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Aug 2022 09:54:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement-not-working-in-abap-editor/m-p/12582608#M2009376</guid>
      <dc:creator>retired_member</dc:creator>
      <dc:date>2022-08-13T09:54:54Z</dc:date>
    </item>
  </channel>
</rss>

