<?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: BDC for dynamic ok codes in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-dynamic-ok-codes/m-p/2100497#M437836</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I faced similar issue and was able to resolve it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'%_GC N N' is a dummy okcode dynamically generated and assigned during screen generation. SAP determines the actual okcode once PAI event has been triggered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To determine actual okcode, switch on debugger and navigate to method OKCODE_DISPATCH. Corresponding okcode can be determined from static variable &lt;STRONG&gt;mt_registered_okcodes&lt;/STRONG&gt;&amp;nbsp; or through method GET_EVENT_PARAMETER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once the FCODE (such as 'SAVE' , 'OIP_CHECK' etc.) is determined, replace '%_GC okcode' with corresponding 'FCODE' in the BDC recording.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/629298" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/629299" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Jan 2015 23:55:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-01-21T23:55:48Z</dc:date>
    <item>
      <title>BDC for dynamic ok codes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-dynamic-ok-codes/m-p/2100494#M437833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While recording the BDC the find button is trigerred by the ok code =%_GC 628 1 which is dynamic and changes in every recoding. how can I use the find button then. can I find the dynamically created ok code or use some other method to trigger the find button in BDC. Please Help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2007 17:40:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-dynamic-ok-codes/m-p/2100494#M437833</guid>
      <dc:creator>Ashutosht09</dc:creator>
      <dc:date>2007-04-03T17:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: BDC for dynamic ok codes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-dynamic-ok-codes/m-p/2100495#M437834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might want to try to find a BAPI or API for your requriement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2007 17:46:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-dynamic-ok-codes/m-p/2100495#M437834</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-04-03T17:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: BDC for dynamic ok codes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-dynamic-ok-codes/m-p/2100496#M437835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can any one tell me the BAPI to create Tours for Shipment routes done by transaction /DSD/RP_TOUR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2007 17:50:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-dynamic-ok-codes/m-p/2100496#M437835</guid>
      <dc:creator>Ashutosht09</dc:creator>
      <dc:date>2007-04-03T17:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: BDC for dynamic ok codes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-dynamic-ok-codes/m-p/2100497#M437836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I faced similar issue and was able to resolve it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'%_GC N N' is a dummy okcode dynamically generated and assigned during screen generation. SAP determines the actual okcode once PAI event has been triggered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To determine actual okcode, switch on debugger and navigate to method OKCODE_DISPATCH. Corresponding okcode can be determined from static variable &lt;STRONG&gt;mt_registered_okcodes&lt;/STRONG&gt;&amp;nbsp; or through method GET_EVENT_PARAMETER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once the FCODE (such as 'SAVE' , 'OIP_CHECK' etc.) is determined, replace '%_GC okcode' with corresponding 'FCODE' in the BDC recording.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/629298" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/629299" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 23:55:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-dynamic-ok-codes/m-p/2100497#M437836</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-21T23:55:48Z</dc:date>
    </item>
  </channel>
</rss>

