<?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_OKCODE' menaing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-okcode-menaing/m-p/3991684#M953635</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you please tell me &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why its coming out from the loop if lv_amount values suppose 0.36 (even thought its NE 0 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT t_output INTO wa_output.&lt;/P&gt;&lt;P&gt;    lv_amount = &amp;lt;fv_output&amp;gt;.&lt;/P&gt;&lt;P&gt;    CONDENSE lv_amount.&lt;/P&gt;&lt;P&gt;   IF lv_amount NE 0.                            &lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                  '=NEW'.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'GLU1-TSL'&lt;/P&gt;&lt;P&gt;                                  lv_amount.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'RGBUK-O_V01'&lt;/P&gt;&lt;P&gt;                                  wa_output-racct.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'RGBUK-O_V04'&lt;/P&gt;&lt;P&gt;                                  p_rprctr.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'RGBUK-O_V05'&lt;/P&gt;&lt;P&gt;                                  wa_output-rzzplat.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_dynpro      USING 'SAPMGBUK' '0110'.&lt;/P&gt;&lt;P&gt;   ENDIF.                                        "&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Jun 2008 07:33:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-09T07:33:32Z</dc:date>
    <item>
      <title>'BDC_OKCODE' menaing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-okcode-menaing/m-p/3991679#M953630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can anyboy explain me what is the meaning of this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in what conditions it will get exicute ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; PERFORM bdc_field       USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                  '=NEW'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 07:20:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-okcode-menaing/m-p/3991679#M953630</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-09T07:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: 'BDC_OKCODE' menaing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-okcode-menaing/m-p/3991680#M953631</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;While executing the BDC when evr the BDc ok_Cdoe will eb NEW at that time the perform wil be called.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 07:22:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-okcode-menaing/m-p/3991680#M953631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-09T07:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: 'BDC_OKCODE' menaing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-okcode-menaing/m-p/3991681#M953632</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;with that statement you will be populating the table bdcdata  with the FCT code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its a fctcode which will be triggered if you create anything new&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example if you are doing recording for SE38,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you craete a new program the FCT code will be '=NEW'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;prasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 07:25:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-okcode-menaing/m-p/3991681#M953632</guid>
      <dc:creator>prasanth_kasturi</dc:creator>
      <dc:date>2008-06-09T07:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: 'BDC_OKCODE' menaing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-okcode-menaing/m-p/3991682#M953633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi baarathi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the record that identifies the screen, use a new bdcdata record for each field you want to fill. These records use the fields fnam and fval. You can fill the following fields:&lt;/P&gt;&lt;P&gt;u2022 Input/output fields (with data)&lt;/P&gt;&lt;P&gt;u2022 The command field bdc_okcode, (with a function code)&lt;/P&gt;&lt;P&gt;u2022 The cursor positioning field, bdc_cursor (with a field name)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The filled internal table in bdcdata format is illustrated above. At runtime, stands for the customer name from the input field, stands for the city.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You use the field BDC_OKCODE to address the command field, into which you enter the function code that would have been triggered by the user choosing a function key, pushbutton, or menu entry in dialog mode (or by entering a code directly in the command field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;shankar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward me if usefull&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 07:26:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-okcode-menaing/m-p/3991682#M953633</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-09T07:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: 'BDC_OKCODE' menaing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-okcode-menaing/m-p/3991683#M953634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and if you want to find out how and when which ok codes are executed you can create a recording with SM35&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here you can find in detail which ok codes and fieldcodes are populated when running a transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's the start of almost each bdc programming to examine the recording of you're tcode you want to make the bdc for&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;arthur de smidt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: A. de Smidt on Jun 9, 2008 9:32 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 07:32:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-okcode-menaing/m-p/3991683#M953634</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-09T07:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: 'BDC_OKCODE' menaing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-okcode-menaing/m-p/3991684#M953635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you please tell me &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why its coming out from the loop if lv_amount values suppose 0.36 (even thought its NE 0 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT t_output INTO wa_output.&lt;/P&gt;&lt;P&gt;    lv_amount = &amp;lt;fv_output&amp;gt;.&lt;/P&gt;&lt;P&gt;    CONDENSE lv_amount.&lt;/P&gt;&lt;P&gt;   IF lv_amount NE 0.                            &lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                  '=NEW'.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'GLU1-TSL'&lt;/P&gt;&lt;P&gt;                                  lv_amount.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'RGBUK-O_V01'&lt;/P&gt;&lt;P&gt;                                  wa_output-racct.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'RGBUK-O_V04'&lt;/P&gt;&lt;P&gt;                                  p_rprctr.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'RGBUK-O_V05'&lt;/P&gt;&lt;P&gt;                                  wa_output-rzzplat.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_dynpro      USING 'SAPMGBUK' '0110'.&lt;/P&gt;&lt;P&gt;   ENDIF.                                        "&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 07:33:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-okcode-menaing/m-p/3991684#M953635</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-09T07:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: 'BDC_OKCODE' menaing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-okcode-menaing/m-p/3991685#M953636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this code will execute when you want to perform task through your driver program.It is also a default command action which is use to perform required result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 07:36:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-okcode-menaing/m-p/3991685#M953636</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-09T07:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: 'BDC_OKCODE' menaing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-okcode-menaing/m-p/3991686#M953637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to test it you can note alle the values of all variables you pass to this bdc  in debugging, and try to enter those values when running the t-code. if an error raises you get the idea of what is wrong with the data you entered&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;arthur de smidt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 07:42:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-okcode-menaing/m-p/3991686#M953637</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-09T07:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: 'BDC_OKCODE' menaing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-okcode-menaing/m-p/3991687#M953638</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;BDC_OKCODE tells which action is to be executed on the screen.&lt;/P&gt;&lt;P&gt;like save, back, quit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Indireddy Raveendrareddy on Jun 9, 2008 10:32 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 08:29:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-okcode-menaing/m-p/3991687#M953638</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-09T08:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: 'BDC_OKCODE' menaing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-okcode-menaing/m-p/3991688#M953639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 06:10:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-okcode-menaing/m-p/3991688#M953639</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-30T06:10:20Z</dc:date>
    </item>
  </channel>
</rss>

