<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control/m-p/1245038#M143304</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;Welcome to SDN!!!!!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at the link on BDC Table control........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm" target="test_blank"&gt;http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="34960"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="27036"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/advancedsearch?querystring=bdc" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/advancedsearch?querystring=bdc&lt;/A&gt; table control&amp;amp;searchpluginname=sd&lt;/P&gt;&lt;P&gt;****************************&lt;/P&gt;&lt;P&gt;Look at the Example code for scroll.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at pitab where seq_ind = 'X'.&lt;/P&gt;&lt;P&gt;    refresh: bdcdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    clear: bdcdata, date, lno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    read table itab with key pernr = pitab-pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    perform bdc_dynpro using 'SAPMZDMR_DEVICE_MASTER_RECORD'&lt;/P&gt;&lt;P&gt;                                                    '0100'.&lt;/P&gt;&lt;P&gt;    perform bdc_field  using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                           'W_PERNR'.&lt;/P&gt;&lt;P&gt;    perform bdc_field  using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                           '=ENTR'.&lt;/P&gt;&lt;P&gt;    perform bdc_field  using 'W_PERNR'&lt;/P&gt;&lt;P&gt;                           pitab-pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    lno = itab-seqnr + 1.        " Calculating NEXT/New Line&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   page = lno div 12.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    page = itab-seqnr div 12.    " Calculating PAGE No&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   loop at valid_it where pernr = pitab-pernr.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    loop at valid_it where pernr = pitab-pernr and&lt;/P&gt;&lt;P&gt;                           seqnr = ''.&lt;/P&gt;&lt;P&gt;      call function 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;           exporting&lt;/P&gt;&lt;P&gt;                input  = valid_it-ctrdur&lt;/P&gt;&lt;P&gt;           importing&lt;/P&gt;&lt;P&gt;                output = valid_it-ctrdur.&lt;/P&gt;&lt;P&gt;      read table itab with key pernr = valid_it-pernr&lt;/P&gt;&lt;P&gt;                             seqnr = valid_it-seqnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      if valid_it-seqnr = ''.&lt;/P&gt;&lt;P&gt;        if lno &amp;lt; 12.&lt;/P&gt;&lt;P&gt;          page = 0.&lt;/P&gt;&lt;P&gt;        endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        do page times.       " Table control Pagedown&lt;/P&gt;&lt;P&gt;          perform bdc_dynpro using 'SAPMZDMR_DEVICE_MASTER_RECORD'&lt;/P&gt;&lt;P&gt;                                                          '0110'.&lt;/P&gt;&lt;P&gt;          perform bdc_field  using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                       'PGDOWN'.&lt;/P&gt;&lt;P&gt;        enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        lno = lno mod 12.   "Calculating Line No&lt;/P&gt;&lt;P&gt;        if lno = 0.&lt;/P&gt;&lt;P&gt;          lno = 12.&lt;/P&gt;&lt;P&gt;        endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        perform bdc_dynpro using 'SAPMZDMR_DEVICE_MASTER_RECORD'&lt;/P&gt;&lt;P&gt;                                                        '0110'.&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;                                     '=ENTER'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   ************&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        perform index using 'ZFDMR_RECORDS-DVCTYPE' lno&lt;/P&gt;&lt;P&gt;                                    changing fval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        perform bdc_field  using fval valid_it-dvctyp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   ***********&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        perform index using 'ZFDMR_RECORDS-PROVIDER' lno&lt;/P&gt;&lt;P&gt;                                    changing fval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        perform bdc_field  using fval valid_it-provider.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   ***********&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        perform index using 'ZFDMR_RECORDS-PHONENO' lno&lt;/P&gt;&lt;P&gt;                                    changing fval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        perform bdc_field  using fval valid_it-phno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   ***********&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        perform index using 'ZFDMR_RECORDS-REFNO' lno&lt;/P&gt;&lt;P&gt;                                    changing fval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        perform bdc_field  using fval valid_it-refno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ************&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        perform index using 'ZFDMR_RECORDS-CCTNO' lno&lt;/P&gt;&lt;P&gt;                                    changing fval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        perform bdc_field  using fval valid_it-cctno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   ************&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        perform index using 'ZFDMR_RECORDS-ACTDT' lno&lt;/P&gt;&lt;P&gt;                                    changing fval.&lt;/P&gt;&lt;P&gt;        clear: date, dt.&lt;/P&gt;&lt;P&gt;        date = valid_it-actdt.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           concatenate date&lt;EM&gt;4(2) '/' date&lt;/EM&gt;6(2) '/' date+0(4) into dt.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        write date to dt.&lt;/P&gt;&lt;P&gt;        perform bdc_field  using fval dt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   ************&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        perform index using 'ZFDMR_RECORDS-CTRDUR' lno&lt;/P&gt;&lt;P&gt;                                    changing fval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        perform bdc_field  using fval valid_it-ctrdur.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   ************&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        perform index using 'ZFDMR_RECORDS-DEPLDT' lno&lt;/P&gt;&lt;P&gt;                                    changing fval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        clear: date, dt.&lt;/P&gt;&lt;P&gt;        date = valid_it-depldt.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           concatenate date&lt;EM&gt;4(2) '/' date&lt;/EM&gt;6(2) '/' date+0(4) into dt.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        write date to dt.&lt;/P&gt;&lt;P&gt;        perform bdc_field  using fval dt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        if lno = 12.&lt;/P&gt;&lt;P&gt;          do 1 times.         " Table Control NEXT Page&lt;/P&gt;&lt;P&gt;            perform bdc_dynpro using 'SAPMZDMR_DEVICE_MASTER_RECORD'&lt;/P&gt;&lt;P&gt;                                                            '0110'.&lt;/P&gt;&lt;P&gt;            perform bdc_field  using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                         'PGDOWN'.&lt;/P&gt;&lt;P&gt;          enddo.&lt;/P&gt;&lt;P&gt;        endif.&lt;/P&gt;&lt;P&gt;        lno = lno + 1.       " Line No Increment&lt;/P&gt;&lt;P&gt;        page = 0.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;      clear: valid_it, itab.&lt;/P&gt;&lt;P&gt;    endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    if not bdcdata[] is initial.&lt;/P&gt;&lt;P&gt;      perform bdc_dynpro      using&lt;/P&gt;&lt;P&gt;                    'SAPMZDMR_DEVICE_MASTER_RECORD' '0110'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      perform bdc_field  using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                     '=SAVE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      call function 'BDC_INSERT'&lt;/P&gt;&lt;P&gt;           exporting&lt;/P&gt;&lt;P&gt;                tcode          = c_tcode&lt;/P&gt;&lt;P&gt;           tables&lt;/P&gt;&lt;P&gt;                dynprotab      = bdcdata&lt;/P&gt;&lt;P&gt;           exceptions&lt;/P&gt;&lt;P&gt;                internal_error = 01&lt;/P&gt;&lt;P&gt;                not_open       = 02&lt;/P&gt;&lt;P&gt;                queue_error    = 03.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                  TCODE_INVALID  = 04.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;        case sy-subrc.&lt;/P&gt;&lt;P&gt;          when 01.&lt;/P&gt;&lt;P&gt;            message e000 with text-e10.&lt;/P&gt;&lt;P&gt;            exit.&lt;/P&gt;&lt;P&gt;          when 02.&lt;/P&gt;&lt;P&gt;            message e000 with text-e11.&lt;/P&gt;&lt;P&gt;            exit.&lt;/P&gt;&lt;P&gt;          when 03.&lt;/P&gt;&lt;P&gt;            message e000 with text-e05.&lt;/P&gt;&lt;P&gt;            exit.&lt;/P&gt;&lt;P&gt;          when others.&lt;/P&gt;&lt;P&gt;            message e000 with text-e12 sy-subrc.&lt;/P&gt;&lt;P&gt;            exit.&lt;/P&gt;&lt;P&gt;        endcase.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;    clear pitab.&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;In the above example I have 12 lines in my Table control which will be visible.&lt;/P&gt;&lt;P&gt;In this you will also find that after 12 lines are filled the page of T-control will automatically down for further records.&lt;/P&gt;&lt;P&gt;**********************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;If this helps you reward with points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: KDeepak&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: KDeepak&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Mar 2006 09:06:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-03-27T09:06:58Z</dc:date>
    <item>
      <title>BDC with table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control/m-p/1245037#M143303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am doing BDC recording with transaction XK01,I have recorded some sample entries for the vendor(lifnr) and the bank details as well.here the bank details have to be given in 'table control'.remember here the visible number of rows in the table control are 5.if i am giving 5 different rows of bank details in flat file the BDC program is running with out any problem.but if i am giving more tahn 5 entries of bank details for single vendor only first 5 entries are getting updated.the reason i am feeling is the table control has to be scrolled down for the other entries of bank details.&lt;/P&gt;&lt;P&gt;please can any of the SDN users will help me to resolve this issue.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ubedulla khan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2006 09:02:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control/m-p/1245037#M143303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-27T09:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: BDC with table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control/m-p/1245038#M143304</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;Welcome to SDN!!!!!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at the link on BDC Table control........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm" target="test_blank"&gt;http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="34960"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="27036"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/advancedsearch?querystring=bdc" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/advancedsearch?querystring=bdc&lt;/A&gt; table control&amp;amp;searchpluginname=sd&lt;/P&gt;&lt;P&gt;****************************&lt;/P&gt;&lt;P&gt;Look at the Example code for scroll.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at pitab where seq_ind = 'X'.&lt;/P&gt;&lt;P&gt;    refresh: bdcdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    clear: bdcdata, date, lno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    read table itab with key pernr = pitab-pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    perform bdc_dynpro using 'SAPMZDMR_DEVICE_MASTER_RECORD'&lt;/P&gt;&lt;P&gt;                                                    '0100'.&lt;/P&gt;&lt;P&gt;    perform bdc_field  using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                           'W_PERNR'.&lt;/P&gt;&lt;P&gt;    perform bdc_field  using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                           '=ENTR'.&lt;/P&gt;&lt;P&gt;    perform bdc_field  using 'W_PERNR'&lt;/P&gt;&lt;P&gt;                           pitab-pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    lno = itab-seqnr + 1.        " Calculating NEXT/New Line&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   page = lno div 12.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    page = itab-seqnr div 12.    " Calculating PAGE No&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   loop at valid_it where pernr = pitab-pernr.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    loop at valid_it where pernr = pitab-pernr and&lt;/P&gt;&lt;P&gt;                           seqnr = ''.&lt;/P&gt;&lt;P&gt;      call function 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;           exporting&lt;/P&gt;&lt;P&gt;                input  = valid_it-ctrdur&lt;/P&gt;&lt;P&gt;           importing&lt;/P&gt;&lt;P&gt;                output = valid_it-ctrdur.&lt;/P&gt;&lt;P&gt;      read table itab with key pernr = valid_it-pernr&lt;/P&gt;&lt;P&gt;                             seqnr = valid_it-seqnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      if valid_it-seqnr = ''.&lt;/P&gt;&lt;P&gt;        if lno &amp;lt; 12.&lt;/P&gt;&lt;P&gt;          page = 0.&lt;/P&gt;&lt;P&gt;        endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        do page times.       " Table control Pagedown&lt;/P&gt;&lt;P&gt;          perform bdc_dynpro using 'SAPMZDMR_DEVICE_MASTER_RECORD'&lt;/P&gt;&lt;P&gt;                                                          '0110'.&lt;/P&gt;&lt;P&gt;          perform bdc_field  using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                       'PGDOWN'.&lt;/P&gt;&lt;P&gt;        enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        lno = lno mod 12.   "Calculating Line No&lt;/P&gt;&lt;P&gt;        if lno = 0.&lt;/P&gt;&lt;P&gt;          lno = 12.&lt;/P&gt;&lt;P&gt;        endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        perform bdc_dynpro using 'SAPMZDMR_DEVICE_MASTER_RECORD'&lt;/P&gt;&lt;P&gt;                                                        '0110'.&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;                                     '=ENTER'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   ************&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        perform index using 'ZFDMR_RECORDS-DVCTYPE' lno&lt;/P&gt;&lt;P&gt;                                    changing fval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        perform bdc_field  using fval valid_it-dvctyp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   ***********&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        perform index using 'ZFDMR_RECORDS-PROVIDER' lno&lt;/P&gt;&lt;P&gt;                                    changing fval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        perform bdc_field  using fval valid_it-provider.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   ***********&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        perform index using 'ZFDMR_RECORDS-PHONENO' lno&lt;/P&gt;&lt;P&gt;                                    changing fval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        perform bdc_field  using fval valid_it-phno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   ***********&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        perform index using 'ZFDMR_RECORDS-REFNO' lno&lt;/P&gt;&lt;P&gt;                                    changing fval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        perform bdc_field  using fval valid_it-refno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ************&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        perform index using 'ZFDMR_RECORDS-CCTNO' lno&lt;/P&gt;&lt;P&gt;                                    changing fval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        perform bdc_field  using fval valid_it-cctno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   ************&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        perform index using 'ZFDMR_RECORDS-ACTDT' lno&lt;/P&gt;&lt;P&gt;                                    changing fval.&lt;/P&gt;&lt;P&gt;        clear: date, dt.&lt;/P&gt;&lt;P&gt;        date = valid_it-actdt.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           concatenate date&lt;EM&gt;4(2) '/' date&lt;/EM&gt;6(2) '/' date+0(4) into dt.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        write date to dt.&lt;/P&gt;&lt;P&gt;        perform bdc_field  using fval dt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   ************&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        perform index using 'ZFDMR_RECORDS-CTRDUR' lno&lt;/P&gt;&lt;P&gt;                                    changing fval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        perform bdc_field  using fval valid_it-ctrdur.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   ************&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        perform index using 'ZFDMR_RECORDS-DEPLDT' lno&lt;/P&gt;&lt;P&gt;                                    changing fval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        clear: date, dt.&lt;/P&gt;&lt;P&gt;        date = valid_it-depldt.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           concatenate date&lt;EM&gt;4(2) '/' date&lt;/EM&gt;6(2) '/' date+0(4) into dt.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        write date to dt.&lt;/P&gt;&lt;P&gt;        perform bdc_field  using fval dt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        if lno = 12.&lt;/P&gt;&lt;P&gt;          do 1 times.         " Table Control NEXT Page&lt;/P&gt;&lt;P&gt;            perform bdc_dynpro using 'SAPMZDMR_DEVICE_MASTER_RECORD'&lt;/P&gt;&lt;P&gt;                                                            '0110'.&lt;/P&gt;&lt;P&gt;            perform bdc_field  using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                         'PGDOWN'.&lt;/P&gt;&lt;P&gt;          enddo.&lt;/P&gt;&lt;P&gt;        endif.&lt;/P&gt;&lt;P&gt;        lno = lno + 1.       " Line No Increment&lt;/P&gt;&lt;P&gt;        page = 0.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;      clear: valid_it, itab.&lt;/P&gt;&lt;P&gt;    endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    if not bdcdata[] is initial.&lt;/P&gt;&lt;P&gt;      perform bdc_dynpro      using&lt;/P&gt;&lt;P&gt;                    'SAPMZDMR_DEVICE_MASTER_RECORD' '0110'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      perform bdc_field  using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                     '=SAVE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      call function 'BDC_INSERT'&lt;/P&gt;&lt;P&gt;           exporting&lt;/P&gt;&lt;P&gt;                tcode          = c_tcode&lt;/P&gt;&lt;P&gt;           tables&lt;/P&gt;&lt;P&gt;                dynprotab      = bdcdata&lt;/P&gt;&lt;P&gt;           exceptions&lt;/P&gt;&lt;P&gt;                internal_error = 01&lt;/P&gt;&lt;P&gt;                not_open       = 02&lt;/P&gt;&lt;P&gt;                queue_error    = 03.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                  TCODE_INVALID  = 04.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;        case sy-subrc.&lt;/P&gt;&lt;P&gt;          when 01.&lt;/P&gt;&lt;P&gt;            message e000 with text-e10.&lt;/P&gt;&lt;P&gt;            exit.&lt;/P&gt;&lt;P&gt;          when 02.&lt;/P&gt;&lt;P&gt;            message e000 with text-e11.&lt;/P&gt;&lt;P&gt;            exit.&lt;/P&gt;&lt;P&gt;          when 03.&lt;/P&gt;&lt;P&gt;            message e000 with text-e05.&lt;/P&gt;&lt;P&gt;            exit.&lt;/P&gt;&lt;P&gt;          when others.&lt;/P&gt;&lt;P&gt;            message e000 with text-e12 sy-subrc.&lt;/P&gt;&lt;P&gt;            exit.&lt;/P&gt;&lt;P&gt;        endcase.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;    clear pitab.&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;In the above example I have 12 lines in my Table control which will be visible.&lt;/P&gt;&lt;P&gt;In this you will also find that after 12 lines are filled the page of T-control will automatically down for further records.&lt;/P&gt;&lt;P&gt;**********************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;If this helps you reward with points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: KDeepak&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: KDeepak&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2006 09:06:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control/m-p/1245038#M143304</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-27T09:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: BDC with table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control/m-p/1245039#M143305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ubedulla,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Welcome to SDN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. yes, u are right, only first 5 will get updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. We have to simulate the SCROLL UP&lt;/P&gt;&lt;P&gt;   event so that, &lt;/P&gt;&lt;P&gt;  the next set of rows appear.&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2006 09:09:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control/m-p/1245039#M143305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-27T09:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: BDC with table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control/m-p/1245040#M143306</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;The number of rows you can elaborate depends on resolution, so you need to simulate the functionality for scrolling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I'm in front of that trx and I can't find it, so it should be better you can use an alternative tools to load the customer data. For example BI std RFBIDE00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2006 09:10:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control/m-p/1245040#M143306</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-27T09:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: BDC with table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control/m-p/1245041#M143307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Amit,&lt;/P&gt;&lt;P&gt;As you said, we need to simulate the scrollup event.&lt;/P&gt;&lt;P&gt;But i don't know the procedure.can you give out the answer in more detail.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2006 09:13:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control/m-p/1245041#M143307</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-27T09:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: BDC with table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control/m-p/1245042#M143308</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;As I just said in my previous answer I believe you can't do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using release 4.7 and the icons for scrolling are disables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2006 09:16:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control/m-p/1245042#M143308</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-27T09:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: BDC with table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control/m-p/1245043#M143309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Max,&lt;/P&gt;&lt;P&gt;I am also using 4.7.&lt;/P&gt;&lt;P&gt;but I am not clear how to handle more numer of entries in table control, comapring to the visible number of entries in table control screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ubedulla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2006 09:40:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control/m-p/1245043#M143309</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-27T09:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: BDC with table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control/m-p/1245044#M143310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. first you have to do recording&lt;/P&gt;&lt;P&gt;   in sm35   and record the transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. from there, u may be able &lt;/P&gt;&lt;P&gt;   to get the fcode on scrolling event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. or goto tranasction,&lt;/P&gt;&lt;P&gt;   just before scrolling down,&lt;/P&gt;&lt;P&gt;   put /h (for debugging mode on)&lt;/P&gt;&lt;P&gt;  and then press scroll down.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;4. Now u will come in debugging screen,&lt;/P&gt;&lt;P&gt;  there see the value of sy-ucomm.&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2006 09:42:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control/m-p/1245044#M143310</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-27T09:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: BDC with table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control/m-p/1245045#M143311</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;A trick is to use the scrolling command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, suppose a table control shows 3 lines and you need to insert 10 records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- 1) you insert the first 3 records;&lt;/P&gt;&lt;P&gt;- 2) You place last record you have inserted to the top of table control: so now you have only two lines avaible for inserting.&lt;/P&gt;&lt;P&gt;- 3) Insert the 4 and 5 record in the second and third lines and then You place last record you have inserted to the top of table control;&lt;/P&gt;&lt;P&gt;- 4) Insert the 6 and 7 record in the second and third lines and then You place last record you have inserted to the top of table control and so....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the best thing is to insert only one record for every step. In this way your bdc won't depend on resolution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Insert the first record into first line of tc;&lt;/P&gt;&lt;P&gt;2) Insert the second record into second line of tc;&lt;/P&gt;&lt;P&gt;3) Place the last record to the top: now the second line si available for inserting;&lt;/P&gt;&lt;P&gt;4) Insert the third record into second line of tc; &lt;/P&gt;&lt;P&gt;5) Place the last record to the top and so....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this way the second line is always available for insertin of new record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you can do it only if trx has the functionality for scrolling (page up) or to place a line to the top.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2006 09:48:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-with-table-control/m-p/1245045#M143311</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-27T09:48:34Z</dc:date>
    </item>
  </channel>
</rss>

