<?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 FB60 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-fb60/m-p/3765709#M906021</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all! thanks for your posts...&lt;/P&gt;&lt;P&gt;I've made few changes in the code n got it workin the way i wantd.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 May 2008 08:54:23 GMT</pubDate>
    <dc:creator>divya_nayudu</dc:creator>
    <dc:date>2008-05-08T08:54:23Z</dc:date>
    <item>
      <title>BDC for FB60</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-fb60/m-p/3765704#M906016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ive prepard BDC for FB60, in case of line items exceeding 10 (total visible rows in table control), i need to make use of "p+" okcode. But for some reasons, its not working. &lt;/P&gt;&lt;P&gt;my BDCDATA table gets filled up perfectly with P+ okcode for the rows exceeding 10. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i execute, on reaching 11th row,it works fine (moves the table one up too), but ahead, doesn't show any okcode after 'P+',  so I am unable to proceed ahead... If anyone has faced any such situation, plese let me know if im missing any statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This bdc is a very urgent requirement, so would (give points) appreciate help on this asap.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 06:01:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-fb60/m-p/3765704#M906016</guid>
      <dc:creator>divya_nayudu</dc:creator>
      <dc:date>2008-05-08T06:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: BDC for FB60</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-fb60/m-p/3765705#M906017</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;U have to include the code of P+ in the BDCDATA depending upon the number of lines which are more than 10.&lt;/P&gt;&lt;P&gt;eg. DESCRIBE table itab lines lv_lin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_loop = lv_lin - 10. and fill the P+ ok code lv_loop times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if found useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 06:07:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-fb60/m-p/3765705#M906017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-08T06:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: BDC for FB60</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-fb60/m-p/3765706#M906018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Divya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I can help you out, but could u plz post your code in here atleast the recording part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 06:09:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-fb60/m-p/3765706#M906018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-08T06:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: BDC for FB60</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-fb60/m-p/3765707#M906019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Divya, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While recording the BDC, press the + Button provided at the bottom of the table control , see what is the code for that button .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that , when you are inserting the rows in the table control , instead of inserting 10 rows at one go and then pressing page up , loop at your internal table and for every row in your internal table, execute the code for + button and assign the values to the internal table field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By doing this , the code will insert first one row in the table control and then assign the values to it , so you will not face the problem you are facing .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 06:10:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-fb60/m-p/3765707#M906019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-08T06:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: BDC for FB60</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-fb60/m-p/3765708#M906020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will paste my code here, the main parts tht can b problematic. So that you all get rough idea of it. Meanwhile im tryin few other ways out if it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE ITAB LINES TOTAL_ITEMS.&lt;/P&gt;&lt;P&gt;  L_DIFF = TOTAL_ITEMS - 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PERFORM bdc_dynpro      USING 'SAPMF05A' '1100'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   PERFORM bdc_field       USING 'BDC_OKCODE'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                                 '/00'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ON CHANGE OF itab-accnt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      L_COUNT = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      PERFORM bdc_dynpro      USING 'SAPMF05A' '1100'.&lt;/P&gt;&lt;P&gt;      PERFORM bdc_field       USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                    '=MORE'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*********&lt;STRONG&gt;here code for entry of header data comes...&lt;/STRONG&gt;**     &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDON.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     IF L_COUNT GT 10 AND L_DIFF GT 0.&lt;/P&gt;&lt;P&gt;        PERFORM bdc_dynpro      USING 'SAPMF05A' '1100'.&lt;/P&gt;&lt;P&gt;        PERFORM bdc_field       USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                          'P+'.&lt;/P&gt;&lt;P&gt;     ELSE.&lt;/P&gt;&lt;P&gt;        PERFORM bdc_dynpro      USING 'SAPMF05A' '1100'.&lt;/P&gt;&lt;P&gt;        PERFORM bdc_field       USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                          '=PI'.&lt;/P&gt;&lt;P&gt;     ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****Entry of line items starts here..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CONCATENATE 'ACGL_ITEM-HKONT(' l_count ')' INTO l_temp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                  l_temp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING l_temp&lt;/P&gt;&lt;P&gt;                                  itab-hkont.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CONCATENATE 'ACGL_ITEM-SHKZG(' l_count ')' INTO l_temp.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING l_temp&lt;/P&gt;&lt;P&gt;                                  itab-shkzg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CONCATENATE 'ACGL_ITEM-PRCTR(' l_count ')' INTO l_temp.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING l_temp&lt;/P&gt;&lt;P&gt;                                  itab-prctr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM bdc_dynpro      USING 'SAPMF05A' '0300'.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                  '=ZK'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    l_amt = itab-wrbtr1.&lt;/P&gt;&lt;P&gt;    CONDENSE l_amt NO-GAPS.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'BSEG-WRBTR'&lt;/P&gt;&lt;P&gt;                                    l_amt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'BSEG-SGTXT'&lt;/P&gt;&lt;P&gt;                                  itab-sgtxt1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'DKACB-FMORE'&lt;/P&gt;&lt;P&gt;                                  'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM bdc_dynpro      USING 'SAPLKACB' '0002'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   if l_count GE 10.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_dynpro      USING 'SAPMF05A' '1100'.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                  '/00'.&lt;/P&gt;&lt;P&gt;   endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   L_COUNT = L_COUNT + 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM bdc_field       USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                '=BU'.&lt;/P&gt;&lt;P&gt;  CALL TRANSACTION 'FB60' USING bdcdata MODE call_mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whenever the 11th row comes, my table control shows 11th row perfectly, but its not able to catch okcode '=ZK' after that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 06:26:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-fb60/m-p/3765708#M906020</guid>
      <dc:creator>divya_nayudu</dc:creator>
      <dc:date>2008-05-08T06:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: BDC for FB60</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-fb60/m-p/3765709#M906021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all! thanks for your posts...&lt;/P&gt;&lt;P&gt;I've made few changes in the code n got it workin the way i wantd.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 08:54:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-fb60/m-p/3765709#M906021</guid>
      <dc:creator>divya_nayudu</dc:creator>
      <dc:date>2008-05-08T08:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: BDC for FB60</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-fb60/m-p/3765710#M906022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi divya&lt;/P&gt;&lt;P&gt;can u send this BDC for fb60 complete code.&lt;/P&gt;&lt;P&gt;i got the same problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply&lt;/P&gt;&lt;P&gt;jigar p&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2008 06:17:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-fb60/m-p/3765710#M906022</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-22T06:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: BDC for FB60</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-fb60/m-p/3765711#M906023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;      we too are facing the same problem. please send the code .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srinivas.&lt;/P&gt;&lt;P&gt;9849376675&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2011 05:34:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-for-fb60/m-p/3765711#M906023</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-05T05:34:24Z</dc:date>
    </item>
  </channel>
</rss>

