<?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: ok code not getting cleared in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-not-getting-cleared/m-p/1632716#M282255</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; remove the statement, ok_code = sy-ucomm.&lt;/P&gt;&lt;P&gt;There is no need of passing sy-ucomm value again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just set the ok_code in the attributes of the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sailaja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Oct 2006 09:37:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-16T09:37:32Z</dc:date>
    <item>
      <title>ok code not getting cleared</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-not-getting-cleared/m-p/1632714#M282253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CLEAR ok_code.&lt;/P&gt;&lt;P&gt;  ok_code = sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE ok_code.&lt;/P&gt;&lt;P&gt;    WHEN 'ADD'.&lt;/P&gt;&lt;P&gt;      TABLE_CONTROL-LINES = TABLE_CONTROL-LINES + new_row.&lt;/P&gt;&lt;P&gt;    WHEN 'DEL'.&lt;/P&gt;&lt;P&gt;      DELETE TCTRL WHERE SEL_FIELD = 'X'.&lt;/P&gt;&lt;P&gt;    WHEN 'PROC'.&lt;/P&gt;&lt;P&gt;      PERFORM chk_tctrl.&lt;/P&gt;&lt;P&gt;      PERFORM code_gen.&lt;/P&gt;&lt;P&gt;    WHEN 'CODP'.&lt;/P&gt;&lt;P&gt;      PERFORM chk_tctrl.&lt;/P&gt;&lt;P&gt;      PERFORM code_prev.&lt;/P&gt;&lt;P&gt;    WHEN 'GENR'.&lt;/P&gt;&lt;P&gt;      PERFORM chk_tctrl.&lt;/P&gt;&lt;P&gt;      PERFORM gen_prg.&lt;/P&gt;&lt;P&gt;    WHEN 'BACK'.&lt;/P&gt;&lt;P&gt;      SET SCREEN 0.&lt;/P&gt;&lt;P&gt;    WHEN 'EXIT'.&lt;/P&gt;&lt;P&gt;      LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this coding the ok_code is not getting cleared. whenever an option is selected, and after if 'ENTER' is clicked the ok_code remains the previous option chosen and not getting cleared. please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2006 09:33:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-not-getting-cleared/m-p/1632714#M282253</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-16T09:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: ok code not getting cleared</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-not-getting-cleared/m-p/1632715#M282254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In which section of the screen did you cal this module?&lt;/P&gt;&lt;P&gt;Is it in the PAI?&lt;/P&gt;&lt;P&gt;ok_code will have the last user action's code.&lt;/P&gt;&lt;P&gt;When you say, "an option is selected" what do you actually mean?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2006 09:36:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-not-getting-cleared/m-p/1632715#M282254</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-16T09:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: ok code not getting cleared</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-not-getting-cleared/m-p/1632716#M282255</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; remove the statement, ok_code = sy-ucomm.&lt;/P&gt;&lt;P&gt;There is no need of passing sy-ucomm value again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just set the ok_code in the attributes of the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sailaja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2006 09:37:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-not-getting-cleared/m-p/1632716#M282255</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-16T09:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: ok code not getting cleared</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-not-getting-cleared/m-p/1632717#M282256</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;If you already declared OK_CODE like SY-UCOMM in data declarations then remove &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ok_code = sy-ucomm &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and ensure that the triggring should happend in PAI module &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, 16 Oct 2006 09:39:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-not-getting-cleared/m-p/1632717#M282256</guid>
      <dc:creator>shishupalreddy</dc:creator>
      <dc:date>2006-10-16T09:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: ok code not getting cleared</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-not-getting-cleared/m-p/1632718#M282257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is called in PAI module.When an user action is made as in the coding say 'PROC'. after which if i give 'ENTER' the previous event 'PROC' is triggered again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2006 09:42:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-not-getting-cleared/m-p/1632718#M282257</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-16T09:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: ok code not getting cleared</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-not-getting-cleared/m-p/1632719#M282258</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 this statement in bold.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; case ok_code.&lt;/P&gt;&lt;P&gt; when 'PROC'.&lt;/P&gt;&lt;P&gt; ...&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt; clear ok_code.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt; when 'ABCD'.&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;Regards,&lt;/P&gt;&lt;P&gt;Sailaja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2006 10:00:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-not-getting-cleared/m-p/1632719#M282258</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-16T10:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: ok code not getting cleared</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-not-getting-cleared/m-p/1632720#M282259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    check whether your code is in PAI module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Amole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2006 10:05:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-not-getting-cleared/m-p/1632720#M282259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-16T10:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: ok code not getting cleared</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-not-getting-cleared/m-p/1632721#M282260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;we have tried that also before itself. it is not working. 'CLEAR ok_code' after each event&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2006 10:22:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-not-getting-cleared/m-p/1632721#M282260</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-16T10:22:16Z</dc:date>
    </item>
  </channel>
</rss>

