<?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 code for modify mode in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-code-for-modify-mode/m-p/6584595#M1434914</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yogesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok. So, you had last page button available for your table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another most important part is using following call transaction statement which is always is taking default screen size. That means no of lines are fixed for every user and easy to identify when to do next page and last page. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA:wa_opt TYPE ctu_params.
wa_opt-dismode = 'N'.
wa_opt-updmode = 'S'.
wa_opt-defsize = 'X'.
CALL TRANSACTION 'IQS2' USING wt_bdc
OPTIONS FROM wa_opt
MESSAGES INTO P_MESSTAB.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes this also does not work, as in my case happened. I was able to display only 19 records here and at client side they were able to see 22 records at a time. So, it was not working in my case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, mark the thread as answered .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in btw, u guessed it right. Me pan marathi aahe, pan mumbaikar nahi. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Archana&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Archana Pawar on Feb 10, 2010 1:32 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Archana Pawar on Feb 10, 2010 1:33 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Feb 10, 2010 9:02 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Feb 2010 12:31:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-10T12:31:57Z</dc:date>
    <item>
      <title>BDC code for modify mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-code-for-modify-mode/m-p/6584583#M1434902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have specific problem with BDC session. &lt;/P&gt;&lt;P&gt;i am using following code to create record in SAP for creating notifications(IQS1). This is working fine in create mode for as many as records. Becuase after every 2 lines, using =PEND for pagedown. The same code is working fine in modify mode also if number of records are same.But If user has already created (lets say 5 records) and want to add 2 more records. Then in modify mode there are total 7 records i.e.passing all previous 5 and plus 2 new records. That time it is not working fine. It is creating  total 10 records.What special should i do for modify mode?&lt;/P&gt;&lt;P&gt;I have variable p_mode going into this form and have values CREATE or MOIDFY. i can use the same if i want to do something special for modify mode. please help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: wt_bdc TYPE STANDARD TABLE OF bdcdata,&lt;/P&gt;&lt;P&gt;      wa_bdc LIKE LINE OF wt_bdc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM ITEM_DATA  USING VALUE(p_qmfe) LIKE wt_qmfe&lt;/P&gt;&lt;P&gt;                                   p_mode LIKE wm_mode&lt;/P&gt;&lt;P&gt;                CHANGING P_RETURN LIKE return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT p_qmfe BY fenum posnr.&lt;/P&gt;&lt;P&gt;LOOP AT p_qmfe INTO wa_qmfe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF wa_qmfe_cntr &amp;gt; 2.&lt;/P&gt;&lt;P&gt;        wa_qmfe_cntr = 2.&lt;/P&gt;&lt;P&gt;        perform bdc_dynpro      using 'SAPLIQS0'            '7204'.&lt;/P&gt;&lt;P&gt;        perform bdc_field       using 'BDC_OKCODE'          '=PEND'.&lt;/P&gt;&lt;P&gt;    ENDIF.&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;  CONCATENATE 'VIQMFE-POSNR('  wa_qmfe_cntr ')' INTO        wm_qmfe_posnr.&lt;/P&gt;&lt;P&gt;  CONCATENATE 'VIQMFE-OTGRP('  wa_qmfe_cntr ')' INTO        wm_qmfe_otgrp.&lt;/P&gt;&lt;P&gt;  CONCATENATE 'VIQMFE-OTEIL('  wa_qmfe_cntr ')' INTO        wm_qmfe_oteil.&lt;/P&gt;&lt;P&gt;  CONCATENATE 'VIQMFE-FETXT('  wa_qmfe_cntr ')' INTO        wm_qmfe_fetxt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  perform bdc_field       using wm_qmfe_posnr               wa_qmfe-posnr.&lt;/P&gt;&lt;P&gt;  perform bdc_field       using wm_qmfe_otgrp               wa_qmfe-otgrp.&lt;/P&gt;&lt;P&gt;  perform bdc_field       using wm_qmfe_oteil               wa_qmfe-oteil.&lt;/P&gt;&lt;P&gt;  perform bdc_field       using wm_qmfe_fetxt               wa_qmfe-fetxt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; wa_qmfe_cntr = wa_qmfe_cntr + 01.&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;CLEAR P_MESSTAB.&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'IQS2' USING wt_bdc&lt;/P&gt;&lt;P&gt;                          MODE 'N'&lt;/P&gt;&lt;P&gt;                          UPDATE 'S'&lt;/P&gt;&lt;P&gt;                          MESSAGES INTO P_MESSTAB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2010 18:56:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-code-for-modify-mode/m-p/6584583#M1434902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-04T18:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: BDC code for modify mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-code-for-modify-mode/m-p/6584584#M1434903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you cannot absolutely determine the maximum rows on the screen, you are going to find the modify pretty tough.  I would not try to deal with any existing rows as you will find getting to the correct row quite problematic.  I would look to see if there is a way to get past those existing rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the a "P++" (last page) button or a position (find) button?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might look to see if you can find a function module (bapi).&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;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2010 20:33:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-code-for-modify-mode/m-p/6584584#M1434903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-04T20:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: BDC code for modify mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-code-for-modify-mode/m-p/6584585#M1434904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks john for reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can not ignore existing rows as there might change in existing columns. I have also tried P++ but it is not working. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other suggestion please......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2010 09:35:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-code-for-modify-mode/m-p/6584585#M1434904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-05T09:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: BDC code for modify mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-code-for-modify-mode/m-p/6584586#M1434905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the modify mode write a select query in to the correponding table and find how many records are existing. Based on that determine the counter and use it accordngly to update the new reocrds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikranth Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2010 09:43:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-code-for-modify-mode/m-p/6584586#M1434905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-05T09:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: BDC code for modify mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-code-for-modify-mode/m-p/6584587#M1434906</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;If your problem is with page down then try below option. In my case it worked fine.&lt;/P&gt;&lt;P&gt;While doing the recording, select the option POSITION instead of pagedown.&lt;/P&gt;&lt;P&gt;for any table control you have an option at the botton called POSITION, using which you can be able to locate a record the table control&lt;/P&gt;&lt;P&gt;these can be captured in the recording, which will ease your BDC for handling optios like pagedown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thansk,&lt;/P&gt;&lt;P&gt;Archana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2010 09:44:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-code-for-modify-mode/m-p/6584587#M1434906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-05T09:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: BDC code for modify mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-code-for-modify-mode/m-p/6584588#M1434907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Archana, &lt;/P&gt;&lt;P&gt;Could you please explain in detail one more time.. please. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;Any other option&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Feb 8, 2010 3:49 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2010 20:44:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-code-for-modify-mode/m-p/6584588#M1434907</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-08T20:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: BDC code for modify mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-code-for-modify-mode/m-p/6584589#M1434908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe standard SAP program RIIBIP00 would be a better choice. See its documentation and also note 38300.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2010 20:58:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-code-for-modify-mode/m-p/6584589#M1434908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-08T20:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: BDC code for modify mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-code-for-modify-mode/m-p/6584590#M1434909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yogesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was working on BDC for TK11, in which i had to enter 34 entries. There was button available at the end of the table called line, which indicates position of the table entry. As page down was not working in my case, i used that position button, and moved to new entry using that button. This option is possible only if 'Position' button is available. Part BDC code for position button is given below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PERFORM bdc_dynpro      USING 'SAPLWMMB' '0200'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                'Y_CHAR_VAL'.
      PERFORM bdc_field       USING 'Y_CHAR_VAL'
                                l_v_position.               
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                '=ENTR'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                '/00'.
      PERFORM bdc_dynpro      USING 'SAPLWMMB' '6000'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                '=POSI'.
      PERFORM bdc_field       USING 'BDC_SUBSCR'
                                'SAPLV57S                                0100HEADER'.
      PERFORM bdc_field       USING 'BDC_SUBSCR'
                                'SAPLV57S                                0101SHEET'.
      PERFORM bdc_field       USING 'BDC_SUBSCR'
                                'SAPLWMMB                                2101MTX_SUBSC'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                'VL01(01)'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Archana&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Archana Pawar on Feb 9, 2010 4:38 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2010 03:37:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-code-for-modify-mode/m-p/6584590#M1434909</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-09T03:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: BDC code for modify mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-code-for-modify-mode/m-p/6584591#M1434910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yogesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think in your case 'Position' button is not available. So, during BDC recording check if sroll is getting recorded. So, after entering 1 record you can scroll down, enter another record, again scoll down and so on.&lt;/P&gt;&lt;P&gt;Just try it out, if it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, refer to below thread for more suggestion on page down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="8723657"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Archana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2010 03:46:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-code-for-modify-mode/m-p/6584591#M1434910</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-09T03:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: BDC code for modify mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-code-for-modify-mode/m-p/6584592#M1434911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks archana for reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right. position button is not available and the other way u have mentioned, i am already doing it.  see code pasted in question. Below part is doing that.scroll down after entring every record. PEND for pagedown. This is working fine for create mode. But not for modify mode as i have few modified rows plus few new new rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF wa_qmfe_cntr &amp;gt; 2.&lt;/P&gt;&lt;P&gt;wa_qmfe_cntr = 2.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPLIQS0' '7204'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE' '=PEND'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Btw,link  given in above post is of my question only.......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2010 12:34:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-code-for-modify-mode/m-p/6584592#M1434911</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-09T12:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: BDC code for modify mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-code-for-modify-mode/m-p/6584593#M1434912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yogesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the link. I intended to give you other link. Please refer below link.&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="165547"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Archana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2010 03:28:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-code-for-modify-mode/m-p/6584593#M1434912</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-10T03:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: BDC code for modify mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-code-for-modify-mode/m-p/6584594#M1434913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2010 11:27:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-code-for-modify-mode/m-p/6584594#M1434913</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-10T11:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: BDC code for modify mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-code-for-modify-mode/m-p/6584595#M1434914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yogesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok. So, you had last page button available for your table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another most important part is using following call transaction statement which is always is taking default screen size. That means no of lines are fixed for every user and easy to identify when to do next page and last page. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA:wa_opt TYPE ctu_params.
wa_opt-dismode = 'N'.
wa_opt-updmode = 'S'.
wa_opt-defsize = 'X'.
CALL TRANSACTION 'IQS2' USING wt_bdc
OPTIONS FROM wa_opt
MESSAGES INTO P_MESSTAB.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes this also does not work, as in my case happened. I was able to display only 19 records here and at client side they were able to see 22 records at a time. So, it was not working in my case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, mark the thread as answered .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in btw, u guessed it right. Me pan marathi aahe, pan mumbaikar nahi. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Archana&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Archana Pawar on Feb 10, 2010 1:32 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Archana Pawar on Feb 10, 2010 1:33 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Feb 10, 2010 9:02 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2010 12:31:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-code-for-modify-mode/m-p/6584595#M1434914</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-10T12:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: BDC code for modify mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-code-for-modify-mode/m-p/6584596#M1434915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Archana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even i noticed the same that different users can see different number of records. so, did u try using default size in CALL TRANSACTION as i mentioned above?&lt;/P&gt;&lt;P&gt; This always set no. of line to 9, that is what i noticed and then doing next page on that basis for existing rows. It is working for me. For new record addition  always using last page and then addition. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For next page - perform bdc_field       using 'BDC_OKCODE'          '=PNPG'.&lt;/P&gt;&lt;P&gt;For last page - perform bdc_field       using 'BDC_OKCODE'          '=PEND'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yeah.. giving full rewards.Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hummmmm.....mag kadachit punekar. jst another wild guess.:-)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yogesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2010 12:59:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-code-for-modify-mode/m-p/6584596#M1434915</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-10T12:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: BDC code for modify mode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-code-for-modify-mode/m-p/6584597#M1434916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried that option also. But it was not working at all in my case. Actually i was working on BDC table control of TK11 tcode. Only position button helped me in my BDC data upload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Archana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2010 13:07:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-code-for-modify-mode/m-p/6584597#M1434916</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-10T13:07:10Z</dc:date>
    </item>
  </channel>
</rss>

