Remove vertical scroll bar from table control

hi,
i had used table control in my application. i want remove vertical scroll bar from table control.
At initial time in table control there is no vertical scroll bar. In my table control lines are dependent on internal table which i was used to fill it.
i was used these code for to set table control lines.
DESCRIBE TABLE IT_RISK_ZINRISEXC LINES EXC_LINE.
TC_RISK_EX-LINES =   EXC_LINE .
Initially there is no data in internal table so there is no vertical scroll bar. After getting value i am filling internal table. and there is scroll bar in my table control. but i does not want that.
i was not selected RESIZING-VERTICAL OR -HORIZONTAL.

Hi,
From Scroll Bars in Table Control
You can remove the scroll bar in the table control by switching off horizontal and vertical scrolling in the properties of the table control. The properties can be accessed from the screen painter by double clicking on the table control. Regarding the page up and page down functions, I believe you add those buttons in the screen layout and code for them. You can use the standard function code for the page up and page down functions.
or
You can get rid of the vertical scroll bars by not setting table control lines. This way the user can only see the visible lines of the table control. As for the horizontal scrollbar, just make sure that your table control doesn't contain too many fields.
Regards,
Raj.

Similar Messages

  • Vertical scroll bar in table control with wizrads

    Hi,
      Im working on a table control with a customised table. I created a table control with wizards. But vertical scroll bar is not working. How can i invoke vertical scroll bar and can any one provide the code for the all the operations on a table control like save,find,find next,change....Thanks in advance.
    Avinash

    Hi Avinash
    move the records number of your internal table into field LINES of tablecontrol. So you should change the code generated by wizard in PBO, for example create a new module:
    PROCESS PBO
    MODULE SET_DATA_TO_T_CTRL.
    LOOP..
    ENDLOOP.
    MODULE SET_DATA_TO_T_CTRL.
       DESCRIBE TABLE ITAB LINE SY-TABIX.
       <TABLECONTROL>-LINES = SY-TABIX.
    ENDMODULE.
    Max

  • Removing the Vertical scroll bar from the content area.

    Hello,
    Is there a way to remove the vertical scroll bar from the content area?
    I am trying to create a new light portal frame work.
    Everything works fine except that I see two vertical scroll bars, one from the content area and another from the page(frame).
    Thanks in advance.
    -Sudheer

    Hi
    There are a couple of ways in which to achieve this
    1) Try and make the content flat. What I mean by this is that the content area (when using the standard light framework) doesn't contain an iframe, meaning that the iview defined on the page has "EMBEDDED" isolation mode. This should mean that you only have one scrollbar (if the content extends past the size of the browser)
    2) If you need to make the iview URL isolation, then try and get the domain of the content to be of a similar domain to your portal server, i.e. your portal is portal.company.com and the content is content.company.com. In this way you can make the pages expand.
    NOTE: One thing to note is that when using URL isolation iviews doesn't allow the automatic expanding of the iframe content. This is because the standard javascript doesn't allow this. Therefore you may have to write your own javascript function (or content area page) to do this
    I hope this helps
    Darrell

  • Adobe Reader move the vertical scroll bar from left to right

    Hi,
    is it possible to move the vertical scroll bar from left to right in Adobe Reader 9?
    If not, are you planning to implement this functionality?

    I meant from right to left, sorry
    You see, I'm left handed and when I use the scroll bar that is on the right side with the left hand I don't actually see the content of the page, because my left hand is covering the screen (I'm browsing the internet in tablet mode and I use the pen to navigate between pages).
    My system is a Tablet PC with Windows XP Tablet Edition 2005 and Adobe Reader 9.3.2.
    P.S. can you edit my post so the google indexes it right? (
    from right to left
    instead of "from left to right")

  • Scroll bar in table control without wizard

    Dear All,
    I have made a module pool program for gate pass. In which i have taken a TABLE CONTROL WITHOUT WIZARD. Now my problem is , the table control does not have the SCROLL BAR  functionality. It is not showing the scroll bar also. So can any one of you can help with the code that i can use to bring that scroll bar.
    Table control is without wizard.
    Thanks & Regards
    Vijju

    Hi,
    In PBO module write the code as,
        data:  fill TYPE i.
        DESCRIBE TABLE itab LINES fill.
      flights-lines = fill.
       Flights is the table control name in screen and itab is the internal table name.
    Regards
    Haritha
    Edited by: Haritha Teegala on Jan 6, 2012 7:53 AM

  • How can we remove the scroll bars from the table?

    Hi,
    I have a dynamic table. Currently the table appears with the scroll bars. But there is a requirement that the scroll bar should not appear and the table should stretch in the entire page. How can this be achieved.
    Thanks in advance
    Nita

    Thanks Mohammad for the reply.
    Was able to remove the scroll bars by using only the styleClass as AFStretchWidth. But there is a default partition in middle of the page still? Can i remove that too by any way.

  • Scroll Bars in Table Control

    Hi,
    How do I remove the vertical and horizontal scroll bars in the table control? I would like to use the Pg Up/Down buttons instead.
    Thanks,
    Mounika.

    Mounika,
    You can add or remove the scroll bar in the table control by switching off horizontal and vertical scrolling in the properties of the table control. The properties can be accessed from the screen painter by double clicking on the table control. Regarding the page up and page down functions, I believe you add those buttons in the screen layout and code for them. You can use the standard function code for the page up and page down functions.
    Regarding the Page up Page down...You need to add some extra code in your program to activvate that. Check the following program for example.
    DEMO_DYNPRO_TABCONT_LOOP_AT
    or try something like this
    try something like:
    CASE sy-ucomm.
    WHEN 'P+' OR
    'P++' OR
    'P-' OR
    'P--'
    CALL FUNCTION 'SCROLLING_IN_TABLE'
    EXPORTING
    entry_act = tc-top_line
    entry_to = tc-lines
    last_page_full = 'X'
    loops = loops
    ok_code = sy-ucomm
    overlapping = 'X'
    IMPORTING
    entry_new = tc-top_line
    EXCEPTIONS
    no_entry_or_page_act = 1
    no_entry_to = 2
    no_ok_code_or_page_go = 3
    OTHERS = 4
    ENDCASE   .
    Hope this helps
    Vinodh Balakrishnan

  • How to activate the Vertival Scroll Bar to Table control

    Hi All,
    I Have created a Module pool table control(Wizard) with Input control,where user can enter the values in the screen.
    In my screen 15 lines are visible,once i enter all 15 rows,vertical scroll bar is active,but rest of all lines are in deactivate mode.
    My requirement is:Once i enter all the visible lines,the remaining lines should be in activ mode(In put control).
    I appreciate your response.
    Best Regards,
    Seshadri

    DATA : BEGIN OF IT_MARA OCCURS 1,
           MATNR LIKE MARA-MATNR,
           ERSDA LIKE MARA-ERSDA,
           ERNAM LIKE MARA-ERNAM,
           MTART LIKE MARA-MTART,
           MBRSH LIKE MARA-MBRSH,
           V_FLAG TYPE C,
           END OF IT_MARA.
    DATA :  WA_MARA LIKE it_MARA .
    CONTROLS TABLE TYPE TABLEVIEW USING SCREEN 100.
    MODULE POPULATE_100 INPUT.
      CASE SY-UCOMM.
        WHEN 'DISP'.
          SELECT MATNR
                 ERSDA
                 ERNAM
                 MTART
                 MBRSH FROM MARA INTO WA_MARA .
            APPEND WA_MARA TO IT_MARA.
          ENDSELECT.
          DESCRIBE TABLE IT_MARA LINES V_TEXT.
          TABLE-LINES = V_TEXT.
          CLEAR IT_MARA.
    Regards..
    Balaji  ( assign if this helps u ..)

  • Vertical Scroll Reload on Table Control

    Hello,
    I've created a couple table controls in ABAP for a custom transaction that is going to be run through the web portal.  My problem is that the horizontal scroll on the table is handled on the front end, and the vertical scroll is handled in the program.  This means that moving the vertical scroll bar is much slower and not as user friendly as the horizontal one when run on the web (where it has to hit the back end and refresh the screen every time it's moved).  I don't think there is anything I can do about that, but on behalf of my customer I thought I'd check to see if anyone here knows any settings or any way to run vertical scrolling without hitting the abap code.
    Thanks,
    Nathan Beeler

    You might also look at the<a href="http://help.sap.com/saphelp_webas630/helpdata/en/24/ef243a84da356be10000000a11402f/plain.htm">ITS Service Parameters</a>. I'm thinking of ~AUTOSCROLL.
    Rob

  • Removing horizontal scroll bar from iframe

    how can i remove the horizontal scroll bar from an
    iframe when the contents does not need one.

    You don't get the horizontal scrollbar unless the contents
    need one.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "straight guy" <[email protected]> wrote in
    message
    news:e7qfk8$fbo$[email protected]..
    >
    how can i remove the horizontal scroll bar from an
    iframe when
    > the contents does not need one.

  • Removing vertical scroll bar on innerpage/content area

    Hi All,
    I am trying to remove extra vertical scroll bar on innerpage/content area. I followed below weblog
    http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/5192 ..."Those pesky scrollbars when using URL isolation"
    It works if I give fixed pixels like 1000 px for inner page height.
    obj = document.getElementById("isolatedWorkArea");
    obj.style.height = 1000 + 'px';
    But its not getting dynamic height of the content area using below code which is mentioned in the blog.
    reqsize = window.frames[obj.name].document.body.scrollHeight + 100 ;
    obj.style.height = reqsize + 'px';
    Please advice if anybody have a solution for this.
    Thanks a lot.

    Hello,
    First of all if you wand to remove the scroll bar you should use;
    obj.style.overflow="hidden";
    About dynamic height I cannot tell you if the sollution proposed on the blog is suitable for you.
    Normaly you should use only:
    reqsize = document.body.scrollHeight + 100 ;
    In order to find out the total height of your page.
    I don't understand why do you want to do all this. You will have cases when parts of the content will not be visible to the user due to these restrictions.
    BR
    Alex

  • Vertical Scroll in Dynpro Table Control

    Hello,
    I am currently having an issue with the vertical scroll control in my classic dynpro table.  When I scroll down it will scroll past the first record and then freeze.  I cannot scroll back up to the first record.  If I try to scroll down it jumps many records and then will not let me scroll back.  I have compared the coding from this screen to one that works and cannot find any differences. Is there somewhere else I should be looking?  Has anyone else experienced this issue?
    Thanks,
    Jereme

    Check out this example program.
    REPORT demo_dynpro_tabcont_loop.
    CONTROLS flights TYPE TABLEVIEW USING SCREEN 100.
    DATA: ok_code TYPE sy-ucomm,
          save_ok TYPE sy-ucomm.
    DATA: itab TYPE TABLE OF demo_conn,
          fill TYPE i.
          TABLES demo_conn.
    DATA: lines TYPE i,
          limit TYPE i.
    SELECT * FROM spfli INTO CORRESPONDING FIELDS OF TABLE itab.
    CALL SCREEN 100.
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'SCREEN_100'.
      DESCRIBE TABLE itab LINES fill.
      flights-lines = fill.
    ENDMODULE.
    MODULE fill_table_control OUTPUT.
      READ TABLE itab INTO demo_conn INDEX flights-current_line.
    ENDMODULE.
    MODULE cancel INPUT.
      LEAVE PROGRAM.
    ENDMODULE.
    MODULE read_table_control INPUT.
      lines = sy-loopc.
      MODIFY itab FROM demo_conn INDEX flights-current_line.
    ENDMODULE.
    MODULE user_command_0100 INPUT.
      save_ok = ok_code.
      CLEAR ok_code.
      CASE save_ok.
        WHEN 'NEXT_LINE'.
          flights-top_line = flights-top_line + 1.
          limit = fill - lines + 1.
          IF flights-top_line > limit.
            flights-top_line = limit.
          ENDIF.
        WHEN 'PREV_LINE'.
          flights-top_line = flights-top_line - 1.
          IF flights-top_line < 0.
            flights-top_line = 0.
          ENDIF.
        WHEN 'NEXT_PAGE'.
          flights-top_line = flights-top_line + lines.
          limit = fill - lines + 1.
          IF flights-top_line > limit.
            flights-top_line = limit.
          ENDIF.
        WHEN 'PREV_PAGE'.
          flights-top_line = flights-top_line - lines.
          IF flights-top_line < 0.
            flights-top_line = 0.
          ENDIF.
        WHEN 'LAST_PAGE'.
          flights-top_line =  fill - lines + 1.
        WHEN 'FIRST_PAGE'.
          flights-top_line = 0.
      ENDCASE.
    ENDMODULE.
    It has the following flow logic:
    PROCESS BEFORE OUTPUT.
      MODULE status_0100.
      LOOP WITH CONTROL flights.
        MODULE fill_table_control.
    ENDLOOP.
    PROCESS AFTER INPUT.
      MODULE cancel AT EXIT-COMMAND.
      LOOP WITH CONTROL flights.
        MODULE read_table_control.
    ENDLOOP.
      MODULE user_command_0100.
    Regards,
    Midhun Abraham
    Edited by: Midhun Abraham on Oct 2, 2008 5:23 AM

  • Issue while  vertical scrolling in the table control

    Hi,
    i have my table control which can show 14 entries at a time. and i have almost 100 entries in table control.
    now if i selected 2 entries in the visible part.
    now scroll vertically.
    again come back to see the selected records now they are unselected.
    please respond soon.
    Thanks
    Malya

    Hi,
    I have redone the scenario and follow the steps it will work....
    STEP 1: Create an internal table with field for selection in table.
    STEP 2: Assign the selection field in the table control for the line selection.
    STEP 3: Now whenever the line is selected, the selection field will have a field 'X'.
    STEP 4: In PAI Modify the table fields those are selected with 'X'.
    STEP 5: Set a flag in PAI, flag = 'X'.
    STEP 6: In PBO set a condition .         " We set a flag so that we fetch the data only once.
    If flag NE 'X'.
    Fetch data.
    endif.
    Data:
          begin of ztable,
             ID type char4,
             Name type char30,
             Sel type c,
          end of ztable.
    PROCESS BEFORE OUTPUT.
      MODULE STATUS_0100.
      LOOP AT ITAB INTO FS WITH CONTROL EMP CURSOR W_I.
        MODULE UPDATE.
      ENDLOOP.
    PROCESS AFTER INPUT.
      LOOP AT ITAB.
      MODULE APPEND.
      ENDLOOP.
      MODULE USER_COMMAND_0100.
    INCLUDE YMODTOP                                 .    " global Data
    *&      Module  UPDATE  OUTPUT
    *       text
    MODULE UPDATE OUTPUT.
      MOVE FS TO FS.
    ENDMODULE.                 " UPDATE  OUTPUT
    *&      Module  STATUS_0100  OUTPUT
    *       text
    MODULE STATUS_0100 OUTPUT.
      IF FL_FLAG <> 1.
        SELECT * FROM ZTABLE INTO CORRESPONDING FIELDS OF TABLE ITAB.
      ENDIF.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  append  INPUT
    *       text
    MODULE APPEND INPUT.
      MODIFY ITAB INDEX SY-STEPL FROM FS TRANSPORTING SEL .
      FL_FLAG = 1.
    ENDMODULE.
    Thanks&Regards
    Sarves

  • How to handle scroll bar in table control in bdc

    hi friends,
       how to handle scroll bar coding in table control in bdc
    Thanks & Regards,
    Srinadh D

    hi,
    check the sites :
    table control scrolling:
    Scrolling in table control
    Re: scrolling in table control
    Table control - Vertical scrolling problem
    table control scrolling problem

  • Urgent!!!!Add a Horizontal Scroll Bar for Table Control

    Hi Experts,
    I want to have a Horizontal Scroll Bar on my Table control.
    I tried with few properties for the Table UI Element but not able to solve it.
    If any one who had already done this please help me out.
    Thanks in advance..
    Regards, Kishore K

    HI Koen,
    Thanks for early Reply.
    When I use this I get
    Page Down ( ->!!, Arrown with lines pointing Down)
    Page UP
    Page Top    ( ->, Arrown with lines pointing Top)
    Page Down ( ->, Arrown with lines pointing Down)
    But I need only Page top and Page down for this Table UI .
    I think my question is clear enough.
    Please let me know this also.
    Thanks & Regards,
    Kishore K

Maybe you are looking for

  • Source List Validity Start Date

    I have noticed that, if the source list validity start date and contract validity start date are same then, the contract price is not considered while creating PO and receive error message as "Source not included in list despite source list requireme

  • Oracle 10g fetaures need to configure for production database

    Dear All, I am working for database, want to add all 10g features which can help database to work the properly. can you please advice what are the things I can implement for my database. I have a oracle 10G running on Linux 5.3. Regards, DevD!

  • Keeps repeating song

    keeps playing the same song over and over

  • Converting word perfect files to word

    How can you convert multiple word perfect files to word?

  • Performance Managment-- Appraisal

    Hi, I just need to make sure that i am not missing anything. I am setting up the appraisal in the Performance Management. I did the following steps: 1. Define my rating scale. 2. Adding competencies. 3. Adding records in the competence type 4. Create