<?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 Module pool programming in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-in-module-pool-programming/m-p/2489392#M561746</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;ENTER                -  ' ' -&amp;gt;space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PBO is first executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jul 2007 12:24:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-18T12:24:07Z</dc:date>
    <item>
      <title>Ok Code in Module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-in-module-pool-programming/m-p/2489386#M561740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know what is the ok_code or sy-ucomm fro TAB, ENTER and DOUBLE CLICK and different events in module pool programming&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And what is the execution sequence in module pool programming?&lt;/P&gt;&lt;P&gt;Means which event execute First..PAI or PBO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 12:18:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-in-module-pool-programming/m-p/2489386#M561740</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T12:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Ok Code in Module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-in-module-pool-programming/m-p/2489387#M561741</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;Process Before Output is the part of the dynpro code that is precessed before the user can do anithing with the data in the screen &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Process After Input is the part of the dynpro code that is preocessed after the interaction with the user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when an action is performed ,the system triggers the PROCESS AFTER INPUT event.The data passed includes field screen data data entered by the user and a function code. A  functioncode is a technical name that has been allocated in a screen Painter or Menu Painter to a meny entry,a push button,the ENTER key or a function Key of a screen.An internal work field(&amp;lt;b&amp;gt;ok-code&amp;lt;/b&amp;gt;)in the PAI module evaluates the function code,and the appropriate action is taken.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;        sathiya Ramasmay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 12:21:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-in-module-pool-programming/m-p/2489387#M561741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T12:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: Ok Code in Module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-in-module-pool-programming/m-p/2489388#M561742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Dhwani, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    sy-ucomm value for double click is PICK , &lt;/P&gt;&lt;P&gt;there is no such ok_code for ENETR ..it keeps on changing from transaction to transaction , even you can specify the ok_code for ENTER in menu painter .&lt;/P&gt;&lt;P&gt;and I am sorry , I d't understand what is TAB ( what exactly you wanted to mean ?) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sequence of module pool programming is :&lt;/P&gt;&lt;P&gt;first PBO is triggered and the screen appears in GUI .&lt;/P&gt;&lt;P&gt;after the user-action is done the PAI triggers , then the PBO again n then you see the screen ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;Ranjita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 12:22:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-in-module-pool-programming/m-p/2489388#M561742</guid>
      <dc:creator>former_member196299</dc:creator>
      <dc:date>2007-07-18T12:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: Ok Code in Module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-in-module-pool-programming/m-p/2489389#M561743</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 codes are user defined ones. It can be set by creating the Pf status of the screen. For TAB,ENTER,etc you can give ur own ok codes and handle it accordingly in program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PBO will execute first while starting the transaction.&lt;/P&gt;&lt;P&gt;PAI will exectute after user gives any values to the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 12:22:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-in-module-pool-programming/m-p/2489389#M561743</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T12:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Ok Code in Module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-in-module-pool-programming/m-p/2489390#M561744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In customer programs (Z) OKcodes are defined by you, assigning them to screen elements in Menu Painter or Screen painter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the case of standard programs, it depends, you should open the screen for which you wanna know okcodes in SE80 and check, or enter the standard transaction and set /H before doing the action. In SY-UCOMM you get the okcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screen flow is like this:&lt;/P&gt;&lt;P&gt;PBO (Process before output)&lt;/P&gt;&lt;P&gt;--- User action&lt;/P&gt;&lt;P&gt;PAI (Process after input)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Provide points if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 12:23:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-in-module-pool-programming/m-p/2489390#M561744</guid>
      <dc:creator>alejandro_bindi</dc:creator>
      <dc:date>2007-07-18T12:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: Ok Code in Module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-in-module-pool-programming/m-p/2489391#M561745</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 codes for the following are -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; TAB --  =TABHDT4&lt;/P&gt;&lt;P&gt; ENTER--  /00&lt;/P&gt;&lt;P&gt; DOUBLE CLICK---- =MESELECT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Hope it helps..&lt;/P&gt;&lt;P&gt; Reward points if useful..&lt;/P&gt;&lt;P&gt; Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 12:23:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-in-module-pool-programming/m-p/2489391#M561745</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T12:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Ok Code in Module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-in-module-pool-programming/m-p/2489392#M561746</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;ENTER                -  ' ' -&amp;gt;space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PBO is first executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 12:24:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-in-module-pool-programming/m-p/2489392#M561746</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T12:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Ok Code in Module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-in-module-pool-programming/m-p/2489393#M561747</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sy-ucomm is mainly to activate PAI in module pool programing.&lt;/P&gt;&lt;P&gt;we will assign &lt;/P&gt;&lt;P&gt;ok_code= sy-ucomm.&lt;/P&gt;&lt;P&gt;PAI will be activated first which will include&lt;/P&gt;&lt;P&gt;once the input is given PAI will be processed which includes all logical coding part.&lt;/P&gt;&lt;P&gt;PBO is processed just before output which mainly include pf-status and title .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward with points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 12:28:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-in-module-pool-programming/m-p/2489393#M561747</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T12:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Ok Code in Module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-in-module-pool-programming/m-p/2489394#M561748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;there is no event to trigger for "tab" key.&lt;/P&gt;&lt;P&gt;For  ENTER,You have to set the funtion code for that in function keys of GUI status.&lt;/P&gt;&lt;P&gt;For Double click, the function code is F2.You have to assign any one function code to this function key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you run a transaction ,The first event which will trigger is Process Before Output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 12:35:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ok-code-in-module-pool-programming/m-p/2489394#M561748</guid>
      <dc:creator>former_member491305</dc:creator>
      <dc:date>2007-07-18T12:35:30Z</dc:date>
    </item>
  </channel>
</rss>

