<?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 cntl--scrolling in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-cntl-scrolling/m-p/1692871#M304140</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello all,&lt;/P&gt;&lt;P&gt;i am using table cntl. i am selcting records in table cntl (lt_final) and putting those selcted records in another tablegt-final). the problem is when ever i scroll down to selct another record, already selected record is getting duplicated in gt_final which is un wanted. How can correct that. The logic i am using is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;flow logic.&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;  LOOP AT lt_final.&lt;/P&gt;&lt;P&gt;    FIELD lt_final-sel MODULE check_sel.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;  MODULE user_command_2000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;in main program&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE check_sel INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF lt_final-sel = 'X'.&lt;/P&gt;&lt;P&gt;    MODIFY lt_final INDEX tab_cntl-current_line.&lt;/P&gt;&lt;P&gt;    APPEND lt_final TO gt_final.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " check_sel  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one help me to avoid duplicate record getting into gt-final.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Nov 2006 07:36:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-17T07:36:58Z</dc:date>
    <item>
      <title>table cntl--scrolling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-cntl-scrolling/m-p/1692871#M304140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello all,&lt;/P&gt;&lt;P&gt;i am using table cntl. i am selcting records in table cntl (lt_final) and putting those selcted records in another tablegt-final). the problem is when ever i scroll down to selct another record, already selected record is getting duplicated in gt_final which is un wanted. How can correct that. The logic i am using is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;flow logic.&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;  LOOP AT lt_final.&lt;/P&gt;&lt;P&gt;    FIELD lt_final-sel MODULE check_sel.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;  MODULE user_command_2000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;in main program&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE check_sel INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF lt_final-sel = 'X'.&lt;/P&gt;&lt;P&gt;    MODIFY lt_final INDEX tab_cntl-current_line.&lt;/P&gt;&lt;P&gt;    APPEND lt_final TO gt_final.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " check_sel  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one help me to avoid duplicate record getting into gt-final.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 07:36:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-cntl-scrolling/m-p/1692871#M304140</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T07:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: table cntl--scrolling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-cntl-scrolling/m-p/1692872#M304141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1st you need to understand how the table control works... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say in a table control there are 5 rows... with data as a,b,c,d,e in rows 1,2,3,4,5 respectively. &lt;/P&gt;&lt;P&gt;i.e . field(1) = a , field(2) = b .... field(5) = e ...like that... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if you scroll down to see the values after e i.e. f,g,h..... the row no does not change... &lt;/P&gt;&lt;P&gt;If u press the scroll down button once.. this is how the situation looks like.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field(1) = b , field (2) = c ..... field(5) = f&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this is clear... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure how ur code looks like... but the point is that if you scroll the button once.. &lt;/P&gt;&lt;P&gt;then u need to reduce the index counter once... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this is not confusing you... So check ur code... see the values in debugging mode and you will find the answer your self... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz .. tell if it was helpful and reward points...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 07:48:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-cntl-scrolling/m-p/1692872#M304141</guid>
      <dc:creator>former_member69765</dc:creator>
      <dc:date>2006-11-17T07:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: table cntl--scrolling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-cntl-scrolling/m-p/1692873#M304142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;helo kesi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you won't have consideration about sorting for your gt_final then you can user combination sort and delete adjacent duplicates. for example :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort gt_final.&lt;/P&gt;&lt;P&gt;delete adjacent duplicates from gt_final.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are some others tricks if you won't change the itab content sequece.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deny Dafid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 07:56:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-cntl-scrolling/m-p/1692873#M304142</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T07:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: table cntl--scrolling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-cntl-scrolling/m-p/1692874#M304143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kesi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   See when you select records and scroll down the PAI will get executed and selected records will appended into your internal table.And you have written that selected records your are putting into internal table .That means to put the data into internal table you are triggering some event(Save button or some other).That time also the selected data will go and appepending the same data.So to test this select the records in table control and enter the "/H"(Debugging) on command field press enter and now Scroll down .You can see what is happing there .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the below code .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If sy-ucomm eq 'Save'  (Say here save is your button)&lt;/P&gt;&lt;P&gt;IF lt_final-sel = 'X'.&lt;/P&gt;&lt;P&gt;MODIFY lt_final INDEX tab_cntl-current_line.&lt;/P&gt;&lt;P&gt;APPEND lt_final TO gt_final.&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;Hope this will solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't forget to reward points if it helps you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 08:20:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-cntl-scrolling/m-p/1692874#M304143</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T08:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: table cntl--scrolling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-cntl-scrolling/m-p/1692875#M304144</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;To handle Scrolling you need to add the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;form compute_scrolling_in_tc using    p_tc_name
                                      p_ok.
*-BEGIN OF LOCAL DATA--------------------------------------------------*
  data l_tc_new_top_line     type i.
  data l_tc_name             like feld-name.
  data l_tc_lines_name       like feld-name.
  data l_tc_field_name       like feld-name.

  field-symbols &amp;lt;tc&amp;gt;         type cxtab_control.
  field-symbols &amp;lt;lines&amp;gt;      type i.
*-END OF LOCAL DATA----------------------------------------------------*

  assign (p_tc_name) to &amp;lt;tc&amp;gt;.
* get looplines of TableControl
  concatenate 'G_' p_tc_name '_LINES' into l_tc_lines_name.
  assign (l_tc_lines_name) to &amp;lt;lines&amp;gt;.


* is no line filled?                                                   *
  if &amp;lt;tc&amp;gt;-lines = 0.
*   yes, ...
*
    l_tc_new_top_line = 1.
  else.
*   no, ...


    call function 'SCROLLING_IN_TABLE'
         exporting
              entry_act             = &amp;lt;tc&amp;gt;-top_line
              entry_from            = 1
              entry_to              = &amp;lt;tc&amp;gt;-lines
              last_page_full        = 'X'
              loops                 = &amp;lt;lines&amp;gt;
              ok_code               = p_ok
              overlapping           = 'X'
         importing
              entry_new             = l_tc_new_top_line
         exceptions
*              NO_ENTRY_OR_PAGE_ACT  = 01
*              NO_ENTRY_TO           = 02
*              NO_OK_CODE_OR_PAGE_GO = 03
              others                = 0.
  endif.

* get actual tc and column                                             *
  get cursor field l_tc_field_name
             area  l_tc_name.

  if syst-subrc = 0.
    if l_tc_name = p_tc_name.
*     set actual column                                                *
      set cursor field l_tc_field_name line 1.
    endif.
  endif.

* set the new top line                                                 *
  &amp;lt;tc&amp;gt;-top_line = l_tc_new_top_line.

endform.                              " COMPUTE_SCROLLING_IN_TC

form compute_scrolling_in_tc using    p_tc_name
                                      p_ok.
*-BEGIN OF LOCAL DATA--------------------------------------------------*
  data l_tc_new_top_line     type i.
  data l_tc_name             like feld-name.
  data l_tc_lines_name       like feld-name.
  data l_tc_field_name       like feld-name.

  field-symbols &amp;lt;tc&amp;gt;         type cxtab_control.
  field-symbols &amp;lt;lines&amp;gt;      type i.
*-END OF LOCAL DATA----------------------------------------------------*

  assign (p_tc_name) to &amp;lt;tc&amp;gt;.
* get looplines of TableControl
  concatenate 'G_' p_tc_name '_LINES' into l_tc_lines_name.
  assign (l_tc_lines_name) to &amp;lt;lines&amp;gt;.


* is no line filled?                                                   *
  if &amp;lt;tc&amp;gt;-lines = 0.
*   yes, ...
*
    l_tc_new_top_line = 1.
  else.
*   no, ...


    call function 'SCROLLING_IN_TABLE'
         exporting
              entry_act             = &amp;lt;tc&amp;gt;-top_line
              entry_from            = 1
              entry_to              = &amp;lt;tc&amp;gt;-lines
              last_page_full        = 'X'
              loops                 = &amp;lt;lines&amp;gt;
              ok_code               = p_ok
              overlapping           = 'X'
         importing
              entry_new             = l_tc_new_top_line
         exceptions
*              NO_ENTRY_OR_PAGE_ACT  = 01
*              NO_ENTRY_TO           = 02
*              NO_OK_CODE_OR_PAGE_GO = 03
              others                = 0.
  endif.

* get actual tc and column                                             *
  get cursor field l_tc_field_name
             area  l_tc_name.

  if syst-subrc = 0.
    if l_tc_name = p_tc_name.
*     set actual column                                                *
      set cursor field l_tc_field_name line 1.
    endif.
  endif.

* set the new top line                                                 *
  &amp;lt;tc&amp;gt;-top_line = l_tc_new_top_line.

endform.                              " COMPUTE_SCROLLING_IN_TC

module tc_conf_change_tc_attr output.
  describe table it_conf lines tc_conf-lines.
endmodule.

form user_ok_tc using    p_tc_name type dynfnam
                         p_table_name
                         p_mark_name
                changing p_ok      like sy-ucomm.

*-BEGIN OF LOCAL DATA--------------------------------------------------*
  data: l_ok              type sy-ucomm,
        l_offset          type i.
*-END OF LOCAL DATA----------------------------------------------------*

* Table control specific operations                                    *
*   evaluate TC name and operations                                    *
  search p_ok for p_tc_name.
  if sy-subrc &amp;lt;&amp;gt; 0.
    exit.
  endif.
  l_offset = strlen( p_tc_name ) + 1.
  l_ok = p_ok+l_offset.
* execute general and TC specific operations                           *

  case l_ok.
    when 'P--' or                     "top of list
         'P-'  or                     "previous page
         'P+'  or                     "next page
         'P++'.                       "bottom of list
      perform compute_scrolling_in_tc using p_tc_name
                                            l_ok.
      clear p_ok.
    when 'DELE'.                      "delete row
*code for delete.
*  ......
  endcase.

endform.                              " USER_OK_TC

module tc_conf_user_command input.
  perform user_ok_tc using    'TC_CONF'
                              'IT_CONF'(026)
                              'CHECK'
                     changing ok_code.
  sy-ucomm = ok_code.
endmodule.

*And in Screen    

PROCESS BEFORE OUTPUT.
  module TC_CONF_change_tc_attr.
  loop at   IT_CONF
       into X_CONF
       with control TC_CONF
       cursor TC_CONF-current_line.
    module TC_CONF_get_lines.
    module update_crt_tc.
  endloop.
  module update_screen.

PROCESS AFTER INPUT.
  loop at IT_CONF.
    chain.
      field X_CONF-EBTYP.
      field X_CONF-EINDT.
      field X_CONF-LPEIN.
      field X_CONF-UZEIT.
      field X_CONF-ERDAT.
      field X_CONF-MENGE.
      field X_CONF-XBLNR.
      module TC_CONF_modify on chain-request.
    endchain.
    field X_CONF-CHECK
      module TC_CONF_mark on request.
  endloop.
  module TC_CONF_user_command.

 MODULE USER_COMMAND_0102.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Richa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 08:26:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-cntl-scrolling/m-p/1692875#M304144</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T08:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: table cntl--scrolling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-cntl-scrolling/m-p/1692876#M304145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U just got to do this thing in ur logic of PBO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;describe table it_final lines N.&lt;/P&gt;&lt;P&gt;tab_cntl-lines = N.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will solve ur scrolling issue of table control&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarsd&lt;/P&gt;&lt;P&gt;- Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 08:26:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-cntl-scrolling/m-p/1692876#M304145</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2006-11-17T08:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: table cntl--scrolling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-cntl-scrolling/m-p/1692877#M304146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi rahul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  try the following code,this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE STATUS_9000.&lt;/P&gt;&lt;P&gt;LOOP AT IT_STR WITH CONTROL TC.&lt;/P&gt;&lt;P&gt;  MODULE FILL_MODULE_9OOO.&lt;/P&gt;&lt;P&gt;  MODULE ICON_9000.&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE CANCEL AT EXIT-COMMAND.&lt;/P&gt;&lt;P&gt;LOOP AT IT_STR.&lt;/P&gt;&lt;P&gt;CHAIN.&lt;/P&gt;&lt;P&gt;  FIELD IT_STR-MNO.&lt;/P&gt;&lt;P&gt;  FIELD IT_STR-QTY.&lt;/P&gt;&lt;P&gt;  MODULE FILL_TABLE_9000 ON CHAIN-REQUEST.&lt;/P&gt;&lt;P&gt;ENDCHAIN.&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;****************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE FILL_TABLE_9000 ON CHAIN-REQUEST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : V_LINECOUNT TYPE I,                       "TO FIND NO OF LINES IN INTERNAL TABLE&lt;/P&gt;&lt;P&gt;       V_PAGECOUNT TYPE I,                       "TO ADD LINES WHEN SCROLLING&lt;/P&gt;&lt;P&gt;       V_ABS_LINE TYPE I.                        "FOR CURRENT LINE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-DATAR = 'X'.                               "CLICK IS ON MESSAGE OR IN SCROLL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DESCRIBE TABLE IT_STR LINES V_LINECOUNT.       "TO GET THE NO OF LINES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; V_ABS_LINE = TC-TOP_LINE + SY-STEPL - 1.         "GETTING THE CURRENT LINE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF V_ABS_LINE LE V_LINECOUNT.                  "CHECKING WHEATHER CURRENT LINE IS GT LINECOUNT&lt;/P&gt;&lt;P&gt;    MODIFY IT_STR INDEX V_ABS_LINE.  "SY-STEPL.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    IT_STR-ZINO = V_ABS_LINE.&lt;/P&gt;&lt;P&gt;    APPEND IT_STR.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;*tc-lines = sy-tfill + 1.&lt;/P&gt;&lt;P&gt;V_PAGECOUNT = SY-STEPL DIV SY-LOOPC.             "CHECKING WHEATHER TO ADD LINES OR NOT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF V_PAGECOUNT &amp;gt; 0.&lt;/P&gt;&lt;P&gt;    TC-LINES = V_LINECOUNT + SY-LOOPC.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if you can understand and able to get the picture of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards ,&lt;/P&gt;&lt;P&gt;shan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 08:28:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-cntl-scrolling/m-p/1692877#M304146</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T08:28:54Z</dc:date>
    </item>
  </channel>
</rss>

