Optimizing Table Control Width

Hello,
I have used the Table Maintenance Generator to build the relevant screens for displaying/ editing data from 2 tables.
However when i maintain this view in SM30 it displays the table control with horizontal scroll bars. There are about 22 columns in the view and I would like to see them all in one screen.
I have tried changing the <i>Lgth</i> attribute of the Table Control from SE51. It shows 83. While trying to change it to about 140 I get an error message saying that 140 exceeds maximum width of 83.
Is 83 the maximum possible width for a table control? How can I change it?
Please respond with your quick tips!!!
Regards,
Priya

Thanks so much Ravi. Your tip proved very useful. The screen size set by an earlier developer had got reset when I did a re-run of the Table Maintenance Generator. I overlooked this small but important detail.
Thanks once again for the prompt response. It helped me resolve an urgent issue.

Similar Messages

  • How to optimize the column width in Table Control

    Hi all,
          When I am displaying fields in Table Control, the columns are displayed in full length, and I am unable to see all the fields at once.
    So as in grid , where we optimize the column width using layout, do we had any property for TC to do so.
    thanks for your help.
    Points would be awarded .
    Regards,
    Anil .

    Hi,
    In Se51, you can do this one, ust open your table control and resize the TC, there is no direct option to do this for entire TC, you need to do this field by field, and arrage the TC to adjust in a Single screen. In the field parameters, you have the field lenghts, there you can minimize the length of a field
    Regards
    Sudheer

  • Setting field header width in table control

    I have created  a table control by using the wizard and i am populating my internal table data in to this.
    Here i have small issue.
    There are two fields called recoverable, identifiable with char (1).
    These two field headers are displayed as R, I on the table control.
    Is there any way that i can adjust the field width to accomodate the header.
    points will be awarded immediately.
    Thanks

    In SE51 (Screen Painter), select/click-on the field (not the column header).
    Press F2 (to get the Properties window) and set the Visible Length to a larger number.  Save and activate the screen.

  • Can you programmatically change the width of columns in a table control\indicator

    Is it possible to programmatically change the width of columns in a table control\indicator ie to fit to width of the data or in my case the header information.

    Create a property node (or reference) and use the 'Active Cell' property to select which column you want to change and then use the 'Cell size'--> 'Width' property to change the size.
    "There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
    Attachments:
    table.vi ‏33 KB

  • Table Control in ITS is getting wrongly displayed

    Hi All,
    I Have developed a program(say abc) and created a screen for that program(abc).
    My issue is that,i have kept the table control in the box .
    When i execute the screen in se80 under the program(abc) ,its displaying properly ( i mean table control is inside the box).
    I have created an internet service program in se80 where i am passing the transaction code of  that program(abc) in the parameters tab.
    **problem is***
    but when i execute the internet service program(xyz) after publishing then the
    table control is coming out of the box in ESS ,
    i mean the width of the table control is not getting reduced.
    It(table control) has to get fit inside the box.
    even though its working properly through screen.
    please help me out of this issue.
    thanks,
    bhavani.
    Edited by: BHAVANI MADIREDDY on Jul 26, 2008 9:53 AM

    Hi ,
    I have set vertical scroll bar to 'X' but still when I scroll the scroll bar the counter is getting incremented and the last entered value is appended many times in the table control.
    What can be done to overcome this issue?

  • How can I change the size of table control in table maintenance re-gen?

    Hello Experts,
    I hv created a maintenance view and after generated table maintenance view for it.
    now it adjusts the size of table control in table maintenance generation.
    I want to change the size (width) of table control and again re-generate the table maintenance.
    But when re-generation occurs, table control size is set to initial.
    why it is happening? and wt to do to solve this issue? any user exit?
    I need the changed size of table control even if its re-generated.
    Regards,
    R.Hanks

    Hello Ronny,
    Goto SM30, Enter your table name for which you have maintained your table maintainence generator .
    When the maintainence screen appears for your table name , Goto System->Status->Screen Program name.
    Copy that program name from there.
    Open that module program through SE80,this is the program name of your SM30 screen which appears when we enter our table name in SM30 transaction.
    In SE80,click the layout of the module program name you have entered there.
    Its layout will display you the table control(of SM30) present to enter your your enteries.
    In the change mode you can change its size , savee it and activate that program.
    Now goto to SM30 again and enter your table name, it will show you the changed size of the table control used to take the enteries.
    Note:This changed size is only for your table name and it will remain of its previous size for other table enteries.
    Hope it helps you.
    Thanks Mansi

  • Af|table::control-bar

    Hi,
    In my af:table , if i mention a range and if there is more data rows, one control bar is comming on the right top of the table which is used to navigate the row page inside the table.Now i want to put this range navigation control bar in top- left, or in bottom- left.
    Is it possible?? how can i do that?
    thanks.

    hi Frank,
    i am used this code..
    and now i can see the controlbar if shifting towards left, but now some other problem is comming, the af:table cell also distorted means the cells are getting enlarge in length. i'm sending my css, am i doing anything wrong?
    .MyLinkHoverColor:alias { color:yellow; }
    .AFDarkForeground:alias {color:black;}
    .AFDarkBackground:alias {background-color:white;}
    .AFLinkForeground:alias {color:black; font-size: 10pt;}
    .AFFieldText{
    font-size:10pt;
    /** Table Settings **/
    .AFTableCellDataText:alias
    font-size: 12px;
    color: #383B3F;
    text-decoration: none;
    white-space:nowrap;
    height:8px;
    .AFTableCellDataBackgroundColor:alias
    background-color: white;
    text-align:left;
    white-space:nowrap;
    .AFTableCellDataBandedBackgroundColor:alias
    background-color: #FFEC9D;
    text-align:left;
    .AFTableCellDataBorderColor:alias
    border-color: white;
    af|table::body
    padding: 25px 25px 25px 25px ;
    background-color: cornsilk;
    af|table::control-bar-top
    padding-right:300px;
    border-color:cornsilk;
    font-size: 8pt;
    font-family:Verdana;
    text-decoration: none;
    background-color: cornsilk;
    padding-bottom:2px;
    af|table::control-bar-top:link
    border-color:cornsilk;
    font-size: 8pt;
    font-family:Verdana;
    text-decoration: none;
    background-color: white;
    af|table::sub-control-bar
    border-color:cornsilk;
    font-size: 8pt;
    font-family:Verdana;
    text-decoration: none;
    padding-bottom:5px;
    af|table::sub-control-bar:link
    font-size:8pt;
    font-family:Verdana;
    text-decoration: none;
    af|table::control-bar-bottom
    /* display:none;*/
    background-color: cornsilk;
    /** Column Settings **/
    af|column::header-text
    background-color: #EF8A1E;
    color: black;
    font-size: 8pt;
    font-weight: Bold;
    padding-left: 2px;
    padding-right: 2px;
    text-align:center;
    font-family:Verdana;
    font-color:black;
    white-space:nowrap;
    height:20px;
    vertical-align:center;
    border-color:black;
    border-style:none;
    af|column::header-number
    background-color: #EF8A1E;
    text-align:center;
    white-space:nowrap;
    af|column::sortable-header-text
    font-size: 8pt;
    font-family:Verdana;
    font-color:black;
    text-align:center;
    background-color: #EF8A1E;
    white-space:nowrap;
    vertical-align:center;
    color: black;
    font-size: 8pt;
    font-weight: Bold;
    padding-left: 2px;
    padding-right: 2px;
    height:20px;
    border-width:0;
    border-color:black;
    border-style:none;
    af|column::cell-text
    white-space:nowrap;
    text-align:left;
    /** Column Settings - adding an icon to the sortable column**/
    af|column::sort-ascend-icon
    content: url(/skins/firstspin/skin_images/sort_asc_n.png);
    af|column::sort-descend-icon
    content: url(/skins/firstspin/skin_images/sort_des_n.png);
    /** selectInputDate launch icon **/
    af|selectInputDate::launch-icon {
    content:url(/skins/firstspin/skin_images/timedate_ena.png);
    af|selectInputDate::launch-icon:rtl {
    content:url(/skins/firstspin/skin_images/timedate_ena.png);
    af|selectRangeChoiceBar::prev-icon
    font-size: 5pt;
    font-family:Verdana;
    af|selectRangeChoiceBar::next-icon
    font-size: 5pt;
    font-family:Verdana;
    }

  • New fields to MM01 Table Control

    Hi All,
    My requirement is to add the LAENG (Length), BREIT(Width) and HOEHE(Height) fields to the table control in AFS Weights and Volumes TabStrip of MM01 Transaction and we need to update these values in /AFS/MARM table. This is an AFS System.
    I have copied the Function Group J3AB to ZJ3AB and modified the sub screen 2501. I am to see my custom sub screen. But when I change the data in the table control the data is not getting saved in the /AFS/MARM table.
    There is an internal table XJ_3AMARM which holds the table control data. This table is declared as the global field in the function group. It is getting populated in the PAI of my custom screen. But when the control goes to SAP standard function group the data is getting refreshed and data is not getting updated.
    Please suggest me in updating the data.
    Thanks & Regards,
    Prasad.

    Hi,
    Add a field in the internal table structure of editor program.
    and select the data into it.
    Go to screen painter and go to layout, add your new field by selecting   dictionary field or internal table field. If you select the dictionary field , then you have to assign it to a value in the PBO module.
    PBO.
    module assign.
    in se38
    module assign output.
    dictionary-field = internal table field.
    endmodule.
    regards,
    kamala.

  • How to display internal table content to table control

    hi experts
            I am very new to dialog programming
            I have the Internal table in a report program containing data that needs to be displayed in table  control.
          Can you explain in step by step.
         Thanks in advance.
    Regards
    Rajaram

    Hi Raja
    Dialog-driven programs, or any program started using a transaction code, are known as SAP transactions, or just transactions. The term "transaction" is used in several different contexts in the IT world. In OLTP (Online Transaction Processing), where several users are working in one system in dialog mode, the term "transaction" stands for a user request. In conjunction with database updates, it means a change in state in the database.
    Programs with type M can only be started using a transaction code, in which an initial screen is defined. Programs with type 1 can be started either using a transaction code, or by entering the program name in one of the transactions SE38 or SA38. Screens call dialog modules in the associated ABAP program from their flow logic. Type M programs serve principally as containers for dialog modules, and are therefore known as module pools. Type 1 programs, or function modules can also switch to dialog mode by calling screens using the CALL SCREEN statement. The program code of the corresponding executable program or function pool must then contain the corresponding dialog modules.
    Programs that are partially or wholly dialog-driven cannot be executed in the background. They are therefore sometimes referred to as dialog programs.
    <u><b>Transaction code</b></u>
    The transaction code starts a screen sequence. You create transaction codes in the Repository Browser in the ABAP Workbench or using Transaction SE93. A transaction code is linked to an ABAP program and an initial screen. As well as using a transaction code, you can start a screen sequence from any ABAP program using the CALL SCREEN statement.
    <u><b>Screens</b></u>
    Each dialog in an SAP system is controlled by one or more screens. These screens consist of a screen mask and its flow logic. Since the flow logic influences the program flow, screens are sometimes referred to as "dynamic programs". You create screens using the Screen Painter in the ABAP Workbench. Each screen belongs to an ABAP program.
    The screen has a layout that determines the positions of input/output fields and other graphical elements such as checkboxes and radio buttons. The flow logic consists of two parts:
    Process Before Output (PBO). This defines the processing that takes place before the screen is displayed.
    Process After Input (PAI). This defines the processing that takes place after the user has chosen a function on the screen.
    All of the screens that you call within an ABAP program must belong to that program. The screens belonging to a program are numbered. For each screen, the system stores the number of the screen which is normally displayed next. This screen sequence can be either linear or cyclic. From within a screen chain, you can even call another screen chain and, after processing it, return to the original chain. You can also override the statically-defined next screen from within the dialog modules of the ABAP program.
    <u><b>GUI status</b></u>
    Each screen has a GUI status. This controls the menu bars, standard toolbar, and application toolbar, with which the user can choose functions in the application. Like screens, GUI statuses are independent components of an ABAP program. You create them in the ABAP Workbench using the Menu Painter.
    <b><u>ABAP Program</u></b>
    Each screen and GUI status in the R/3 System belongs to one ABAP program. The ABAP program contains the dialog modules that are called by the screen flow logic, and also process the user input from the GUI status. ABAP programs that use screens are also known as dialog programs. In a module pool (type M program); the first processing block to be called is always a dialog module. However, you can also use screens in other ABAP programs, such as executable programs or function modules. The first processing block is then called differently; for example, by the runtime environment or a procedure call. The screen sequence is then started using the CALL SCREEN statement.
    Dialog modules are split into PBO modules and PAI modules. Dialog modules called in the PBO event are used to prepare the screen, for example by setting context-specific field contents or by suppressing fields from the display that are not needed. Dialog modules called in the PAI event are used to check the user input and to trigger appropriate dialog steps, such as the update task.
    <b><u>Passing Data Between ABAP Programs and Screens</u></b>
    How are fields from ABAP programs displayed on the screen? And how is user input on the screen passed back to the ABAP program? Unlike in list programming, you cannot write field data to the screen using the WRITE statement. Instead, the system transfers the data by comparing the names of screen fields with the names of the ABAP fields in the program. If it finds a pair of matching names, the data is transferred between the screen and the ABAP program. This happens immediately before and immediately after displaying the screen.
    <u><b>
    Field Attributes</b></u>
    For all screen fields of a dialog screen, field attributes are defined in the Screen Painter. If a field name in the screen corresponds to the name of an ABAP Dictionary field, the system automatically establishes a reference between these two fields. Thus, a large number of field attributes for the screen are automatically copied from the ABAP Dictionary. The field attributes together with data element and domain of the assigned Dictionary field form the basis for the standard functions the screen executes in a dialog (automatic format check for screen fields, automatic value range check, online help, and so on).
    <u><b>Error Dialogs</b></u>
    Another task of the screen processor is to conduct error dialogs. Checking the input data is carried out either automatically using check tables of the ABAP Dictionary or by the ABAP program itself. The screen processor includes the error message into the received screen and returns the screen to the user. The message may be context-sensitive, that is, the system replaces placeholders in the message text with current field contents. In addition, only fields whose contents is related to the error and for which a correction may solve the error can accept input. See also Messages on Screens.
    <b>
    <u>Data Consistency</b></u>
    To keep data consistent within complex applications, ABAP offers techniques for optimizing database updates that operate independent of the underlying database and correspond to the special requests of dialog programming. See also Programming Database Updates.
    TRANSACTION CODES
    MENU PAINTER : SE 41.
    SCREEN PAINTER : SE 51 .
    BOTH : SE 80 .
    &#61672; ONLY EXISTING PROGRAMS CAN BE VIEWED IN SE 41 , SO USE SE 38 .
    CONCEPT :
    STEPS :
    1. GIVE TRANSACTION CODE SE 38 , CREATE A REPORT NAMED
    " ZVRPRDIALOGTEST2 " . SAVE , CHECK , ACTIVATE IT .
    2. THEN GIVE CODE SE 51. GIVE SAME PROGRAM NAME AS SE38 .
    GIVE SCREEN NUMBER , PRESS CREATE .
    3. GIVE SHORT DESCRIPTION . THEN CLICK ELEMENT LIST .
    4. THE SCREEN COMES , TYPE " OKCODE " .
    5. CLICK FLOW LOGIC , THE SCREEN COMES .
    6. one screen will come.
    7. SAVE . CHECK , ACTIVATE .
    8. CLICK LAYOUT . SCREN PAINTER SCREEN COMES .
    9. PRESS " F6 " . TYPE TABLE NAME , PRESS ENTER . THE SCREEN COMES .
    10 . TO SELECT THE DESIRED FIELDS , CLICK THE " TO SELECT " AREA IN
    EACH ROW , PRESS ENTER .
    11 . AFTER CLICKING , PRESS ENTER .
    12. THE FINAL SELECTION WIL COME
    13 . GIVE THE NESSARY BUTTONS IN THE SCREEN PAINTER .
    14 . DOUBLE CLICK IN EACH BUTTON GIVE LABLE , FUNCTION CODE .
    15 . THE FINAL SCREEN WIL COME
    16 . SAVE . CHECK .ACTIVATE. TO CHECK SCREEN PRESS F8.
    17 . TO WRITE CODING : PRESS FLOW LOGIG .
    18 . THE SCREEN COMES .
    19 . DOUBLE CLICK FIRST EVENT ( MODULE STATUS _ 3000 ).
    20 . PBO MODULE WINDOW COMES , PRESS TICK MARK .
    21 . EDITOR COMES . SAVE .
    TYPING PROGRAM IN THE EDITOR
    Steps :
    THE EDITOR WILL BE AS SHOWN ABOVE , NOW TYPE THE FOLLOWING CODE .
    NOTE :
    BEFORE TYPING CODE : TAKE COMMENTS FROM , THEN TYPE LIKE :
    SET PF_STATUS ' PRSTATUS '
    SET TITLEBAR 'PRTITLE' .
    *& Module STATUS_3000 OUTPUT
    * text
    TABLES : ZVTIKFS.
    DATA BEGIN OF INT_TAB OCCURS 0.
    INCLUDE STRUCTURE ZVTIKFS.
    DATA END OF INT_TAB.
    DATA OKCODE LIKE SY-UCOMM.
    DATA INDEX TYPE I VALUE 1.
    * MODULE STATUS_3000 OUTPUT *
    MODULE STATUS_3000 OUTPUT.
    SET PF-STATUS 'PRSTATUS'. "COMMENTS TOOK
    SET TITLEBAR 'PRTITLE1'. " COMMENTS TOOK
    SELECT * FROM ZVTIKFS INTO TABLE INT_TAB.
    READ TABLE INT_TAB INDEX INDEX.
    ZVTIKFS-NAME = INT_TAB-NAME.
    ZVTIKFS-ADDRESS = INT_TAB-ADDRESS.
    ZVTIKFS-PHONE = INT_TAB-PHONE.
    ZVTIKFS-AREA = INT_TAB-AREA.
    ENDMODULE. " STATUS_3000 OUTPUT
    *& Module USER_COMMAND_3000 INPUT
    * text
    MODULE USER_COMMAND_3000 INPUT.
    CASE OKCODE.
    WHEN 'INS'.
    INSERT ZVTIKFS.
    WHEN 'DEL'.
    DELETE ZVTIKFS.
    WHEN 'PRE'.
    INDEX = INDEX - 1.
    IF INDEX < 1.
    INDEX = 1.
    ENDIF.
    WHEN 'NEX'.
    INDEX = INDEX + 1.
    IF INDEX > SY-DBCNT.
    INDEX = SY-DBCNT.
    ENDIF.
    WHEN 'EXI'.
    LEAVE PROGRAM.
    ENDCASE.
    ENDMODULE. " USER_COMMAND_3000 INPUT
    NEXT :
    SAVE , CHECK , ACTIVATE .
    TO COME TO DESIGN MENU
    <b>STEPS :</b>
    1 . TRANSACTION CODE : SE 80 . OBJECT NAVIGATOR WINDOW COMES .
    NOTE : IF YOUR REOORT DOSENOT COME DO THE FOLLOWING PROCESS
    <u><b>Vey useful link:</b></u>http://sap.mis.cmich.edu/sap-abap/abap09/index.htm
    <u><b>Other links:</b></u>
    http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb2d40358411d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/10/e7dbde82ba11d295a40000e8353423/content.htm
    <u><b>For Screens</b></u>
    http://help.sap.com/saphelp_47x200/helpdata/en/e4/2adbef449911d1949c0000e8353423/content.htm
    <u><b>Screen elements</b></u>
    http://help.sap.com/saphelp_47x200/helpdata/en/47/e07f5f2b9911d2954f0000e8353423/content.htm
    <u><b>Processing Screens</b></u>
    http://help.sap.com/saphelp_47x200/helpdata/en/47/e07f682b9911d2954f0000e8353423/content.htm
    <u><b>Complex Screen elements</b></u>
    http://help.sap.com/saphelp_47x200/helpdata/en/fd/02da2a61d811d295750000e8353423/content.htm
    <b><u>DIALOG Programming</u></b>
    http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
    http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
    http://www.sap-img.com/
    http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm
    http://www.sapgenie.com/links/abap.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/52/670ba2439b11d1896f0000e8322d00/frameset.htm
    http://www.allsaplinks.com/dialog_programming.html
    http://sap.mis.cmich.edu/sap-abap/abap09/
    http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
    http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
    http://sap.mis.cmich.edu/abap-00/
    http://www.allsaplinks.com/files/using_table_in_screen.pdf
    http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm
    http://www.sapgenie.com/links/abap.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm
    http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
    http://help.sap.com
    http://www.sapgenie.com/abap/example_code.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/52/670ba2439b11d1896f0000e8322d00/frameset.htm
    http://www.allsaplinks.com/dialog_programming.html
    http://www.sapbrain.com/TUTORIALS/default.html
    http://www.sappoint.com/abap/spmp.pdf
    http://sappoint.com/abap.html
    http://www.sap-img.com/abap.htm
    http://sap.ittoolbox.com/code/archives.asp?i=10&t=450&a=t
    http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
    http://www.sap-img.com/abap/
    http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
    http://www.sap-img.com/
    http://www.sappoint.com/faq/faqdiapr.pdf
    http://www.allsaplinks.com/dialog_programming.html
    Reward all helpfull answers
    Regards
    Pavan

  • OLMRLIST MIRO Chance Sequence of Fields in Table Control

    Hello Guys,
    Do you know exactly how I can change the sequence of the fields on the Item-Level-Table-Control in MIRO. I am using a Z* transaction variant which I choose in MIRO, this works fine.
    I checked T-Codes OLMRLIST and SHD0, but I dont see there a chance to change the sequence. Can you indicate me the excatly path to follow.
    For your help .... best regard.
    BR
    Manuel

    Hi Manuel,
    You can do the sequence change in OLMRLIST transaction itself.
    first create the variant as Z* then go to the MIRO screen there change the sequence of the columns as per the requirement on the MIRO screen.Then system will ask you the copy the settings with screen name and description enter the details  there you need to select the check box Adopt column sequence and if you want Adopt column width also in the table control TC_MR1M. Then Press Exit and save system will ask the object check with company objects which will be available from technical guys. then save this variant for MIRO transaction.
    when ever you select this Z* Variant you will find your changed column sequence as per you settings.
    Hope you find the solution.Check & confirm
    rgds
    Chidanand

  • Mixed Data Type Table Control for Data Entry

    Hi Guys --
    I'm attempting to do error-checked data entry,
    My data is mixed: path, boolean, and numeric.  The natural organization is an array of clusters.  For instance, the cluster element would look like "path, boolean, numeric, numeric"  and I would have many rows of this data cluster.  To further complicate things I have to dynamically define the number of numeric elements in the cluster (tricky already) and also dynamically define the length of the array.
    I find the table control to be ideal to handle the dynamic nature of the data for editing.  I can easily use scroll bars to navigate to the appropriate part of the data.  I can delete rows and columns etc.
    On the other hand, the table can only handle string data.  I find that doing data checking and type conversion on the table elements to be extremely cumbersome. 
    I think what I'm looking for is a Table Control with ability to handle controls as elements.  From what I've read in this list and personally experienced, that functionality doesn't exist.
    Does LV have in-built functionality that I'm overlooking to resolve this problem?  Is there a third-party library that would do the job?
    Thanks,
    John

    Hi Ben --
    I think perhaps that I wasn't clear in my description. 
    As I pointed out, my data is organized naturally as an Array of Clusters.  More descriptively, my data looks like spreadsheet data; some text, some numbers.  I need to add rows and columns dynamically.  I need to be able to resize column widths dynamically... and while the program is executing.
    The Table Control does all of this.  The intuitive way that the Table Control permits a user to enter data is also good for my user.  The Array of Cluster data looks like spreadsheet data and a Table looks close enough to a spreadsheet.  A Table permits one to insert and delete rows, resize columns widths, and scroll around.
    I don't see that I get these features with an Array of Clusters Control.
    The issue with the Table Control is the lack of in-built data types, so I spend an inordinate amount of time doing type-conversion and range-checking. 
    At this point I'm pretty much convinced that LV doesn't have the in-built capability that I'm looking for. 
    I am curious if there are any LV libraries or Active-X controls somewhere that would implement the functionality that I require?

  • All about table control

    Hi,
    I am using a table control in my application vi for both reading inputs and displaying output. I have a few questions about it:
    1. Sometimes I send the data in multiple lines to a cell but at the output, I am only able to see the first line and not the other parts unless I hover around the cell. Is there any way to autoincrease the cell (or row) height so that the table control show the multiple line output properly.
    2. Also, how can I make cell of table to auto adjust the column width according to input text length.
    Please refer the attached image for details. All suggestions are welcome..

    Hi mnx,
    there's no auto-adjust. You have to set width/height using property nodes on your own…
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Table control in modulupool

    Hi frnndz,
    how to adjust the width of the table control dynamically in modulupool?
    Table control contains 5 columns.when user clicks on some button it has to display only 4 columns.
    I'm able to display 4 columns but not able to remove that gap.It is displaying 4 columns and one column space.We can create one more screen with that 4 fields then we can display but without creating another screen is it possible to reduce width of table control dynamically?
    could anybody please help me.
    Thanks & Regards,
    Venkat

    hi
    design one more screen which has only four columns when user press sum button call tht screen
    regards
    Rasheed

  • Dynamically resizing table control

    Hi all,
    I have designed a table control in the screen. in that, I have fixed the number of columns (7) using Fixed coulmns option in the screen painter. But, when the user selects an option (radio button) in the screen, I will hide two columns of the table control. So, now I want to resize the table control i.e. reduce the horizontal width of the table control.
    How can I achieve this?
    Please help me....
    Thanks,
    Rajan

    Hi,
    Suppose your screen is 9000
    Now in PBO define a module set_attr_table and handle
    handle it via your button -
    PROCESS BEFORE OUTPUT.
      MODULE status_9000.
      MODULE set_attr_table.
      LOOP AT  t_lips3 INTO w_lips3_ds WITH CONTROL
               t_inbd CURSOR t_inbd-top_line.
      ENDLOOP.
    Where if you have already defined
    CONTROLS: t_inbd       TYPE TABLEVIEW USING SCREEN '9000'.
    t_lips3 is the table you are using to display records from.      
    In the module set_attr_table try to change the the table control dynamically -
    DATA: w_ls_cer_inbd_ds  LIKE LINE OF t_inbd-cols.
    Try to modify the column attributes dynamically by modifying the screen table contents
    LOOP AT t_inbd-cols INTO w_ls_cer_inbd_ds.
          IF sy-tabix = 5 or sy-tabix = 6.
            w_ls_cer_inbd_ds-invisible = 1.
            MODIFY t_inbd-cols FROM w_ls_cer_inbd_ds TRANSPORTING invisible.
          ENDIF.
        ENDLOOP.
    Say column 5 and 6 you want to change.
    Thanks

  • Reg:How to delete the column in table control also from database table.

    Hi Experts,
    Once again thank u all for giving the responses.
    one more doubt is how to delete the columns of table control and also the record shold delete from ztable.
    With Regards,
    Saroja.P.

    Hi,
    If you want to delete the rows in the table control and simultaneously delete it from the database table, then you can implement a 'DELETE' functionality specific to your table control. Have a MARK field (you will find that in the screen attributes of the table control -> give a name for the MARK field, you will find an additional MARK column at the beginning of your table control). You can check whatever rows you want to delete from the table control, call the delete module.
    "This portion of code inside the LOOP...ENDLOOP.
    IF sy-ucomm eq 'F_DELETE'.
       gt_itab2-check = mark.  " Store the MARK field status into your internal table's correspoding field 'check'
      MODIFY gt_itab INDEX tabcontrol-current_line.
    ENDIF.
    iF sy-ucomm eq 'DELETE1'.
      DELETE gt_itab WHERE check eq 'X'. "Your internal table does not have rows that you want to delete
    ENDIF.
    Now you can modify your database table using the MODIFY statement.
    MODIFY ZDB FROM TABLE gt_itab.

Maybe you are looking for

  • WiFi Issues after the 10.2.1.2977 update.(z10)

    I Updated my BBZ10 a few weeks back to 10.2.1.2977  and I find that I cant enable my Wifi any more. Model Number: STL100-1 Software Release : 10.2.1.2977 Serial Number: 0617-8359-1855 From My quick settings I enable Wifi it looks like is enabled but

  • Posting accounting documents into G/L accounts

    HI friends, what are the tables involved in posting accounting documents in G/L accounts. Please let me know. Thanks in advance. Roberts.K

  • How to find out what type of usb is on my computer

    Can anybody help me find out what type of usb is fitted to our computers. we are about to buy an iPod for our son, he is useing a power mac g4 (agp graphic) & I have a Powerbook G4 titanium. but I cannot find out what is fitted any help would be appr

  • ARQ: How to configure Role Approve/Reject Email Notifications???

    Hi, I would like to achieve below for my business scenario with below MSMP stage configurations: MSMS Stages Configurations: MANAGER --> Can act on both request and line items level Role Owner--> Can ONLY act on line items Requirement In best case, a

  • Recommended Free Antivirus for Server 2012?

    Short story, found out that Server 2012 doesn't have a antivirus that comes with it, I purchased MSDN subscription a while back when it was released and installed it as a desktop and been using it without issues. I need suggestions on a free based an