<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code/m-p/4847762#M1133772</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;OK Code stores the action/command of the user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can search the SCN for the same. Lot of threads which can help you think practically for question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jayant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Nov 2008 11:12:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-20T11:12:22Z</dc:date>
    <item>
      <title>OK CODE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code/m-p/4847760#M1133770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can any one please explain the meaning of OK code and what is its significance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2008 11:09:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code/m-p/4847760#M1133770</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-20T11:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: OK CODE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code/m-p/4847761#M1133771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok code is to capture the sy-ucomm value. U can use sy-ucomm for the same purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search in SDN. U will get mutiplae threads reg: this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2008 11:11:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code/m-p/4847761#M1133771</guid>
      <dc:creator>former_member195383</dc:creator>
      <dc:date>2008-11-20T11:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: OK CODE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code/m-p/4847762#M1133772</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;OK Code stores the action/command of the user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can search the SCN for the same. Lot of threads which can help you think practically for question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jayant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2008 11:12:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code/m-p/4847762#M1133772</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-20T11:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: OK CODE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code/m-p/4847763#M1133773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, this is variable and captures the system field sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which is the action that you performed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like enter, save, choose, back, find etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to distinguish the user actions and correspondingly writing the code we use the ok code inturn the sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this small explanation is useful to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for detailed notes as our other freinds mentioned please go through the documenations or search for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in its minute details the above is mentioned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Ramchander Rao.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2008 11:20:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code/m-p/4847763#M1133773</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-20T11:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: OK CODE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code/m-p/4847764#M1133774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;OK Code is used to capture the function that the user has last executed.&lt;/P&gt;&lt;P&gt;Generally we will define OK Code using DATA OK_CODE LIKE SY-UCOMM.&lt;/P&gt;&lt;P&gt;You could use other name as well but the standard practice is to use OK_code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Hakim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2008 11:27:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code/m-p/4847764#M1133774</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2008-11-20T11:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: OK CODE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code/m-p/4847765#M1133775</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;OK_CODE has special significance in module pool programming. It needs to be specified in screen elements tab in se51 for a module pool. If specified in screen elements and in abap code with data statement. OK_CODE will contain the value of SY-UCOMM automatically. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many a time need arises that we need to clear SY-UCOMM. But it is not recommended to clear system variables. So we can clear OK_CODE instead of SY-UCOMM and in coding we can place conditions on OK_CODE rather than using SY-UCOMM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2008 11:30:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code/m-p/4847765#M1133775</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-20T11:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: OK CODE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code/m-p/4847766#M1133776</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;&amp;lt;&amp;lt;Text cut and pasted from here &lt;A href="http://www.sap-img.com/abap/sy-ucomm-and-ok-code-in-dialog-program.htm" target="test_blank"&gt;http://www.sap-img.com/abap/sy-ucomm-and-ok-code-in-dialog-program.htm&lt;/A&gt; &amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Matt on Nov 20, 2008 1:01 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2008 11:35:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code/m-p/4847766#M1133776</guid>
      <dc:creator>former_member206439</dc:creator>
      <dc:date>2008-11-20T11:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: OK CODE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code/m-p/4847767#M1133777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Naresh  - stop cutting and pasting answers from other places.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2008 12:02:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code/m-p/4847767#M1133777</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2008-11-20T12:02:14Z</dc:date>
    </item>
  </channel>
</rss>

