<?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: Help regarding Vertical Scrolling in Table Control. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-vertical-scrolling-in-table-control/m-p/5456676#M1250387</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;What you need to do is to modify the internal table from table control whenever a user action is performed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow:-&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;it_zekpo is my internal table w/o header line,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;wa_zekpo is work area.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Name of input/output fields on screen are:-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;wa_zekpo-field1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;wa_zekpo-field2, and so on...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use code:-&lt;/P&gt;&lt;P&gt;At screen logic:-&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PROCESS BEFORE OUTPUT.
*  MODULE status_8003.
 
  LOOP WITH CONTROL po_tab. "po_tab is table control on screen 8003
    MODULE read_data. "&amp;lt;--read internal table into table control
  ENDLOOP.
 
PROCESS AFTER INPUT.
*  MODULE user_command_8003.
 
  LOOP WITH CONTROL po_tab.
    MODULE modify_data. "&amp;lt;--modify internal table from table control
  ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In PBO:-&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Module  READ_DATA  OUTPUT
*&amp;amp;---------------------------------------------------------------------*
MODULE read_data OUTPUT.
  READ TABLE it_zekpo INTO wa_zekpo INDEX po_tab-current_line. "po_tab is table control name
 
  data : line_count type i.
 
  describe it_zekpo
  lines line_count.
 
  po_tab-lines = line_count + 10.
  "to increase the number of lines in table control dynamically and enable vertical scroll bar
 
ENDMODULE.                 " READ_DATA  OUTPUT
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In PAI:-&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Module  MODIFY_DATA  INPUT
*&amp;amp;---------------------------------------------------------------------*
MODULE MODIFY_DATA INPUT.
  MODIFY IT_ZEKPO FROM WA_ZEKPO INDEX po_tab-currentline.
  "this will modify the contents of existing line
ENDMODULE.                 " MODIFY_DATA  INPUT
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when you add some records into table control and perform any user action, the records will retain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tarun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Apr 2009 10:32:26 GMT</pubDate>
    <dc:creator>I355602</dc:creator>
    <dc:date>2009-04-15T10:32:26Z</dc:date>
    <item>
      <title>Help regarding Vertical Scrolling in Table Control.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-vertical-scrolling-in-table-control/m-p/5456672#M1250383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for answering my previous question very quickly. Once again I came up here to clear my doubt in Table controls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone send me a link which will explain the Table controls vertical scrolling easily and with understandable example. Iam very much confused with different answers in this forum regarding vertical scrolling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually my problem is that Iam able to enable the vertical scroll bar in table control . However, If iam moving the scroll bar up and down my data is vanishing and at last empty table control is looking at my face to add some data into it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance and if possible send me some video links to clear of my mind.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2009 10:06:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-vertical-scrolling-in-table-control/m-p/5456672#M1250383</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-15T10:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: Help regarding Vertical Scrolling in Table Control.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-vertical-scrolling-in-table-control/m-p/5456673#M1250384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please check this link&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="7013228"&gt;&lt;/A&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="7281886"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please search threads before you posting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;Durga.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2009 10:14:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-vertical-scrolling-in-table-control/m-p/5456673#M1250384</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-15T10:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help regarding Vertical Scrolling in Table Control.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-vertical-scrolling-in-table-control/m-p/5456674#M1250385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you searched for the same ....i can see many answers for the same ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;look some of them may be useful for you....i am not sure...&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="6314882"&gt;&lt;/A&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="741023"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2009 10:18:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-vertical-scrolling-in-table-control/m-p/5456674#M1250385</guid>
      <dc:creator>former_member203501</dc:creator>
      <dc:date>2009-04-15T10:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help regarding Vertical Scrolling in Table Control.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-vertical-scrolling-in-table-control/m-p/5456675#M1250386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code is as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF IT_PO OCCURS 0,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      SL_NO LIKE EKPO-BNFPO,&lt;/P&gt;&lt;P&gt;      SAPCODE LIKE EKPO-MATNR,&lt;/P&gt;&lt;P&gt;      DESCRIPTION LIKE EKPO-TXZ01,&lt;/P&gt;&lt;P&gt;      UOM LIKE EKPO-MEINS,&lt;/P&gt;&lt;P&gt;      EBELP LIKE EKPO-EBELP,&lt;/P&gt;&lt;P&gt;      BALANCE_QTY   TYPE P DECIMALS 2,"LIKE EKET-WEMNG,&lt;/P&gt;&lt;P&gt;      CHALLAN_QTY  TYPE P DECIMALS 2,"LIKE EKET-WEMNG,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      END OF IT_PO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: IT_PO_CHLN like IT_PO OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SCREEN' S FLOW LOGIC&lt;/P&gt;&lt;P&gt;*********************************************************************&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt; MODULE STATUS_0002.&lt;/P&gt;&lt;P&gt; LOOP AT IT_PO WITH CONTROL SCR2_TAB_CTRL.&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;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;LOOP AT IT_PO.&lt;/P&gt;&lt;P&gt;  MODULE SCR2GET_DATA4M_TABLE.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE EXIT_SCREEN AT EXIT-COMMAND.&lt;/P&gt;&lt;P&gt; MODULE USER_COMMAND_0002.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*********************************************************************&lt;/P&gt;&lt;P&gt;PBO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE STATUS_0002 OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SET PF-STATUS 'ZPFSTATUS_SCR9999'.&lt;/P&gt;&lt;P&gt; DESCRIBE TABLE IT_PO LINES SCR2_TAB_CTRL-LINES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*********************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PAI :- &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE SAVE_OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'GET_DATA'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="5" type="ul"&gt;&lt;P&gt;for button provided on screen to get data regarding a key *******&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;            &lt;/P&gt;&lt;P&gt;           I have written code to get data into IT_PO .&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; WHEN 'ENTER'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      REFRESH: IT_PO.&lt;/P&gt;&lt;P&gt;      SORT IT_PO_CHLN.&lt;/P&gt;&lt;P&gt;      DELETE ADJACENT DUPLICATES FROM IT_PO_CHLN.&lt;/P&gt;&lt;P&gt;      LOOP AT IT_PO_CHLN.&lt;/P&gt;&lt;P&gt;        MOVE-CORRESPONDING IT_PO_CHLN TO IT_PO.&lt;/P&gt;&lt;P&gt;        APPEND IT_PO.&lt;/P&gt;&lt;P&gt;      ENDLOOP.&lt;/P&gt;&lt;P&gt;      CLEAR: IT_PO_CHLN.&lt;/P&gt;&lt;P&gt;      REFRESH: IT_PO_CHLN.&lt;/P&gt;&lt;P&gt;      LEAVE TO SCREEN 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCASE.&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 SCR2GET_DATA4M_TABLE INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MOVE-CORRESPONDING IT_PO TO IT_PO_CHLN.&lt;/P&gt;&lt;P&gt;  APPEND IT_PO_CHLN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="70" type="ul"&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2009 10:23:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-vertical-scrolling-in-table-control/m-p/5456675#M1250386</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-15T10:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Help regarding Vertical Scrolling in Table Control.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-vertical-scrolling-in-table-control/m-p/5456676#M1250387</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;What you need to do is to modify the internal table from table control whenever a user action is performed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow:-&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;it_zekpo is my internal table w/o header line,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;wa_zekpo is work area.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Name of input/output fields on screen are:-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;wa_zekpo-field1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;wa_zekpo-field2, and so on...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use code:-&lt;/P&gt;&lt;P&gt;At screen logic:-&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PROCESS BEFORE OUTPUT.
*  MODULE status_8003.
 
  LOOP WITH CONTROL po_tab. "po_tab is table control on screen 8003
    MODULE read_data. "&amp;lt;--read internal table into table control
  ENDLOOP.
 
PROCESS AFTER INPUT.
*  MODULE user_command_8003.
 
  LOOP WITH CONTROL po_tab.
    MODULE modify_data. "&amp;lt;--modify internal table from table control
  ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In PBO:-&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Module  READ_DATA  OUTPUT
*&amp;amp;---------------------------------------------------------------------*
MODULE read_data OUTPUT.
  READ TABLE it_zekpo INTO wa_zekpo INDEX po_tab-current_line. "po_tab is table control name
 
  data : line_count type i.
 
  describe it_zekpo
  lines line_count.
 
  po_tab-lines = line_count + 10.
  "to increase the number of lines in table control dynamically and enable vertical scroll bar
 
ENDMODULE.                 " READ_DATA  OUTPUT
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In PAI:-&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Module  MODIFY_DATA  INPUT
*&amp;amp;---------------------------------------------------------------------*
MODULE MODIFY_DATA INPUT.
  MODIFY IT_ZEKPO FROM WA_ZEKPO INDEX po_tab-currentline.
  "this will modify the contents of existing line
ENDMODULE.                 " MODIFY_DATA  INPUT
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when you add some records into table control and perform any user action, the records will retain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tarun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2009 10:32:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-vertical-scrolling-in-table-control/m-p/5456676#M1250387</guid>
      <dc:creator>I355602</dc:creator>
      <dc:date>2009-04-15T10:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Help regarding Vertical Scrolling in Table Control.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-vertical-scrolling-in-table-control/m-p/5456677#M1250388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see the following example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FORM compute_scrolling_in_tc USING p_tc_name&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;p_ok.&lt;/P&gt;&lt;P&gt;&amp;amp;SPWIZARD: BEGIN OF LOCAL DATA&lt;/P&gt;&lt;P&gt;DATA l_tc_new_top_line TYPE i.&lt;/P&gt;&lt;P&gt;DATA l_tc_name LIKE feld-name.&lt;/P&gt;&lt;P&gt;DATA l_tc_lines_name LIKE feld-name.&lt;/P&gt;&lt;P&gt;DATA l_tc_field_name LIKE feld-name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS &amp;lt;tc&amp;gt; TYPE cxtab_control.&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS &amp;lt;lines&amp;gt; TYPE i.&lt;/P&gt;&lt;P&gt;&amp;amp;SPWIZARD: END OF LOCAL DATA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN (p_tc_name) TO &amp;lt;tc&amp;gt;.&lt;/P&gt;&lt;P&gt;*&amp;amp;SPWIZARD: get looplines of TableControl *&lt;/P&gt;&lt;P&gt;CONCATENATE 'G_' p_tc_name '_LINES' INTO l_tc_lines_name.&lt;/P&gt;&lt;P&gt;ASSIGN (l_tc_lines_name) TO &amp;lt;lines&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;SPWIZARD: is no line filled? *&lt;/P&gt;&lt;P&gt;IF &amp;lt;tc&amp;gt;-lines = 0.&lt;/P&gt;&lt;P&gt;*&amp;amp;SPWIZARD: yes, ... *&lt;/P&gt;&lt;P&gt;l_tc_new_top_line = 1.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;*&amp;amp;SPWIZARD: no, ... *&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SCROLLING_IN_TABLE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;entry_act = &amp;lt;tc&amp;gt;-top_line&lt;/P&gt;&lt;P&gt;entry_from = 1&lt;/P&gt;&lt;P&gt;entry_to = &amp;lt;tc&amp;gt;-lines&lt;/P&gt;&lt;P&gt;last_page_full = c_x&lt;/P&gt;&lt;P&gt;loops = &amp;lt;lines&amp;gt;&lt;/P&gt;&lt;P&gt;ok_code = p_ok&lt;/P&gt;&lt;P&gt;overlapping = c_x&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;entry_new = l_tc_new_top_line&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;NO_ENTRY_OR_PAGE_ACT = 01&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;NO_ENTRY_TO = 02&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;NO_OK_CODE_OR_PAGE_GO = 03 &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OTHERS = 0.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;SPWIZARD: get actual tc and column *&lt;/P&gt;&lt;P&gt;GET CURSOR FIELD l_tc_field_name&lt;/P&gt;&lt;P&gt;AREA l_tc_name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF syst-subrc = 0.&lt;/P&gt;&lt;P&gt;IF l_tc_name = p_tc_name.&lt;/P&gt;&lt;P&gt;*&amp;amp;SPWIZARD: et actual column *&lt;/P&gt;&lt;P&gt;SET CURSOR FIELD l_tc_field_name LINE 1.&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;*&amp;amp;SPWIZARD: set the new top line *&lt;/P&gt;&lt;P&gt;&amp;lt;tc&amp;gt;-top_line = l_tc_new_top_line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM. " COMPUTE_SCROLLING_IN_TC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2009 10:42:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-vertical-scrolling-in-table-control/m-p/5456677#M1250388</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-15T10:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Help regarding Vertical Scrolling in Table Control.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-vertical-scrolling-in-table-control/m-p/5456678#M1250389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Plese chek then one standard report &lt;STRONG&gt;DEMO_DYNPRO_TABLE_CONTROL_2&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2009 10:48:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-vertical-scrolling-in-table-control/m-p/5456678#M1250389</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-15T10:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: Help regarding Vertical Scrolling in Table Control.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-vertical-scrolling-in-table-control/m-p/5456679#M1250390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please go through my code and suggest me solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my table control Iam displaying as well as getting data to update.&lt;/P&gt;&lt;P&gt;So I have written code for "Enter" like it will get data to another internal table IT_PO_CHLN when enter was pressed  with changes that was done in table control and while displaying it will upload the changes compltly to table which was used in table control(IT_PO).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, after I scroll down at  IT_PO on screen and press enter my lines that come first in IT_PO are disappearing when I scroll it up again.&lt;/P&gt;&lt;P&gt;Just like that after few scrolls all the data in Table control is disapperaing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Experts I resolved it myself. I used following code,I hope this may be helpful for someone in need&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;Flow Logic&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;  MODULE STATUS_0001.&lt;/P&gt;&lt;P&gt;  LOOP AT IT_TABLE WITH CONTROL TABLE_CONTROL CURSOR&lt;/P&gt;&lt;P&gt;TABLE_CONTROL-CURRENT_LINE.&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;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;  LOOP AT IT_TABLE.&lt;/P&gt;&lt;P&gt;    MODULE GET_DATA4M_SCREEN.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MODULE USER_COMMAND_0001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;Program&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;REPORT ZTABCTRL.&lt;/P&gt;&lt;P&gt;TABLES: SFLIGHT.&lt;/P&gt;&lt;P&gt;CONTROLS: TABLE_CONTROL TYPE TABLEVIEW USING SCREEN 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF IT_TABLE OCCURS 0,&lt;/P&gt;&lt;P&gt;      ID TYPE I,&lt;/P&gt;&lt;P&gt;      COL1 LIKE SFLIGHT-CARRID,&lt;/P&gt;&lt;P&gt;      COL2 LIKE SFLIGHT-CONNID,&lt;/P&gt;&lt;P&gt;      END OF IT_TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: OK_CODE TYPE SY-UCOMM,SAVE_OK LIKE OK_CODE.&lt;/P&gt;&lt;P&gt;&lt;/P&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;MODULE STATUS_0001 OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SET PF-STATUS 'ZSCR1'.&lt;/P&gt;&lt;P&gt;  DESCRIBE TABLE IT_TABLE LINES TABLE_CONTROL-LINES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                    "STATUS_0001 OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&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;MODULE USER_COMMAND_0001 INPUT.&lt;/P&gt;&lt;P&gt;  SAVE_OK = OK_CODE.&lt;/P&gt;&lt;P&gt;  CLEAR: OK_CODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE SAVE_OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN 'ENTER'.&lt;/P&gt;&lt;P&gt;        LEAVE TO SCREEN 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN 'GET_DATA'.&lt;/P&gt;&lt;P&gt;      REFRESH: IT_TABLE.&lt;/P&gt;&lt;P&gt;      IT_TABLE-ID = 0.&lt;/P&gt;&lt;P&gt;      SELECT CARRID CONNID INTO (IT_TABLE-COL1,IT_TABLE-COL2) FROM SFLIGHT WHERE CARRID = 'AA'.&lt;/P&gt;&lt;P&gt;        IT_TABLE-ID = IT_TABLE-ID + 1.&lt;/P&gt;&lt;P&gt;        APPEND IT_TABLE.&lt;/P&gt;&lt;P&gt;      ENDSELECT.&lt;/P&gt;&lt;P&gt;      LEAVE TO SCREEN 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN 'BACK' OR 'CANCEL' OR 'EXIT'.&lt;/P&gt;&lt;P&gt;      LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN OTHERS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                    "USER_COMMAND_0001 INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&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;MODULE GET_DATA4M_SCREEN INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY IT_TABLE FROM IT_TABLE INDEX TABLE_CONTROL-CURRENT_LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                    "GET_DATA4M_SCREEN INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2009 10:54:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-regarding-vertical-scrolling-in-table-control/m-p/5456679#M1250390</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-15T10:54:51Z</dc:date>
    </item>
  </channel>
</rss>

