Particular column as control in table

 Dear All,
Is there any way to make a particular column in a table as control and rest indicators?
I am creating a table where in 1 column i display the speed which is calculated by the program and in the next column the user wants to add the distance.
So, in the table i want the column representing Speed should act as an indicator and the Distance Column should behave as a Control as the user manually has to enter the distance.
how is this possible?
Thanks,
Ritesh 

Hello ritesh024,
The attached vi is a small exemple of "Control column" and " Indicator column".
This Vi computes the hypothenuse of a triangle according to the big and small side lengths.
It is composed of a table where  first column is small side, second bigside, and the third is hypothenuse calculation.
When the table changes, the hypothenuse is computed according to big and small side lengths.
The hypothenuse column could be considered as "indicator" as you cannot change the value without triggering a new computation
 Hope this helps!
Attachments:
TableExemple.vi ‏12 KB
Clipboard02.png ‏24 KB
Clipboard01.png ‏12 KB

Similar Messages

  • Wanting data from a table without a particular column

    I need the data from a table, except the data for a particular
    column. I don't want to write the select list, as it would be
    too clumsy for a large table. Can anybody suggest a solution. I
    can certainly create a view, but I don't want that.

    Hi,
    Try this select Statement.
    set haeding off
    set feedback off
    spool file.sql
    Select 'Select ' from dual;
    Select Column_name || ',' from all_tab_columns Where table_name = 'EMPLOYEE' and Column_Name != 'DEPARTMENT_ID';
    Select '1' from dual;
    select 'From Employee;' from dual;
    Spool off
    regards,
    Ganesh R

  • Need help in hiding particular column of a table depending upon value

    Hi experts,
    I have developed a custom smartform and Print program.
    My problem is ..depending upon the data i recieve,...i have to hide a particular column.
    For example ... i have a table with 2 rows...one header and main row..This table has 3 column.
    I have to hide one of the column depending upon the data i recieve. So my output should have 2 rows and 2 columns.
    Please help.

    well vishwa u r right it wont work for multiple columns,
    then i guess this shud work.
    @thendral
    U can try like this create the rows with single column
    then print all ur text elements with spaces inserted manually between them with text editor then in conditions tab of the text elements specify ur condition according to what all u want to print.
    кu03B1ятu03B9к

  • Add a new column in Agreement Items table control (ME31K/ME32K/ME33K)

    Hi guys,
    I have a big issue.
    How can I add a new column at Agreement Items table control (ME31K/ME32K/ME33K) level.
    Thanks a lot.

    I think i solved the problem . The single way to to that is to modify the SAP standard Screen.

  • How can i enable a column or field in table control

    hi all,
    i have a table control and in which some column is there, and all are disable mode now my requirement is :
    i want a column enable in this table control with a change button is there.
    so what is the functionality for this change button, if i click this button one of the field is enable i.e in change mode.
    for example- i have 4 fields: in a table control like-
    emp no | name | date| time|
    so i want to enable the field date.if i press the change button
    any one can help me on this, it is very urgent.
    pls send me any code ...if u have.
    thanks,
    vipin

    have  a look at this sample code
    In PAI write :
    CASE sy-ucomm.
      when 'CHANGEBUTTON'.
      Loop at screen.
        IF field1 = 'MATNR'.
          Screen-active = 0.
       endif.
      modify screen.
      endloop.
    endcase.

  • Reading particular column from internal table

    Hi
    I am having one internal table with one row. I know the column number. I want to read that particular column value. What should I add with the below statement.
    Read table itab index 1.
    This will give me the whole row. I want only the particular column.
    Please help me to solve this issue
    Thanks.

    Hi,
    FIELD-SYMBOLS <FS_ANY>
    ASSIGN COMPONENT N OF STRCUTURE OF WORKAREA TO <FS_ANY>
    WRITE <FS_ANY>
    Where n is the column number and workarea is the row of the internal table.
    Rgards,
    Ravi
    Note : Please mark the helpful answers

  • Compare tables in two schemas for the table with particular column & value

    Hello All,
    I have a query to find out the list of table from a given schema to extract all the tables having a search column .
    ex :
    SELECT OWNER, TABLE_NAME, COLUMN_NAME FROM
    ALL_TAB_COLUMNS WHERE OWNER='<SCHEMA_NAME>'
    AND COLUMN_NAME='<COLUMN_NAME>'
    I want to compare two schemas for the same above query .
    Can we wirte a query on this - I am using SQL DEVELOPER , which has menu item - TOOL - database differneces to find the diffenence between two schemas but my requirement is to find the differences in two schemas for all the tables matching for a particular column ( as given in quer).
    Appreciate your help.
    thanks/Kumar
    Edited by: kumar73 on 29 Nov, 2012 1:50 PM

    Hi, Kumar,
    This is the SQL and PL/SQL forum. If you have a question about SQL Developer, then the SQL Developer is a better place to post it. Mark this thread as "Answered" before starting another thread for the same question.
    If SQL Developer has a tool for doing what you want, don't waste your time trying to devise a SQL solution. The SQL Developer way will probably be simpler, more efficient and more reliable.
    If you do need to try a SQL solution, then post some sample data (CREATE TABLE and INSERT statements for a table that resembles all_tab_columns; you can call it my_tab_columns) and the results you want from that data.

  • Need to add 2 new columns to the existing table control of C223 transaction

    Hi ABAP Gurus,
    I have to do a screen enhancement for transaction C223.
    Below is the requirement:
    need to add 2 new columns to the existing table control of C223 transaction.
    there is no customer exits, screen exit or user exit present for this transaction C223, i have found one enhancement spot for this transaction.
    i dont have any idea how to do this in standard transaction C223, the table control in C223 saves the data to MKAL table and the table control uses the structure MKAL_EXPAND in the screen program.
    i have created an append structure for  the 2 fields to the standard table MKAL.
    Can anyone please suggest me how this can be done in standard screen C223, will the enhancement spot can be used to do this....
    please sugest...
    Thanks & Regards

    Hi Santosh,
    Thanks for the reply. I have looked into this Enhancement Spot CPFX_SCREEN_SET , inside this there is only one method INPUT_DISABLED having below parameters
    IM_MKAL     Importing     Type     MKAL                                                                                Production Version
    EX_MSGID     Exporting     Type     SY-MSGID                                                                                Messages, Message
    EX_MSGTY     Exporting     Type     SY-MSGTY                                                                                Messages, Message
    EX_MSGNO     Exporting     Type     SY-MSGNO                                                                                Messages, Message
    EX_MSGV1     Exporting     Type     SY-MSGV1                                                                                Messages, Message
    EX_MSGV2     Exporting     Type     SY-MSGV2                                                                                Messages, Message
    EX_MSGV3     Exporting     Type     SY-MSGV3                                                                                Messages, Message
    EX_MSGV4     Exporting     Type     SY-MSGV4                                                                                Messages, Message
    EX_INPUT_DISABLE     Exporting     Type     CHAR1                                                                                Display Only if X Was Set
    the BADI definition present here is a SAP internal so we cant implement the BADI , but we can created a enhancement spot implementation for this. as per my understanding on this the enhancement spot is only for making the table control fields display / change .  i dont think this can be used to add two new coloumns to C223 table control.
    I am not sure thats why seeking your help/valuable sugestion on this.
    Please provide your sugestion on this , so that i can come to conclusion on this issue.
    Thanks & Regards
    Siddhartha Mishra

  • How to set color for a particular column in advance table?

    How can we set the color of a particular column in advance table based on some parameter feteched from vo query in process request?

    i have tried the same way as mentioned in the post but ,its giving error
    java.lang.ArrayIndexOutOfBoundsException: 0
    processRequest code
    OAAdvancedTableBean table =
    (OAAdvancedTableBean)webBean.findIndexedChildRecursive("TimEntAdvtbl");
    if (table != null)
    System.out.println("table");
    OAColumnGroupBean daily =
    (OAColumnGroupBean)table.findIndexedChildRecursive("DailyColGrp");
    if (daily != null)
    System.out.println("daily col");
    OAColumnGroupBean ColGrp6 =
    (OAColumnGroupBean)table.findIndexedChildRecursive("ColGrp6");
    if (ColGrp6 != null)
    System.out.println("ColGrp6");
    OAColumnBean SatCol =
    (OAColumnBean)webBean.findIndexedChildRecursive("SatCol");
    if (SatCol != null)
    System.out.println("col");
    OAMessageTextInputBean sat1 =
    (OAMessageTextInputBean)SatCol.findIndexedChildRecursive("sat");
    if (sat1 != null)
    System.out.println("sat1");
    OADataBoundValueViewObject csssat= new OADataBoundValueViewObject(sat1,"Color");
    sat1.setAttributeValue(oracle.cabo.ui.UIConstants.STYLE_CLASS_ATTR, csssat);
    Error Page
    ## Detail 0 ##
    java.lang.ArrayIndexOutOfBoundsException: 0
         at oracle.sql.NUMBER._fromLnxFmt(NUMBER.java:3199)
         at oracle.sql.NUMBER.toString(NUMBER.java:761)
         at oracle.sql.NUMBER.stringValue(NUMBER.java:2090)
         at oracle.jbo.domain.Number.toString(Number.java:390)
         at oracle.apps.fnd.framework.webui.OADataBoundValue.formatObject(Unknown Source)
         at oracle.apps.fnd.framework.webui.OADataBoundValue.convertValue(Unknown Source)
         at oracle.apps.fnd.framework.webui.OADataBoundValue.convertValue(Unknown Source)
         at oracle.apps.fnd.framework.webui.OADataBoundValueViewObject.convertValue(Unknown Source)
         at oracle.apps.fnd.framework.webui.OADataBoundValue.getValue(Unknown Source)
         at oracle.apps.fnd.framework.webui.OADataBoundValueViewObject.getValue(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.getAttributeValueImpl(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.message.OAMessageTextInputBean.getAttributeValueImpl(Unknown Source)
         at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
    Please help

  • Listing tables where particular column exists

    I want to list the tables where particular column is refered how do i do this thru sql plus?
    Thanks in advance
    Sudha

    Do you mean this?
    select table_name from user_tab_columns where column_name like 'N%ID';Lennert

  • How do i know in how many tables particular column exists

    i want to know in how many tables a particular column exists..
    what i mean is
    let us assume that there is a Column ABC in table SERVICE.
    this particular ABC column is there in some other tables REQUEST,HHG,SS.... and so on
    what exactly my query is..
    how can i know where all in the database the column ABC is used..
    i mean i want to get all the table names using this column ABC.
    hope i am clear with my doubt..
    thanks for the replies in advance

    If I understand the question
    SELECT owner, table_name
      FROM dba_tab_cols
    WERE column_name = 'ABC'Of course, depending on the requirements, you could use the ALL_TAB_COLS or USER_TAB_COLS tables as well.
    Justin

  • Web item "TABLE" -- How to hide rows of a particular column.

    HI,
       In the web item "table", is there anyway that i can hide the rows of a particular column(for example: material column) except the result rows.
    Here is the Query result:
    Customer
    Material
    KF1
    KF2
    KF3
    Result__________________________400_____700____300
    1001_________________Result_____150_____300____150
    _____________________10_________100_____200____100
    _____________________20_________50______100____50
    1002_________________Result_____250_____400____150
    _____________________10_________100_____200____100
    _____________________20_________150_____200____50
    After formatting the query result looks like:
    Customer
    Material
    KF1
    KF2
    KF3
    Result__________________________400_____700____300
    1001_________________Result_____150_____300____150
    1002_________________Result_____250_____400____150
    How can i hide the item rows except the "Result" rows of the material column?
    regards,
    ravi

    Dear Ravi,
    look in the BW WEB API Documentation on help.sap.com for more details (or just search in SDN for it).
    In General:
    - create class which inherit from CL_RSR_WWW_MODIFY_TABLE
    - redifine method CHARACTERISTIC_CELL
    - insert coding:
      if i_iobjnm eq '0MATERIAL' and i_IS_SUM is initial.
      free C_CELL_CONTENT.
      endif.
    - Insert the parameter MODIFY_CLASS with the name of your new class into your template
    result: you see the result of the column but not the single values.
    Hope this answer your question.
    Regards Marcus
    Message was edited by: Marcus Pospiech

  • How to hide/remove Particular column from the payslip in ESS\MSS Portal overview table?

    Steps to be followed.
    1)Go to SE18
    2)Select Enhancement spot
    3)Give the Espot name 'HRESS_PAYSLIP'
    4)From left side double click on the Implementing Class 'CL_HRESS_PAYSLIP_BADI_STANDARD'.
    5)Within that double click on the method 'if_hress_payslip_badi~adjust_field_catalog'.
    6)AT the end of this method there will be 4 Lines of coding with the Loop and endloop. This is the code which
    is use to hide the column from ESS/MSS payslip overview.
    7) According to your requirements you should copy the same 4 lines code and hard code the particular column field name
    with the Implicit Enhancement.
    Below Code is for ur understanding:
      clear ls_field_usage.
       ls_field_usage-enabled = abap_false.
        ls_field_usage-visibility = cl_wd_uielement=>e_visible-none.
        modify ct_field_usage from ls_field_usage transporting enabled visibility
          where name eq 'Hardcode ur column field name'.
    All the best

    Hi,
    For making a page/iview invisible temporally without deleting from role, change page/iview property "Invisible in navigation areas" to "yes" then it will be hided in navigation areas.
    regards,
    Mahesh

  • Query to list tables with a particular column name in a schema!!

    Is there any way to know?
    Thanks in advance.

    You can query the data dictionary views to get this information.
    For example
    untested
    select table_name
    from user_tab_columns
    where column_name = 'my particular column name';There is also all_tab_columns and dba_tab_columns. Both of which would include the schema name.
    Edited by: Sven W. on Sep 9, 2011 2:24 PM

  • How to make a particular column bold in alv?

    Dear  Experts,
    I have searched many threads on this. I have used control break events to get the subotals and totals. The requirement is to make the text and the figure of subtotal and total bold.
    I am still not able to find the thread to make a particular column text in bold. And about colouring, I have used collect statement in my final structure so I am unable to use cellcolor type lvc_t_scol.
    Is there any way to make the subtotals and totals in bold? If not able, I may go for coloring.
    Regards
    Mani

    Hello mani,
    Try this:
    TYPES : BEGIN OF ty_outtab,
            celltab TYPE lvc_t_styl.
            INCLUDE STRUCTURE mara.
    TYPES   END   OF ty_outtab.
    DATA  : gt_outtab  TYPE TABLE OF ty_outtab WITH HEADER LINE,
                 gs_layout  TYPE lvc_s_layo,
                 ls_celltab TYPE lvc_s_styl,
                 lt_celltab TYPE lvc_t_styl.
    SELECT * FROM MARA INTO CORRESPONDIG FIELDS OF TABLE gt_outtab UP TO 20 ROWS.
    ls_celltab-style = '00000121'.
    INSERT ls_celltab INTO lt_celltab INDEX 1.
    READ TABLE gt_outtab INDEX 1.
    gt_outtab-celltab = lt_celltab.
    INSERT gt_outtab INDEX 1.
    gs_layout-stylefname = 'CELLTAB'.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
      EXPORTING
        i_structure_name = 'MARA'
        is_layout_lvc    = gs_layout
      TABLES
        t_outtab         = gt_outtab
      EXCEPTIONS
        program_error    = 1
        OTHERS           = 2.
    I hope you help.

Maybe you are looking for

  • Java Applets Running Games In IE 5.5 and Windows ME

    I've got problems running Java Applets on computer. I'm not sure who is to blame for the problem, IE or Windows ME. I find this problem when I go to any site mostly game sites and try to play a game through a java applet. I just get a box with a smal

  • Unable to export

    Hi, My client version is of Oracle 8.1.7 and the Server is of 8.1.6. However I'm unable to export the data in the server from my client. I have to go to the server to do it. Every time I try exporting a table frommy client machine,I encounter EXP-000

  • Terminal command to rename files in bulk with wild cards?

    I had a group of files that had double extensions in the name and I wanted to strip the second extension: myfile.r01.1 myfile.r02.1 so that the new names were myfile.r01 myfile.r02 In DOS this would be accomplished easily by using the command line: r

  • My ipod touch froze (white screen), it will not restart (by holding home screen button and lock screen) and it will not sync with itunes

    Whenever my ipod freezes i just restart it but this time nothing is working! I was using an app and it just froze (it was powercam, i was taking a picture) Im not sure what to do now

  • Level 6 Questions

    So I see that according to  https://discussions.apple.com/thread/2548447?start=0&tstart=0, when one reaches level 6, they et access to the lounge, and they get an Apple Support Community shirt. What are these things, and what does the tsgirt look lik