<?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 Write statement after ALV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement-after-alv/m-p/5726782#M1299178</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;I have a requirement where I am displaying the ALV using grid.&lt;/P&gt;&lt;P&gt;Have a button on top.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After ALV display, I select the row and press the button.&lt;/P&gt;&lt;P&gt;The processing takes place like (Delivery creation).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this delivery creation, I have to display the log output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the log has to be using the normal Write Statement.&lt;/P&gt;&lt;P&gt;Like : Write: 'Delivery created : 1001;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying this but my write is not working.&lt;/P&gt;&lt;P&gt;The code isgetting executed when seen in debug but nothing displayed on screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea??&lt;/P&gt;&lt;P&gt;Pranu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Jun 2009 12:10:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-01T12:10:51Z</dc:date>
    <item>
      <title>Write statement after ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement-after-alv/m-p/5726782#M1299178</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;I have a requirement where I am displaying the ALV using grid.&lt;/P&gt;&lt;P&gt;Have a button on top.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After ALV display, I select the row and press the button.&lt;/P&gt;&lt;P&gt;The processing takes place like (Delivery creation).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this delivery creation, I have to display the log output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the log has to be using the normal Write Statement.&lt;/P&gt;&lt;P&gt;Like : Write: 'Delivery created : 1001;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying this but my write is not working.&lt;/P&gt;&lt;P&gt;The code isgetting executed when seen in debug but nothing displayed on screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea??&lt;/P&gt;&lt;P&gt;Pranu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2009 12:10:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement-after-alv/m-p/5726782#M1299178</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-01T12:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Write statement after ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement-after-alv/m-p/5726783#M1299179</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 need to place the code under the event AT USER-COMMAND den only your code will executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Thiru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2009 12:14:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement-after-alv/m-p/5726783#M1299179</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-01T12:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Write statement after ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement-after-alv/m-p/5726784#M1299180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All these things are taken care of and as mentioned in my question, the code is actually getting executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nothing is written on the screen and the control comes back to the ALV display instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Pranu Pranu on Jun 1, 2009 2:18 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2009 12:16:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement-after-alv/m-p/5726784#M1299180</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-01T12:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Write statement after ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement-after-alv/m-p/5726785#M1299181</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 statame LEAVE TO LIST PROCCESING before the WRITE statament,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check here, your issue was solved: [&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="7603473"&gt;&lt;/A&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2009 12:17:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement-after-alv/m-p/5726785#M1299181</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-01T12:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Write statement after ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement-after-alv/m-p/5726786#M1299182</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 did not try it in my system but i think you need a statement like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEAVE TO LIST-PROCESSING &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after the WRITE statements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just check this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2009 12:17:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement-after-alv/m-p/5726786#M1299182</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-01T12:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Write statement after ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement-after-alv/m-p/5726787#M1299183</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;In PAI module you have to use LEAVE TO LIST-PROCESSING to show what was collected in list buffer (see write statements on the screen in simple words).&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
MODULE pai INPUT.
   "your WRITE statements here
   write: ....
   
   "then leave current screen and show classic list 
   LEAVE TO LIST-PROCESSING. 
ENDMODULE.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2009 12:19:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement-after-alv/m-p/5726787#M1299183</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-06-01T12:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Write statement after ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement-after-alv/m-p/5726788#M1299184</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;add the  below command in the ALV exporting..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...  user_command   = 'USER_COMMAND'..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and paste the code at the last ..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FORM user_command USING r_ucomm     TYPE sy-ucomm
                        ls_selfield TYPE slis_selfield.
IF sy-ucomm = 'YOur button'.
   LEAVE TO SCREEN 0.
endif.
ENDFORM.                    "USER_COMMAND
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2009 12:23:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-statement-after-alv/m-p/5726788#M1299184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-01T12:23:40Z</dc:date>
    </item>
  </channel>
</rss>

