<?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: okcode in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/okcode/m-p/1784757#M338042</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;okcode contains the user command so there can be only one okcode. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR: okcode.&lt;/P&gt;&lt;P&gt;&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, 11 Dec 2006 07:07:15 GMT</pubDate>
    <dc:creator>dani_mn</dc:creator>
    <dc:date>2006-12-11T07:07:15Z</dc:date>
    <item>
      <title>okcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/okcode/m-p/1784756#M338041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how many okcode u can create in modulepool and how to clear okcode?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 07:04:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/okcode/m-p/1784756#M338041</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-11T07:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: okcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/okcode/m-p/1784757#M338042</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;okcode contains the user command so there can be only one okcode. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR: okcode.&lt;/P&gt;&lt;P&gt;&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, 11 Dec 2006 07:07:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/okcode/m-p/1784757#M338042</guid>
      <dc:creator>dani_mn</dc:creator>
      <dc:date>2006-12-11T07:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: okcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/okcode/m-p/1784758#M338043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for every normal screen u can have one okcode.&lt;/P&gt;&lt;P&gt;we cant have okcode for subscreen.&lt;/P&gt;&lt;P&gt;get the okcode in a variable &amp;amp; clear it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg.&lt;/P&gt;&lt;P&gt;Data : okcode type sy-ucomm,&lt;/P&gt;&lt;P&gt;          save_ok like okcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Module_user_command.&lt;/P&gt;&lt;P&gt;save_ok = okcode.&lt;/P&gt;&lt;P&gt;clear okcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case save_ok.&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 07:07:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/okcode/m-p/1784758#M338043</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-11T07:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: okcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/okcode/m-p/1784759#M338044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for eve3ry screen you can create one ok code you can clear it by saying clear okcode. for example like this&lt;/P&gt;&lt;P&gt;data:okcode_100(5) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case okcode_100.&lt;/P&gt;&lt;P&gt;  when 'BACK'.&lt;/P&gt;&lt;P&gt;      clear okcode.&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;Regards,&lt;/P&gt;&lt;P&gt;Manohar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 07:09:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/okcode/m-p/1784759#M338044</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-11T07:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: okcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/okcode/m-p/1784760#M338045</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 case of dialog programs , each screen has an okcode field associated with it.&lt;/P&gt;&lt;P&gt;okcode captures the user command on PAI .&lt;/P&gt;&lt;P&gt;plz take a look at the code below for further clarification :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data :  ok_code type sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" in the PAI module MODULE_USER_COMMAND for screen XXX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module module_user_command .&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;&lt;/P&gt;&lt;P&gt;   WHEN ' ' .&lt;/P&gt;&lt;P&gt;         " write the code for the operation to b performed&lt;/P&gt;&lt;P&gt;   WHEN ' ' .&lt;/P&gt;&lt;P&gt;         " write code 2 for another command&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use CLEAR ok_code to clear the value  of ok_code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One screen in a module pool program can have a maximum of 1 okcode.&lt;/P&gt;&lt;P&gt;In the same lines , a module pool program can have as many okcode as the number of screens in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope it helps u..in case of further queries plz revert.&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;Pankaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2006 07:37:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/okcode/m-p/1784760#M338045</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-11T07:37:25Z</dc:date>
    </item>
  </channel>
</rss>

