Making 10 table control rows to be displayed always

Dear All,
How to make a table control display 10 lines always..?

Hi,
Thanks for the response
I have 3 table controls in a single screen. Each will have minimum 7-10 rows ( filled data ). I need to display all the table with all the rows visible to the user without scrolling.
At present though I define the lines as 10 for each table they are getting adjusted to 4 lines per table and getting fit to the screen.
But what I need is irrespective of the size of the monitor it should display all the tables with all the data. The screenmay have the scroll but not the tablecontrol.
for e.g
Table 1 Actual data is
1 flight
2 Train
3 Car
4 Flight
5 Hotel
6 Other
7 Car
But it is displayed as with scroll option for table control
1 flight
2 Train
3 Car
4 Flight
I need it to be displayed as irrespective of the size of monitor
1 flight
2 Train
3 Car
4 Flight
5 Hotel
6 Other
7 Car
Please help.
Regards
Sai

Similar Messages

  • How to make table control rows dynamic/unlimited using TC with Wizard

    Hi Friends ,
    I have designed a table control layout using table control with wizard.
    Now the problem is when we design a TC layout ,then we have to design it on the page . The page has upper & lower limits. so the maximum size & maximum rows in layout is limited. I have tried to create a TC layout with maximum size & maximum rows . Maximum rows created in Layout is 25.
    Now suppose if enduser wants 100 entries to enter by coping a file of 100 records in my TC present on entry screen , then ONLY 25 entries are displayed on entry scren before doing any user action or saving and after saving only these 25 entries are sved in DB. Means enrtries from 26 to 100 are not displayed on entry screen or saved in DB.
    So my requirement is to display all 100 entries at a time in entry screen before saving with scrolling up & down facility and these 100 entries should also get saved in DB after clicking save button. In short I want dynamic entry screen table control which can show/dieplay Any Number . of entries whatever the number may be entered by enduser .
    Plz note that I have used all 3 facilliteis i.e.
    1. Scrolling
    2. INSERT/DELETE
    3. SELECT/DESELECT
    while designing TC with wizard .
    Scrolling buttons like FIRST PAGE, PREV. PAGE, NEXT PAGE, LAST PAGE are displayed.
    BUT they are not functioning though there is system generated code present in both MPP and in PBO & PAI. After clicking any of them , data which is dislaying on entry screen ( Here it is 25 entries ) is getting cleared/disappeared from enry entry screen.
    Waiting for ur response & solutions.
    Thanks & Regards,
    Sudhir

    Hi Ashish ,
    Do one thing .
    At PAI of screen holding TC , there is module name tc_mark on request .
    in this module , there is work area declared g_tc_wa .
    Now go to tc_init module of pbo , where u have given your select command .
    select * from ........................................
    use this code .
    if g_tc_wa is initial .
       SELECT * FROm
       g_tc_wa = 'X'.
       REFRESH CONTROL 'TC' FROM SCREEN dynnr.
       ENDIF.
    Just do this , m sure all buttons, insert, delete , scroll bar.. everything will work .

  • Reg : Table control row settings to change mode

    Hi geeks.
            I am working on a requirement where the table control has to be in display mode at the time of prepopulating(initial display).This works fine and could get all columns in display mode for which i used column properties of table control. I could select a row from the table control and created a button above the table control for copy of the row which is added to the last row of the TC. I could get this with out any issues. They want the added row to be in changed mode whereas the other rows selected previously should remain in the display mode. Can anybody help me out to solve.Timely help will be appreciated <removed by moderator>
    Regards  ,
    Kumar.
    Edited by: Vinod Kumar on Aug 2, 2011 9:21 AM

    This thread will assist you.
    [Table control with non editable rows;
    Make use of some flag for identifying the new records that will be appended in itab on the press of the button.
    Then in PBO,
    loop at itab with control tc cursor tc-current_line.
    module editnewrow.
    endloop.
    module editnewrow output.
    if itab-flag  =  'X'.
    loop at screen.
        screen-input  =  1.
        modify screen.
      endloop.
       itab-flag  =  ' '. (resetting back to non-editable state for consequent press of the button)
       modify itab index tc_4000-current_line.
      endif.
    endmodule.

  • Module Pool table controle row level prob

    Hi Experts,
    I am working in a module pool program where in table controle  i want a perticular row should become in display mode if a specific field is NE SPACE. is it possible if possible than please sugest me how.
    Thanks and Regards,
    D Tarun Kumar

    In this case all the rows will be in display mode
    Exactly My Requirement I am describing  with example
    Suppose in table control I have three Records and the first field is main field which is if initial than the row should in change mode otherwise is should be in display mode.
    Field1          Field2          Field3          Field4          Field5
    1abc2          1abc3          1abc4          1abc5          Record 1
    2xyz1          2xyz2          2xyz3          2xyz4          2xyz5          Record 2
    3pqr2          3pqr3          3pqr4          3pqr5          Record 3
    So here the second rowu2019s first field is not initial so I need here in table control the second row should be in display mode and next first  and second row should be in change mode.
    Now You tell me is it possible or not if possible than please suggest me what I have to do
    Thanks & regards,
    D Tarun Kumar
    Edited by: Devalla T Kumar on Oct 24, 2009 9:17 AM

  • Module Pool - Table Control - Data not getting displayed in Control

    Hi,
    I have a table contol in my module pool program. In my processing I am filling an internal table & then in my PBO I am linking the internal table to table control. The issue is that even though the internal table is getting filled correctly (found through debugging), the data is not getting populated in table control. Nothing is populated on screen. I am writing part of code below
    Declaration:
    Types: begin of ty_control,
            SELECTED TYPE C,
            TEXT TYPE DPR_CAUSE_T-TEXT,
          end of ty_control.
    CONTROLS :  TBL_CONT TYPE TABLEVIEW USING SCREEN '9001'.
    DATA:       lt_table_cont type TABLE OF ty_control with header line.
    Fields in TBL_CONT:
       TBL_CONT-SELECTED
      TBL_CONT-TEXT
    PBO Flow Logic:
      MODULE STATUS_9001.
    MODULE fill_data.
      LOOP AT lt_table_cont WITH CONTROL TBL_CONT cursor TBL_CONT-top_line.
      ENDLOOP.
    PAI Flow Logic:
    Loop at lt_table_cont.
       MODULE UPDATE_DATA.
    endloop.
    MODULE USER_COMMAND_9001.
    PLZ let me know what might be the problem. I have been trying to figure out but cant.
    Thanks.

    Hi Sonali,
               When ever you need to do anything with the table control, i mean if u want to display data in table control or you want to validate the data entered in table control Should be done within Loop and Endloop.(PBO or PAI's which ever is appropriate)
    Here the data is not bieng displayed in ur table control because you have not used the MODULE fill_data  between
    LOOP AT lt_table_cont WITH CONTROL TBL_CONT cursor TBL_CONT-top_line.
    ENDLOOP.
    so do it like this
    LOOP AT lt_table_cont WITH CONTROL TBL_CONT cursor TBL_CONT-top_line.
    MODULE fill_data 
    ENDLOOP.
    this will solve your problem.
    Regards,
    Syed

  • To create a table control in se51 to display 1000 records from ITAB toscr

    Hi Sapall.
    here i have got a requirement just to display the records from itab to table created in se51.
    can any body help me in this.
    regards.
    Vrma.

    Hi,
    There is no problem with 1000 records you can use table control.
    please follow this link to get idea about the table control.
    saptechnical dot com/Tutorials/ABAP/TableControl/Demo.htm
    Regards
    Bikas

  • Counting table control rows

    hi gurus,
       i hv to count the rows of the table control and basing the no. of row i hv to put the loop (do x times).so plz send me the code to count the rows.
    thanks & regards,
    santosh.

    Hi,
    Usually for table controls,we have limit the lines of table control in the PBO itself.
    ie, Descirbe table <itab> lines <tblctrl>-lines.
    In your case , if you require no of lines of tblctrl,
    take the number of lines of tblctrl in the PAI.
    ie,
    line =  <tblctrl>-lines.
    tblctrl  = Table control name,
    itab =  internal table used for populating data in table control
    line = variable of type i.

  • Colour table control rows

    HI guys i need to colour the rows of table control.
    can u guy pls help.
    thanks in adv

    Hi annie,
    Check the entries of internal table in which you are trying to populate the values into table control.
    If possible try to submit your code here.
    Rgds
    Lakshmiraj

  • Highlight table control rows when select all button is clicked

    Hi Experts,
    I have a table control and filling up rows through user input and i have also created button such as Select All* , De-Select All, and Delete.
    Now the issue is when i am pressing the select all button all the rows are marked for deletion(internal 'X' flag is set) but the rows are not highlighted(so that user will be able to know that all rows are selected).
    Anything that i am missing, please guide......
    Regards,
    Abhijit G. Borkar

    Ohh sorry there was some problem with the internet connect, that's why  this duplicate happened.
    Regards,
    Abhijit G. Borkar

  • In the af:table selected row need to display in the next page?

    Hi,
    I am using jdev 11.1.2.3.0.
    I tried one sample application, in that jspx page, I am having the af:table and button in my view activity. In that table select one row and click on the button that time, the navigation page always show the first row. Suppose I select the 5th ro and navigate the page also displaying the first row only. So I don't know how to proceed this? Kindly suggest me.
    Regards,
    Ragu

    Hi Timo,
    I used the selectionListener tag also.
    Anyway Here I posted my jspx page.
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document title="EmployeesView.jspx" id="d1">
    <af:messages id="m1"/>
    <af:form id="f1">
    <af:panelCollection id="pc1">
    <f:facet name="menus"/>
    <f:facet name="toolbar">
    <af:toolbar id="t2">
    <af:commandButton text="Edit Employee" id="cb1" action="Edit" />
    </af:toolbar>
    </f:facet>
    <f:facet name="statusbar"/>
    <af:table value="#{bindings.EmployeesVO.collectionModel}" var="row" rows="#{bindings.EmployeesVO.rangeSize}"
    emptyText="#{bindings.EmployeesVO.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.EmployeesVO.rangeSize}" rowBandingInterval="0"
    filterModel="#{bindings.EmployeesVOQuery.queryDescriptor}"
    queryListener="#{bindings.EmployeesVOQuery.processQuery}" filterVisible="true" varStatus="vs"
    selectedRowKeys="#{bindings.EmployeesVO.collectionModel.selectedRow}"
    selectionListener="#{bindings.EmployeesVO.collectionModel.makeCurrent}" rowSelection="single"
    id="t1">
    <af:column sortProperty="#{bindings.EmployeesVO.hints.EmployeeId.name}" filterable="true" sortable="true"
    headerText="#{bindings.EmployeesVO.hints.EmployeeId.label}" id="c1">
    <af:outputText value="#{row.EmployeeId}" id="ot1">
    <af:convertNumber groupingUsed="false" pattern="#{bindings.EmployeesVO.hints.EmployeeId.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="#{bindings.EmployeesVO.hints.FirstName.name}" filterable="true" sortable="true"
    headerText="#{bindings.EmployeesVO.hints.FirstName.label}" id="c2">
    <af:outputText value="#{row.FirstName}" id="ot2"/>
    </af:column>
    <af:column sortProperty="#{bindings.EmployeesVO.hints.LastName.name}" filterable="true" sortable="true"
    headerText="#{bindings.EmployeesVO.hints.LastName.label}" id="c3">
    <af:outputText value="#{row.LastName}" id="ot3"/>
    </af:column>
    <af:column sortProperty="#{bindings.EmployeesVO.hints.Email.name}" filterable="true" sortable="true"
    headerText="#{bindings.EmployeesVO.hints.Email.label}" id="c4">
    <af:outputText value="#{row.Email}" id="ot4"/>
    </af:column>
    <af:column sortProperty="#{bindings.EmployeesVO.hints.PhoneNumber.name}" filterable="true" sortable="true"
    headerText="#{bindings.EmployeesVO.hints.PhoneNumber.label}" id="c5">
    <af:outputText value="#{row.PhoneNumber}" id="ot5"/>
    </af:column>
    <af:column sortProperty="#{bindings.EmployeesVO.hints.HireDate.name}" filterable="true" sortable="true"
    headerText="#{bindings.EmployeesVO.hints.HireDate.label}" id="c6">
    <f:facet name="filter">
    <af:inputDate value="#{vs.filterCriteria.HireDate}" id="id1">
    <af:convertDateTime pattern="#{bindings.EmployeesVO.hints.HireDate.format}"/>
    </af:inputDate>
    </f:facet>
    <af:outputText value="#{row.HireDate}" id="ot6">
    <af:convertDateTime pattern="#{bindings.EmployeesVO.hints.HireDate.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="#{bindings.EmployeesVO.hints.JobId.name}" filterable="true" sortable="true"
    headerText="#{bindings.EmployeesVO.hints.JobId.label}" id="c7">
    <af:outputText value="#{row.JobId}" id="ot7"/>
    </af:column>
    <af:column sortProperty="#{bindings.EmployeesVO.hints.Salary.name}" filterable="true" sortable="true"
    headerText="#{bindings.EmployeesVO.hints.Salary.label}" id="c8">
    <af:outputText value="#{row.Salary}" id="ot8"/>
    </af:column>
    <af:column sortProperty="#{bindings.EmployeesVO.hints.CommissionPct.name}" filterable="true" sortable="true"
    headerText="#{bindings.EmployeesVO.hints.CommissionPct.label}" id="c9">
    <af:outputText value="#{row.CommissionPct}" id="ot9"/>
    </af:column>
    <af:column sortProperty="#{bindings.EmployeesVO.hints.ManagerId.name}" filterable="true" sortable="true"
    headerText="#{bindings.EmployeesVO.hints.ManagerId.label}" id="c10">
    <af:outputText value="#{row.ManagerId}" id="ot10">
    <af:convertNumber groupingUsed="false" pattern="#{bindings.EmployeesVO.hints.ManagerId.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="#{bindings.EmployeesVO.hints.DepartmentId.name}" filterable="true" sortable="true"
    headerText="#{bindings.EmployeesVO.hints.DepartmentId.label}" id="c11">
    <af:outputText value="#{row.DepartmentId}" id="ot11">
    <af:convertNumber groupingUsed="false" pattern="#{bindings.EmployeesVO.hints.DepartmentId.format}"/>
    </af:outputText>
    </af:column>
    </af:table>
    </af:panelCollection>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    After click the Edit Employee button it should navigate the another page and which record I choose.

  • Making a table add rows with a formula?

    Hi
    I would like to know if the following is possible.
    Lets say I have a table (Table1) and another table (Table2).
    Table1 will contain a name and an amount so each rows has two cells.
    Table2 will contain information from Table1 but filled in at appropriate places. The issues here is as follows. If i create a template for this I cannot ahead of time know how many rows Table1 will contain since this will vary depending on the circumstances. However Table2 should be protected but for that to work I would have to find a way for table2 to creat the appropriate rows needed depending on how many rows are in table1. Is this at all possible or is this beyond the scope of Numbers?
    If my questions is unclear in any way the please feel free to ask me to clarify.
    Thanks

    I never type $C$4 in the posted formula.
    Is it so difficult to copy paste the posted formula ?
    (1) In the table which you describe, values are in rows 1, 2, 3 which are standard rows.
    As the Barry's answer was with tables embedding an header row, I did the same.
    As my formula assumes that the two tables have an header row it's perfectly normal that it fails.
    May you make the effort to download iWork Formulas and Functions User Guide and read the description of the used formulas ?
    (2) As you replaced $C$1 by $C$4, in your document, the formula is trying to sum values which are lower than Row 4 so it's logically returning 0.
    Here is the document which was used to build the formula.
    In cell A1 of Tableau 2b, the formula is :
    =SI(PETITE.VALEUR(Tableau 1b :: E;LIGNE())=99999;"";SOMME(DÉCALER(Tableau 1b::$C$1;PETITE.VALEUR(Tableau 1b :: E;LIGNE())-1;0;1;2)))
    In English it would be :
    =IF(SMALL(Tableau 1b :: E,ROW())=99999,"",SUM(OFFSET(Tableau 1b::$C$1,SMALL(Tableau 1b :: E,ROW())-1,0,1,2)))
    In Swedish I assume that it would be :
    =OM(MINSTA(Tableau 1b :: E;RAD())=99999;"";SUMMA(PASSA(Tableau 1b::$C$1;MINSTA(Tableau 1b :: E;RAD())-1;0;1;2)))
    This time, be fair enough to :
    (a) temporarily rename your main table as Tableau 1b
    (b) apply copy & paste !
    When you will check that it behave well, reset the table's original name.
    The formula will automatically reflect the change.
    Yvan KOENIG (VALLAURIS, France) vendredi 24 février 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.3
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k

  • Displaying icon in tow in table control

    Hi experts, I need help on how to display icons in every row in my table control which will be displayed via SAP GUI not Web.
    Did anyone have successfully done this?
    Thank you in advance guys..

    Hi,
    Check these links.It can help you.If so,kindly reward points by clicking the star on the left of reply.
    Re: Showing a status icon column on a table control
    Re: How to show icon(traffic lights) into table control in dialog program?
    http://www.sapdesignguild.org/resources/MiniSG-old/from_develop/norm_status_icons.htm#positioning_4

  • How can we select multiple rows in table control for module pool program?

    hi guru's
                 i cannt able to select multiple table control rows for deletion of records please give any code to select rows?
    regrards,
    satheesh.

    On the Table Control attributes there is a "Selectability" option where you choose one of: None, Single, or Multiple.  In your code you then need to pick up which rows have the selection column set to 'X'.

  • How to control the display of table control

    hi,
    If I dont find any entry in the internal table to be displayed in table control then I should not display the blank table in the screen.
    I tried using if not itab[] is initial in PBO but there(PBO) 'if' is not recognised and it gives syntax error.
    Even if I tried to put the code of table control 'loop at itab[] into wa_tab contrl....'this part in a module and there to put the If condition it gives error to put where after wa_tab.
    Thanks,
    mohan

    hi,
    As i told i had put the if part in the module but then it is the error with syntax check of table control as shown below
    PBO
    module pbo_100.
    loop at itab into wa with contril Tc cursor tc-lines.
    endloop
    pai
    module pai_100
    but here if i create a new module in PBO say module check_table and put the code for table control as
    if not itab is initial
    loop at itab into wa with contril Tc cursor tc-lines.
    endloop
    endif.
    then here error comed with syntax of loop at itab into wa has to be 'where' condition.
    So the problem is i dont want to display the table control in 1st but after some input on the screen then only the table control is to be displayed .
    Let me know if this is clear.
    thanks,
    mohan

  • Table control use...?

    Hi gurus,
    I was reading the previous posts on table control but still not able to understand when do we use it..I mean in what situations do we use table control...I can always use ALV to display data as in dialog programming we can have ABAP code...? Am i right in saying that or making a error...
    Kindly help me understand this concept..
    Cheers:Jim

    hi Jim,
    Main use of Table control is to do the DML/DRL operations on multiple records....
    Features of Table Controls
    Data is displayed in the form of table.
    Table control gives user the feeling of an actual table.
    You can scroll through the table vertically as well as horizontally.
    You can select rows and columns.
    You can resize the with of columns.
    You can have separator lines between rows and columns.
    Automatic resizing of the table when the user resizes the window.
    You can update information in the table control and it can be updated in the database table by writing code for it.
    I think this info might be helpful for you
    ~~Guduri

Maybe you are looking for

  • I want it install Internet explore so I can view the web pages I am creating, but why can I not install it from Firefox?

    I have downloaded IE twice and each time it says it has installed it and that I need to restart my PC but there is no sign of IE. Does Firefox prevent the installation?

  • IDisk in Tiger 10.4.2

    I can not get the iDisk to work...when i click on the iDisk icon that opens a finder window with the folders in iDisk...it continuely triesto sync and never goes online to view the content of the folders. However I know the password is correctly setu

  • Problem pricing CRMD_BUS2000115

    We have a problem in transaction CRMD_BUS2000115. The pricing is not based on field "PricingRefProd." when we fill in this field with the BADI method CRM_PRODUCT_I_MERGE. We enter product 'A'. This is automatically replaced by 'B', thats fine, but we

  • Scanned photos from photoshop won't import to iphoto

    I rescanned some photos, the firsts were fuzzy, through photoshop. I saved as a jpeg file to a file on my computer but it won't let me import those to iphoto. I thought first it was because I saved them under the same file name, so opened photoshop,

  • Reg:structure of infotype table

    Hi, Can i get the details regarding the structure of infotype ....... (ie table structure,,screeen structure so on).. Thanks & Regards shiva ram