<?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: page down problem in bdc in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/page-down-problem-in-bdc/m-p/5809727#M1313073</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;Just try it this way,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT it_item INTO wa_item WHERE ebeln = wa_header-ebeln.

    CONCATENATE 'EKPO-EMATN( ' w ' )' INTO ws_field1.
    CONCATENATE 'EKPO-NETPR( ' w ' )' INTO ws_field2.
    CONCATENATE 'EKPO-WERKS( ' w ' )' INTO ws_field3.
    CONCATENATE 'EKPO-MATKL( ' w ' )' INTO ws_field4.
    CONCATENATE 'EKPO-LGORT( ' w ' )' INTO ws_field5.
    CONCATENATE 'EKPO-UNTTO( ' w ' )' INTO ws_field6.
    CONCATENATE 'EKPO-UEBTO( 'w ' )' INTO ws_field7.

     PERFORM dynpro USING:
       'X' 'SAPMM06E'  '0220',
       ' ' 'BDC_OKCODE'  '/00',
        ' ' ws_field1  wa_item-matnr,
*   ' ' 'EKPO-KTMNG(01)'  wa_item-ktmng,
       ' '  ws_field2  wa_item-netpr,
       ' '  ws_field3  wa_item-werks,
       ' '  ws_field4  wa_item-matkl,
       ' '  ws_field5  wa_item-lgort.

w = w + 1.
     if w &amp;gt; 2.
       w = 2.
"Added a new screen with bdc_okcode
    perform dynpro using:
         'X' 'SAPMM06E'	'0220',
 	' ' 'BDC_OKCODE'	'=NP'
     endif.
*  PERFORM dynpro USING:
*      ' ' 'BDC_OKCODE'  '=DETA'.

*PERFORM dynpro USING:
*       'X' 'SAPMM06E'  '0211',
*       ' '  WS_FIELD6  wa_item-under,
*       ' '  WS_FIELD7  wa_item-over.

        indx = indx + 1.

  ENDLOOP.
  PERFORM dynpro USING:
      'X' 'SAPMM06E'  '0220',
      ' ' 'BDC_OKCODE'  '=BU'.

  PERFORM call_transaction USING w_tcode.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sarves&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jun 2009 06:16:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-30T06:16:22Z</dc:date>
    <item>
      <title>page down problem in bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/page-down-problem-in-bdc/m-p/5809719#M1313065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written bdc for ME31k and when it reaches 26 record it says Field ekpo-lgort(27) doesn't exist on the screen SAPMM06E 0220. It has to do something with the scolling. I am pasting the code writen by me . i have tried but couldn't figure it out. Could some body tell me where I am doing the mistake in the code. &lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT it_item INTO wa_item WHERE ebeln = wa_header-ebeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CONCATENATE 'EKPO-EMATN( ' w ' )' INTO ws_field1.&lt;/P&gt;&lt;P&gt;    CONCATENATE 'EKPO-NETPR( ' w ' )' INTO ws_field2.&lt;/P&gt;&lt;P&gt;    CONCATENATE 'EKPO-WERKS( ' w ' )' INTO ws_field3.&lt;/P&gt;&lt;P&gt;    CONCATENATE 'EKPO-MATKL( ' w ' )' INTO ws_field4.&lt;/P&gt;&lt;P&gt;    CONCATENATE 'EKPO-LGORT( ' w ' )' INTO ws_field5.&lt;/P&gt;&lt;P&gt;    CONCATENATE 'EKPO-UNTTO( ' w ' )' INTO ws_field6.&lt;/P&gt;&lt;P&gt;    CONCATENATE 'EKPO-UEBTO( 'w ' )' INTO ws_field7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     PERFORM dynpro USING:&lt;/P&gt;&lt;P&gt;       'X' 'SAPMM06E'  '0220',&lt;/P&gt;&lt;P&gt;       ' ' 'BDC_OKCODE'  '/00',&lt;/P&gt;&lt;P&gt;        ' ' ws_field1  wa_item-matnr,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ' ' 'EKPO-KTMNG(01)'  wa_item-ktmng,&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       ' '  ws_field2  wa_item-netpr,&lt;/P&gt;&lt;P&gt;       ' '  ws_field3  wa_item-werks,&lt;/P&gt;&lt;P&gt;       ' '  ws_field4  wa_item-matkl,&lt;/P&gt;&lt;P&gt;       ' '  ws_field5  wa_item-lgort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; PERFORM dynpro USING:&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     ' ' 'BDC_OKCODE'  '=DETA'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*PERFORM dynpro USING:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      'X' 'SAPMM06E'  '0211',&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      ' '  WS_FIELD6  wa_item-under,&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      ' '  WS_FIELD7  wa_item-over.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    w = w + 1.&lt;/P&gt;&lt;P&gt;    indx = indx + 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;  PERFORM dynpro USING:&lt;/P&gt;&lt;P&gt;      'X' 'SAPMM06E'  '0220',&lt;/P&gt;&lt;P&gt;      ' ' 'BDC_OKCODE'  '=BU'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM call_transaction USING w_tcode.&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;Rock&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 02:18:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/page-down-problem-in-bdc/m-p/5809719#M1313065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T02:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: page down problem in bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/page-down-problem-in-bdc/m-p/5809720#M1313066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rock,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to code the page down within your BDC session. So when you you reach 26 record you need to add the logic to do the page down once. Make sure that after this you reset your counter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Neil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 03:23:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/page-down-problem-in-bdc/m-p/5809720#M1313066</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T03:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: page down problem in bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/page-down-problem-in-bdc/m-p/5809721#M1313067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rock,&lt;/P&gt;&lt;P&gt;   i think you followed this logic after filling the header structures then when you came to line item screens you are passing one by one in that screen if you follow this logic it will be a problem because after the end it won't go,&lt;/P&gt;&lt;P&gt;just try this logic,&lt;/P&gt;&lt;P&gt;after filling the header structure when you come to line item screen you can see line item no at the bottom just fill the first line item say 10 and fill records correspondingly and save, for the second record come from header then when you reach line item screen then pass 20 and save, like that complete for one set, then go for second set by using any on change of commands for the second set.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 04:03:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/page-down-problem-in-bdc/m-p/5809721#M1313067</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T04:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: page down problem in bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/page-down-problem-in-bdc/m-p/5809722#M1313068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi suresh &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i need the header to be executed only once . and it shud go into items and populate the items . problem comes only when the items are greater than 26.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rock&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 04:30:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/page-down-problem-in-bdc/m-p/5809722#M1313068</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T04:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: page down problem in bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/page-down-problem-in-bdc/m-p/5809723#M1313069</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;Check this wiki, &lt;/P&gt;&lt;P&gt;[Newline in BDC|http://wiki.sdn.sap.com/wiki/x/xQKmB]&lt;/P&gt;&lt;P&gt;In ME31K you have a new line button to insert the line items into the respective fields so do the same in BDC and you will achieve.&lt;/P&gt;&lt;P&gt;The scenario what you have in the hand is same as the wiki just follow the code of newline adding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sarves&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 04:36:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/page-down-problem-in-bdc/m-p/5809723#M1313069</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T04:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: page down problem in bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/page-down-problem-in-bdc/m-p/5809724#M1313070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have inserted the following code but doesn't seem wo work . its throwing me an error saying ekpo-lgort(27) doesn't exist on the screen. happens at 27th record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT it_header INTO wa_header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM convert_date USING sy-datum&lt;/P&gt;&lt;P&gt;                         CHANGING w_vedat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM convert_date USING wa_header-kdate&lt;/P&gt;&lt;P&gt;                         CHANGING w_kdate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM convert_date USING wa_header-ihran&lt;/P&gt;&lt;P&gt;                         CHANGING w_ihran.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM convert_date USING wa_header-zzprcdate&lt;/P&gt;&lt;P&gt;                         CHANGING w_zzprcdate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM f_populate_bdc_fields.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CLEAR:  it_bdcdata.&lt;/P&gt;&lt;P&gt;  REFRESH:  it_bdcdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM dynpro USING:&lt;/P&gt;&lt;P&gt;     'X' 'SAPMM06E'  '0200',&lt;/P&gt;&lt;P&gt;     ' ' 'BDC_OKCODE'  '/00',&lt;/P&gt;&lt;P&gt;     ' ' 'EKKO-LIFNR'   wa_header-lifnr,&lt;/P&gt;&lt;P&gt;     ' ' 'RM06E-EVART'  wa_header-evart ,&lt;/P&gt;&lt;P&gt;     ' ' 'RM06E-VEDAT'  w_vedat,&lt;/P&gt;&lt;P&gt;     ' ' 'EKKO-EKORG'   wa_header-ekorg,&lt;/P&gt;&lt;P&gt;     ' ' 'EKKO-EKGRP'   wa_header-ekgrp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM dynpro USING:&lt;/P&gt;&lt;P&gt;    'X' 'SAPMM06E'  '0201',&lt;/P&gt;&lt;P&gt;     ' ' 'BDC_OKCODE'  '/00',&lt;/P&gt;&lt;P&gt;     ' ' 'EKKO-KDATE'  w_kdate,&lt;/P&gt;&lt;P&gt;     ' ' 'EKKO-SPRAS'  'EN',&lt;/P&gt;&lt;P&gt;     ' ' 'EKKO-ZTERM'  wa_header-zterm,&lt;/P&gt;&lt;P&gt;     ' ' 'EKKO-WAERS'  'USD',&lt;/P&gt;&lt;P&gt;     ' ' 'EKKO-ZBD1T'  wa_header-zbd1t,&lt;/P&gt;&lt;P&gt;     ' ' 'EKKO-LLIEF'  wa_header-llief,&lt;/P&gt;&lt;P&gt;     ' ' 'EKKO-KTWRT'  wa_header-ktwrt,&lt;/P&gt;&lt;P&gt;     ' ' 'EKKO-INCO1'  wa_header-inco1,&lt;/P&gt;&lt;P&gt;     ' ' 'EKKO-INCO2'  wa_header-inco2,&lt;/P&gt;&lt;P&gt;     ' ' 'EKKO-IHRAN'  w_ihran,&lt;/P&gt;&lt;P&gt;     ' ' 'EKKO-ANGNR'  wa_header-angnr,&lt;/P&gt;&lt;P&gt;     ' ' 'EKKO-IHREZ'  wa_header-ihrez,&lt;/P&gt;&lt;P&gt;     ' ' 'EKKO-VERKF'  wa_header-verkf,&lt;/P&gt;&lt;P&gt;     ' ' 'EKKO-UNSEZ'  wa_header-unsez,&lt;/P&gt;&lt;P&gt;     ' ' 'EKKO-TELF1'  wa_header-telf1,&lt;/P&gt;&lt;P&gt;     ' ' 'EKKO-LLIEF'  wa_header-llief,&lt;/P&gt;&lt;P&gt;     ' ' 'EKKO-ZZPRCDATE'  w_zzprcdate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  w = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT it_item INTO wa_item WHERE ebeln = wa_header-ebeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CONCATENATE 'EKPO-EMATN( ' w ' )' INTO ws_field1.&lt;/P&gt;&lt;P&gt;    CONCATENATE 'EKPO-NETPR( ' w ' )' INTO ws_field2.&lt;/P&gt;&lt;P&gt;    CONCATENATE 'EKPO-WERKS( ' w ' )' INTO ws_field3.&lt;/P&gt;&lt;P&gt;    CONCATENATE 'EKPO-MATKL( ' w ' )' INTO ws_field4.&lt;/P&gt;&lt;P&gt;    CONCATENATE 'EKPO-LGORT( ' w ' )' INTO ws_field5.&lt;/P&gt;&lt;P&gt;    CONCATENATE 'EKPO-UNTTO( ' w ' )' INTO ws_field6.&lt;/P&gt;&lt;P&gt;    CONCATENATE 'EKPO-UEBTO( 'w ' )' INTO ws_field7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     PERFORM dynpro USING:&lt;/P&gt;&lt;P&gt;       'X' 'SAPMM06E'  '0220',&lt;/P&gt;&lt;P&gt;       ' ' 'BDC_OKCODE'  '/00',&lt;/P&gt;&lt;P&gt;        ' ' ws_field1  wa_item-matnr,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ' ' 'EKPO-KTMNG(01)'  wa_item-ktmng,&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       ' '  ws_field2  wa_item-netpr,&lt;/P&gt;&lt;P&gt;       ' '  ws_field3  wa_item-werks,&lt;/P&gt;&lt;P&gt;       ' '  ws_field4  wa_item-matkl,&lt;/P&gt;&lt;P&gt;       ' '  ws_field5  wa_item-lgort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; PERFORM dynpro USING:&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     ' ' 'BDC_OKCODE'  '=DETA'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*PERFORM dynpro USING:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      'X' 'SAPMM06E'  '0211',&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      ' '  WS_FIELD6  wa_item-under,&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      ' '  WS_FIELD7  wa_item-over.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    w = w + 1.&lt;/P&gt;&lt;P&gt;    indx = indx + 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;  PERFORM dynpro USING:&lt;/P&gt;&lt;P&gt;      'X' 'SAPMM06E'  '0220',&lt;/P&gt;&lt;P&gt;      ' ' 'BDC_OKCODE'  '=BU'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM call_transaction USING w_tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried all the means but doesn't work can someone help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 05:58:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/page-down-problem-in-bdc/m-p/5809724#M1313070</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T05:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: page down problem in bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/page-down-problem-in-bdc/m-p/5809725#M1313071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rock,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have not mentioned anywhere, at what position counter 'W' will refresh after page down.&lt;/P&gt;&lt;P&gt;So clear it just after gets value more tha 26 and then proceed.&lt;/P&gt;&lt;P&gt;Put some if condition inside the loop to check the counter, so that it never goes above 26.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 06:04:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/page-down-problem-in-bdc/m-p/5809725#M1313071</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T06:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: page down problem in bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/page-down-problem-in-bdc/m-p/5809726#M1313072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rock,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is there are only 26 lines displayed on the page. Once you reach 26 lines you need to force a page down on the screen to the 27th line is available on the screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to the BDC recorder (Transaction SHDB) and record a session that has more than 26 lines. You will capture the page down code, Normally this is 'P+'. Once you have filled the 26th pass the page down command. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note though that after the first page down there will be less than 26 lines available for entry so your code will have to reflect this.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is not clear let me know and I will give you a code snippet. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Neil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 06:10:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/page-down-problem-in-bdc/m-p/5809726#M1313072</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T06:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: page down problem in bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/page-down-problem-in-bdc/m-p/5809727#M1313073</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;Just try it this way,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT it_item INTO wa_item WHERE ebeln = wa_header-ebeln.

    CONCATENATE 'EKPO-EMATN( ' w ' )' INTO ws_field1.
    CONCATENATE 'EKPO-NETPR( ' w ' )' INTO ws_field2.
    CONCATENATE 'EKPO-WERKS( ' w ' )' INTO ws_field3.
    CONCATENATE 'EKPO-MATKL( ' w ' )' INTO ws_field4.
    CONCATENATE 'EKPO-LGORT( ' w ' )' INTO ws_field5.
    CONCATENATE 'EKPO-UNTTO( ' w ' )' INTO ws_field6.
    CONCATENATE 'EKPO-UEBTO( 'w ' )' INTO ws_field7.

     PERFORM dynpro USING:
       'X' 'SAPMM06E'  '0220',
       ' ' 'BDC_OKCODE'  '/00',
        ' ' ws_field1  wa_item-matnr,
*   ' ' 'EKPO-KTMNG(01)'  wa_item-ktmng,
       ' '  ws_field2  wa_item-netpr,
       ' '  ws_field3  wa_item-werks,
       ' '  ws_field4  wa_item-matkl,
       ' '  ws_field5  wa_item-lgort.

w = w + 1.
     if w &amp;gt; 2.
       w = 2.
"Added a new screen with bdc_okcode
    perform dynpro using:
         'X' 'SAPMM06E'	'0220',
 	' ' 'BDC_OKCODE'	'=NP'
     endif.
*  PERFORM dynpro USING:
*      ' ' 'BDC_OKCODE'  '=DETA'.

*PERFORM dynpro USING:
*       'X' 'SAPMM06E'  '0211',
*       ' '  WS_FIELD6  wa_item-under,
*       ' '  WS_FIELD7  wa_item-over.

        indx = indx + 1.

  ENDLOOP.
  PERFORM dynpro USING:
      'X' 'SAPMM06E'  '0220',
      ' ' 'BDC_OKCODE'  '=BU'.

  PERFORM call_transaction USING w_tcode.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sarves&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 06:16:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/page-down-problem-in-bdc/m-p/5809727#M1313073</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T06:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: page down problem in bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/page-down-problem-in-bdc/m-p/5809728#M1313074</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>Tue, 30 Jun 2009 06:55:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/page-down-problem-in-bdc/m-p/5809728#M1313074</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T06:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: page down problem in bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/page-down-problem-in-bdc/m-p/5809729#M1313075</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>Tue, 30 Jun 2009 07:04:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/page-down-problem-in-bdc/m-p/5809729#M1313075</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T07:04:48Z</dc:date>
    </item>
  </channel>
</rss>

