<?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 with Table Control Problem -- Urgent in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control-problem-urgent/m-p/3932473#M941451</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok &lt;/P&gt;&lt;P&gt;shiva I got ur problem lil bit, &lt;/P&gt;&lt;P&gt;now ur saying that table control screen is customized,&lt;/P&gt;&lt;P&gt;and u have to press the down arrow before doing it.....rite.&lt;/P&gt;&lt;P&gt;Now do one thing, go to ur customized screen in se80 or se51 &lt;/P&gt;&lt;P&gt;and for that button (down arrow) define a FctCode in attributes and use the same in Ok-code in ur BDC.I am sure u have shud have written a code for that down arrow button,if yes then it will surely work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leavingn for the day,,,,,catch u later....ask me if u didn't get anything &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers...!!!&lt;/P&gt;&lt;P&gt;Sid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2008 07:36:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-05T07:36:21Z</dc:date>
    <item>
      <title>BDC with Table Control Problem -- Urgent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control-problem-urgent/m-p/3932466#M941444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm facing one problem with table control while doing BDC. In the table control, only three lines are visible. After filling three lines information, i need to scroll the table control to enter fourth, fifth and so. But i'm getting ok-code as '/00', which is not wrking and when i tried to populate values in fourth row, the third row values are replaced. What should i do now? Is there any solution for this. Please suggest me ASAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Siva Sankar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2008 06:27:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control-problem-urgent/m-p/3932466#M941444</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-05T06:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: BDC with Table Control Problem -- Urgent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control-problem-urgent/m-p/3932467#M941445</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;scroll down the table control for each line item.&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;Sriram&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Srirama Murthy Maddirala on Jun 5, 2008 8:31 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2008 06:31:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control-problem-urgent/m-p/3932467#M941445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-05T06:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: BDC with Table Control Problem -- Urgent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control-problem-urgent/m-p/3932468#M941446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sriram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for ur quick reply. Ya I'm scrolling for each line item, but while scrolling i'm getting ok-code as '/00', which means pressing enter. So its not scrolling and when i'm trying to put values of new line, last but one line values are replaced. I think you got my problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siva Sankar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2008 06:38:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control-problem-urgent/m-p/3932468#M941446</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-05T06:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: BDC with Table Control Problem -- Urgent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control-problem-urgent/m-p/3932469#M941447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sample Code for BDC with table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    perform bdc_dynpro      using   'SAPLCOIH'      '0101'.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using   'BDC_CURSOR'    'CAUFVD-AUFNR'.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using   'BDC_OKCODE'    '=MUEB'.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using   'CAUFVD-AUFNR'   W_SORD_NUM.&lt;/P&gt;&lt;P&gt;    IF del_flag = 'X'.&lt;/P&gt;&lt;P&gt;      perform bdc_dynpro      using   'SAPLCOIH'      '3000'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using   'BDC_OKCODE'    '=BU'.&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      perform bdc_dynpro      using   'SAPLCOIH'      '3000'.&lt;/P&gt;&lt;P&gt;      perform bdc_field       using   'BDC_OKCODE'    '/00'.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using   'CAUFVD-KTEXT'   wa_parts-part_desc.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using   'BDC_CURSOR'    'RESBD-WEMPF(01)'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    READ TABLE it_afko INTO       wa_afko&lt;/P&gt;&lt;P&gt;                       WITH KEY   aufnr = w_sord_num.&lt;/P&gt;&lt;P&gt;    REFRESH :IT_PARTS_TMP.&lt;/P&gt;&lt;P&gt;    IT_PARTS_TMP[] = IT_PARTS[].&lt;/P&gt;&lt;P&gt;    LOOP AT it_parts INTO wa_parts.&lt;/P&gt;&lt;P&gt;      w_sy_tabix = sy-tabix.&lt;/P&gt;&lt;P&gt;      READ TABLE it_resb INTO      wa_resb&lt;/P&gt;&lt;P&gt;                         WITH KEY  rsnum = wa_afko-rsnum&lt;/P&gt;&lt;P&gt;                                   aufnr = w_sord_num&lt;/P&gt;&lt;P&gt;                                   posnr = wa_parts-itemno&lt;/P&gt;&lt;P&gt;                                   xloek = ''.&lt;/P&gt;&lt;P&gt;      IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;        DELETE it_parts INDEX w_sy_tabix.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;    CLEAR : IDX.&lt;/P&gt;&lt;P&gt;    LOOP AT it_parts INTO wa_parts.&lt;/P&gt;&lt;P&gt;      qty = wa_parts-quantity.&lt;/P&gt;&lt;P&gt;      IDX = IDX + 1.&lt;/P&gt;&lt;P&gt;      condense IDX .&lt;/P&gt;&lt;P&gt;      w_page_dn = IDX .&lt;/P&gt;&lt;P&gt;      condense w_page_dn.&lt;/P&gt;&lt;P&gt;***************Code for more than 3 line item to add &lt;/P&gt;&lt;P&gt;      IF w_page_dn = 1.&lt;/P&gt;&lt;P&gt;        perform bdc_dynpro      using 'SAPLCOIH' '3000'.&lt;/P&gt;&lt;P&gt;        perform bdc_field       using 'BDC_OKCODE' '=P+'.&lt;/P&gt;&lt;P&gt;        perform bdc_dynpro      using 'SAPLCOIH' '3000'.&lt;/P&gt;&lt;P&gt;        perform bdc_field       using 'BDC_OKCODE' '=P+'.&lt;/P&gt;&lt;P&gt;        perform bdc_dynpro      using 'SAPLCOIH' '3000'.&lt;/P&gt;&lt;P&gt;        perform bdc_field       using 'BDC_OKCODE' '=P+'.&lt;/P&gt;&lt;P&gt;        w_page_dn = 2.&lt;/P&gt;&lt;P&gt;        IDX = w_page_dn.&lt;/P&gt;&lt;P&gt;        condense IDX .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      ELSEIF w_page_dn &amp;gt; 3.&lt;/P&gt;&lt;P&gt;        perform bdc_dynpro      using 'SAPLCOIH' '3000'.&lt;/P&gt;&lt;P&gt;        perform bdc_field       using 'BDC_OKCODE' '=P+'.&lt;/P&gt;&lt;P&gt;        perform bdc_dynpro      using 'SAPLCOIH' '3000'.&lt;/P&gt;&lt;P&gt;        perform bdc_field       using 'BDC_OKCODE' '=P+'.&lt;/P&gt;&lt;P&gt;        perform bdc_dynpro      using 'SAPLCOIH' '3000'.&lt;/P&gt;&lt;P&gt;        perform bdc_field       using 'BDC_OKCODE' '=P+'.&lt;/P&gt;&lt;P&gt;        w_page_dn = 2.&lt;/P&gt;&lt;P&gt;        IDX = w_page_dn.&lt;/P&gt;&lt;P&gt;        condense IDX .&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;*************************&lt;/P&gt;&lt;P&gt;      CLEAR: wa_resb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      IF wa_resb IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        CONCATENATE 'RESBD-ABLAD(' IDX ')' INTO fnam.&lt;/P&gt;&lt;P&gt;        perform bdc_field       using  fnam&lt;/P&gt;&lt;P&gt;                                       wa_parts-usage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        CONCATENATE 'RESBD-MATNR(' IDX ')' INTO fnam.&lt;/P&gt;&lt;P&gt;        perform bdc_field       using  fnam&lt;/P&gt;&lt;P&gt;                                       wa_parts-partno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        CONCATENATE 'RESBD-MENGE(' IDX ')' INTO fnam.&lt;/P&gt;&lt;P&gt;        perform bdc_field       using  fnam&lt;/P&gt;&lt;P&gt;                                       qty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        CONCATENATE 'RESBD-EINHEIT(' IDX ')' INTO fnam.&lt;/P&gt;&lt;P&gt;        perform bdc_field       using  fnam&lt;/P&gt;&lt;P&gt;                                       wa_parts-unit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        CONCATENATE 'RESBD-LGORT(' IDX ')' INTO fnam.&lt;/P&gt;&lt;P&gt;        perform bdc_field       using  fnam&lt;/P&gt;&lt;P&gt;                                       wa_parts-sloc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        CONCATENATE 'RESBD-WERKS(' IDX ')' INTO fnam.&lt;/P&gt;&lt;P&gt;        perform bdc_field       using  fnam&lt;/P&gt;&lt;P&gt;                                       wa_parts-plant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        CONCATENATE 'RESBD-VORNR(' IDX ')' INTO fnam.&lt;/P&gt;&lt;P&gt;        perform bdc_field       using  fnam&lt;/P&gt;&lt;P&gt;                                       wa_qapo-vornr.             .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        CONCATENATE 'RESBD-CHARG(' IDX ')' INTO fnam.&lt;/P&gt;&lt;P&gt;        perform bdc_field       using  fnam&lt;/P&gt;&lt;P&gt;                                       wa_parts-batch.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      CLEAR:  wa_resb.&lt;/P&gt;&lt;P&gt;    ENDLOOP .&lt;/P&gt;&lt;P&gt;    w_page_dn = 0.&lt;/P&gt;&lt;P&gt;    perform bdc_dynpro      using   'SAPLCOIH'      '3000'.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using   'BDC_OKCODE'    '=BU'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    perform bdc_transaction USING 'IW32'.&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;Swarup&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2008 06:42:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control-problem-urgent/m-p/3932469#M941447</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-05T06:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: BDC with Table Control Problem -- Urgent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control-problem-urgent/m-p/3932470#M941448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Siva,&lt;/P&gt;&lt;P&gt;First of all tell me for which transaction ur making a BDC.&lt;/P&gt;&lt;P&gt;Whenever we are making a BDC for table control there are&lt;/P&gt;&lt;P&gt;many ways to do it, now the one which ur mentioning here&lt;/P&gt;&lt;P&gt;will need P++ as an ok code, but this will only work when your &lt;/P&gt;&lt;P&gt;table control is filled to it's last line.You have to define a counter in you table control's internal table and in ur case when ever counter = 3 use P++  as an ok-code and again set the counter to 1 when done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do it, it will surely help you out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers...!!!&lt;/P&gt;&lt;P&gt;Sid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2008 06:46:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control-problem-urgent/m-p/3932470#M941448</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-05T06:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: BDC with Table Control Problem -- Urgent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control-problem-urgent/m-p/3932471#M941449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;   Inorder to acheive table scroll downing feature , we have to make use of bdc-okcode p+. in the perform statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;refer the sample code:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF CNT &amp;gt; 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    perform bdc_field       using 'BDC_OKCODE' '=P+'.&lt;/P&gt;&lt;P&gt;    perform bdc_dynpro      using 'SAPMF02K' '0130'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'LFBK-BANKN(01)'.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using 'BDC_OKCODE' '=VW'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    perform bdc_dynpro      using 'SAPMF02K' '0130'.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'LFBK-BANKN(01)'.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using 'BDC_OKCODE' '=VW'.&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;  CNT = 1.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&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;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Umakanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2008 07:00:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control-problem-urgent/m-p/3932471#M941449</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-05T07:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: BDC with Table Control Problem -- Urgent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control-problem-urgent/m-p/3932472#M941450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Siddarth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I'm doing this bdc for ME21 transaction. But the problem is not with line item deatils filling. There is no problem with that. There is one more table control in header level which is purely customized. There are no other provision to scroll, we have to press on down-arrow button after filling three line item's details. But here i'm getting '/00' as ok-code. I have tried with 'P+&lt;EM&gt;' and '=P&lt;/EM&gt;' ok-codes also. but BDC giving error like 'This function not defined'. What should we do now?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siva Sankar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2008 07:22:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control-problem-urgent/m-p/3932472#M941450</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-05T07:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: BDC with Table Control Problem -- Urgent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control-problem-urgent/m-p/3932473#M941451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok &lt;/P&gt;&lt;P&gt;shiva I got ur problem lil bit, &lt;/P&gt;&lt;P&gt;now ur saying that table control screen is customized,&lt;/P&gt;&lt;P&gt;and u have to press the down arrow before doing it.....rite.&lt;/P&gt;&lt;P&gt;Now do one thing, go to ur customized screen in se80 or se51 &lt;/P&gt;&lt;P&gt;and for that button (down arrow) define a FctCode in attributes and use the same in Ok-code in ur BDC.I am sure u have shud have written a code for that down arrow button,if yes then it will surely work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leavingn for the day,,,,,catch u later....ask me if u didn't get anything &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers...!!!&lt;/P&gt;&lt;P&gt;Sid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2008 07:36:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control-problem-urgent/m-p/3932473#M941451</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-05T07:36:21Z</dc:date>
    </item>
  </channel>
</rss>

