<?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: How to refresh (initialize) a Dynpro in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-refresh-initialize-a-dynpro/m-p/4141743#M990273</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;Check which field you are clearing,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it the screen fields or the work area in your programs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reagards&lt;/P&gt;&lt;P&gt;prasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jul 2008 11:58:22 GMT</pubDate>
    <dc:creator>prasanth_kasturi</dc:creator>
    <dc:date>2008-07-23T11:58:22Z</dc:date>
    <item>
      <title>How to refresh (initialize) a Dynpro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-refresh-initialize-a-dynpro/m-p/4141738#M990268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i´am very new in developing SAP Dynpros, before i develeoped BSP, WebDynpro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now i have to develope a "normal" SAP application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´ve a Dynpro 0100 with 4 fields on it. These 4 fields have their types from dictinonary because of the automatic search help. My problem is: If i leave the window by an exit (leave programm) and jump in the application again, the values in the fields are still there. How can i refresh the values?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 10:55:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-refresh-initialize-a-dynpro/m-p/4141738#M990268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T10:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to refresh (initialize) a Dynpro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-refresh-initialize-a-dynpro/m-p/4141739#M990269</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 the code in the PBO to Clear the screenname-fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE pbo100_status OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;When transaction is refreshed set the default values&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; loop at screen.&lt;/P&gt;&lt;P&gt;  if screen-name = 'FIELD1'.&lt;/P&gt;&lt;P&gt;  IF myscreen-field1 IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;    CLEAR myscreen-field1.&lt;/P&gt;&lt;P&gt;  ENDIF.                                &lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;rama.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 11:06:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-refresh-initialize-a-dynpro/m-p/4141739#M990269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T11:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to refresh (initialize) a Dynpro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-refresh-initialize-a-dynpro/m-p/4141740#M990270</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 can do in two ways.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PBO of the screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can clear all the fields using CLEAR statemmnt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ( OR )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PAI of the screen &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Under case sy-ucomm&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; when 'BACK'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; clear all the fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; leave program.&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;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;prasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 11:28:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-refresh-initialize-a-dynpro/m-p/4141740#M990270</guid>
      <dc:creator>prasanth_kasturi</dc:creator>
      <dc:date>2008-07-23T11:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to refresh (initialize) a Dynpro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-refresh-initialize-a-dynpro/m-p/4141741#M990271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK that works so far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You both got points... hope this is ok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 11:36:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-refresh-initialize-a-dynpro/m-p/4141741#M990271</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T11:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to refresh (initialize) a Dynpro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-refresh-initialize-a-dynpro/m-p/4141742#M990272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am sorry i was too fast. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I clear the window by exiting and on loading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In debugger the value is empty after clearing both times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PBO the value of the field is emtpy the whole time i call the application (F5 steps), but when the screen appears the ole value is in the field. How can that be?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 11:44:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-refresh-initialize-a-dynpro/m-p/4141742#M990272</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T11:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to refresh (initialize) a Dynpro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-refresh-initialize-a-dynpro/m-p/4141743#M990273</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;Check which field you are clearing,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it the screen fields or the work area in your programs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reagards&lt;/P&gt;&lt;P&gt;prasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 11:58:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-refresh-initialize-a-dynpro/m-p/4141743#M990273</guid>
      <dc:creator>prasanth_kasturi</dc:creator>
      <dc:date>2008-07-23T11:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to refresh (initialize) a Dynpro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-refresh-initialize-a-dynpro/m-p/4141744#M990274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Read following blogs you will get clear idea about flow of program &lt;/P&gt;&lt;P&gt;/people/horst.keller/blog/2004/10/27/abap-geek-4-150-the-mystery-of-submit-unveiled&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 12:06:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-refresh-initialize-a-dynpro/m-p/4141744#M990274</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T12:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to refresh (initialize) a Dynpro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-refresh-initialize-a-dynpro/m-p/4141745#M990275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey,&lt;/P&gt;&lt;P&gt;Just check ifyou are clearing the same fields as that are there on the screen if yes then check if you have written any select query or if you are populating those fields again some where later, to solve your problem it would be best for you to write the clear statement in the last PBO module just before the screen is called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;  RK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 12:17:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-refresh-initialize-a-dynpro/m-p/4141745#M990275</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T12:17:29Z</dc:date>
    </item>
  </channel>
</rss>

