<?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 Table control using Page down in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-using-page-down/m-p/1552103#M250373</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on QP01 trnasaction (BDC for uploading create Inspection Plans), where i can assign no. of materials in material assignment of particular inspection characteristics. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In material assignment screen it showed me 14 rows in one screen for uploading, if it is more than that data is not accepting. How to do page down dynamically in our program to accept more than 14 rows. I have more than 200 materials to assign. Can you please tell me hw to proceed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for helpful answers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Aug 2006 05:57:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-30T05:57:05Z</dc:date>
    <item>
      <title>Table control using Page down</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-using-page-down/m-p/1552103#M250373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on QP01 trnasaction (BDC for uploading create Inspection Plans), where i can assign no. of materials in material assignment of particular inspection characteristics. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In material assignment screen it showed me 14 rows in one screen for uploading, if it is more than that data is not accepting. How to do page down dynamically in our program to accept more than 14 rows. I have more than 200 materials to assign. Can you please tell me hw to proceed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for helpful answers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2006 05:57:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-using-page-down/m-p/1552103#M250373</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-30T05:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Table control using Page down</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-using-page-down/m-p/1552104#M250374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IF w_count &amp;gt;= 14.&lt;/P&gt;&lt;P&gt;PERFORM bdc_field USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;'=P+.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2006 06:01:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-using-page-down/m-p/1552104#M250374</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-30T06:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Table control using Page down</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-using-page-down/m-p/1552105#M250375</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;Another option is that instead of using scrolling, you can use 'INSERT LINE' option to add a empty line in first place in table control, and fill this with your data and again use 'INSERT LINE' untill all items get finished. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this way you don't have to take care of scrolling. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2006 06:02:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-using-page-down/m-p/1552105#M250375</guid>
      <dc:creator>dani_mn</dc:creator>
      <dc:date>2006-08-30T06:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Table control using Page down</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-using-page-down/m-p/1552106#M250376</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;U just keep flag for the line excedding the rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF w_line_i &amp;gt; 14.&lt;/P&gt;&lt;P&gt;    w_line_i = 1.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_dynpro      USING 'SAPMM07M' '0421'.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'BDC_OKCODE' '=NP'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2006 06:06:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-using-page-down/m-p/1552106#M250376</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-30T06:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: Table control using Page down</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-using-page-down/m-p/1552107#M250377</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;Go through the sample code you would get an idea&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample code for vertical scrolling in PAI processing will look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE user_command_XXXX INPUT. (XXXX is screen no.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE ok_code.&lt;/P&gt;&lt;P&gt;    WHEN 'P--'.&lt;/P&gt;&lt;P&gt;      CLEAR ok_code.&lt;/P&gt;&lt;P&gt;      PERFORM paging USING 'P--'.&lt;/P&gt;&lt;P&gt;    WHEN 'P-'.&lt;/P&gt;&lt;P&gt;      CLEAR ok_code.&lt;/P&gt;&lt;P&gt;      PERFORM paging USING 'P-'.&lt;/P&gt;&lt;P&gt;    WHEN 'P+'.&lt;/P&gt;&lt;P&gt;      CLEAR ok_code.&lt;/P&gt;&lt;P&gt;      PERFORM paging USING 'P+'.&lt;/P&gt;&lt;P&gt;    WHEN 'P++'.&lt;/P&gt;&lt;P&gt;      CLEAR ok_code.&lt;/P&gt;&lt;P&gt;      PERFORM paging USING 'P++'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  PAGING&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Form to do scrolling for screen XXXX&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     &lt;DEL&gt;&amp;gt;CODE   OKCODE value (P&lt;/DEL&gt;, P-, P&lt;EM&gt;, P&lt;/EM&gt;+ )&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM paging USING code.&lt;/P&gt;&lt;P&gt;  DATA: i TYPE i,&lt;/P&gt;&lt;P&gt;        j TYPE i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN 'P--'. &amp;lt;table control name&amp;gt;-top_line = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN 'P-'.&lt;/P&gt;&lt;P&gt;      &amp;lt;table control name&amp;gt;-top_line =&lt;/P&gt;&lt;P&gt;              &amp;lt;table control name&amp;gt;-top_line - line_count.&lt;/P&gt;&lt;P&gt;      IF &amp;lt;table control name&amp;gt;-top_line LE 0.&lt;/P&gt;&lt;P&gt;        &amp;lt;table control name&amp;gt;-top_line = 1.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN 'P+'.&lt;/P&gt;&lt;P&gt;      i = &amp;lt;table control name&amp;gt;-top_line + line_count.&lt;/P&gt;&lt;P&gt;      j = &amp;lt;table control name&amp;gt;-lines - line_count + 1.&lt;/P&gt;&lt;P&gt;      IF j LE 0. j = 1. ENDIF.&lt;/P&gt;&lt;P&gt;      IF i LE j.&lt;/P&gt;&lt;P&gt;        &amp;lt;table control name&amp;gt;-top_line = i.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        &amp;lt;table control name&amp;gt;-top_line = j.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN 'P++'.&lt;/P&gt;&lt;P&gt;      &amp;lt;table control name&amp;gt;-top_line =&lt;/P&gt;&lt;P&gt;             &amp;lt;table control name&amp;gt;-lines - line_count + 1.&lt;/P&gt;&lt;P&gt;      IF &amp;lt;table control name&amp;gt;-top_line LE 0.&lt;/P&gt;&lt;P&gt;        &amp;lt;table control name&amp;gt;-top_line = 1.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;ENDFORM.                               " PAGING&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2006 06:06:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-using-page-down/m-p/1552107#M250377</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-30T06:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Table control using Page down</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-using-page-down/m-p/1552108#M250378</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;In your BDC you need to insert a similar code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    wv_var = wv_var + 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF wv_var &amp;gt; 14.&lt;/P&gt;&lt;P&gt;      wv_var = '02'.&lt;/P&gt;&lt;P&gt;      PERFORM bdc_dynpro      USING 'SAPLCSDI' '0140'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      PERFORM bdc_field       USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                    '=FCNP'.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the BDC ok code because here I have used "FNCP" in the above code, which is for new line item ,you need to take the appropriate value from your recording.Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also make sure that you have use CTUPARAMS to take care of the screen resolution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: wa_ctuparams TYPE ctu_params.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_ctuparams-defsize = 'X'.&lt;/P&gt;&lt;P&gt;  wa_ctuparams-dismode = 'N'.&lt;/P&gt;&lt;P&gt;  wa_ctuparams-updmode = 'S'.&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;Sangram&lt;/P&gt;&lt;P&gt;SAP Consultant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2006 06:12:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-using-page-down/m-p/1552108#M250378</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-30T06:12:25Z</dc:date>
    </item>
  </channel>
</rss>

