<?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: Dialog Screen and WRITE. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-screen-and-write/m-p/2760581#M642645</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't use write statement in Dialog programs..eventhough if you want to use then use below syntax :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 'PUSH'.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;leave to list-processing&amp;lt;/b&amp;gt; .  " If it is not working then try &amp;lt;b&amp;gt;leave list-processing.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;write:/ 'Push is selected'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Sep 2007 03:29:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-13T03:29:32Z</dc:date>
    <item>
      <title>Dialog Screen and WRITE.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-screen-and-write/m-p/2760578#M642642</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 have create an ABAP program.. which CALL SCREEN 100. This screen 100 is design using Graphical Screen Painter. I have create an push button on it. When the button is press, I try to do some logic behind and want to do a WRITE statement but somehow.. the screen never print out the WRITE statement. Is there anyway to do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rayden&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 03:10:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-screen-and-write/m-p/2760578#M642642</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-13T03:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog Screen and WRITE.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-screen-and-write/m-p/2760579#M642643</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;WRITE statement wont work on screen painter.&lt;/P&gt;&lt;P&gt;Create a LABEL i.e. a TEXT FIELD and assign a name to it say 'RESULT' in Screen Layout.&lt;/P&gt;&lt;P&gt;Acitvate the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PAI, when Push button is pressed&lt;/P&gt;&lt;P&gt;CASE l_OKCODE.&lt;/P&gt;&lt;P&gt;WHEN 'HIT'.&lt;/P&gt;&lt;P&gt;v_flag = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PBO, when Push button is pressed.&lt;/P&gt;&lt;P&gt;IF V_FLAG = 'X'.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;if SCREEN-NAME = 'RESULT'.&lt;/P&gt;&lt;P&gt;RESULT = 'Hit button pressed'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;clear RESULT.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 03:20:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-screen-and-write/m-p/2760579#M642643</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-13T03:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog Screen and WRITE.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-screen-and-write/m-p/2760580#M642644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the sample program &amp;lt;b&amp;gt;demo_dynpro_push_button&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 03:23:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-screen-and-write/m-p/2760580#M642644</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2007-09-13T03:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog Screen and WRITE.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-screen-and-write/m-p/2760581#M642645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't use write statement in Dialog programs..eventhough if you want to use then use below syntax :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 'PUSH'.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;leave to list-processing&amp;lt;/b&amp;gt; .  " If it is not working then try &amp;lt;b&amp;gt;leave list-processing.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;write:/ 'Push is selected'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 03:29:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-screen-and-write/m-p/2760581#M642645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-13T03:29:32Z</dc:date>
    </item>
  </channel>
</rss>

