Adding inputhelp to a particular column in tableview

Hi experts,
  I need to display a particlular column by providing inputhelp in tableview.My requirement is to save the data entered in the tableview to the database. but in particlular coulmn v should select data from the inpuhelp.please help me out.Please anybody help me how should i make particular column as inputhelp in tableview. This is urgent requirement.
Thanks in advance.
Regards,
sireesha

Hi,
Can anybody tell me whats wrong with the following script.and also can see the layout here.
<script language="JavaScript" type="text/javascript">
          function pass_data()
               if (top.window.dialogArguments) {
               if ( document.form1.row_sel.value )
top.dialogArguments.document.form1.tab01_6_2.value=document.form1.row_sel.value;
               top.close();
<htmlb:content design="design2003" >
  <htmlb:page title=" " >
    <htmlb:form id="form1" >
      <htmlb:tableView id              = "tab01"
                       table           = "<%= flights %>"
                       visibleRowCount = "14"
                       width           = "100%"
                       design          = "ALTERNATING"
                       footerVisible   = "TRUE"
                       onRowSelection  = "my_event"
                       selectionMode   = "SINGLESELECT" >
      </htmlb:tableView>
      <htmlb:inputField id      = "row_sel"
                        value   = "<%= rowselected %>"
                        visible = "false" />
In this script am getting the following error:
<b>top.dialogArguments.document.form1.tab01_6_2.value is null or not an object.</b>
In the OnInputProcessing the event is getting triggered when i click on the row in tableview. And that selected value is also assigned to the inputfield.But in the layout am getting the above error.Can anybody pls help me out.I dont know the javascript.
How should i pass this selected value to the inputfield in the parent window.
Pls help me out.
Thanks in advance
Regards
sireesha
In the OnInputProcessing

Similar Messages

  • Set filter for only one column in tableview

    Hi
    i am using in MVC a htmlb:tableview with filter in only one column of 8.
    This is all working fine, except that the user can enter a searchsting in the filterfield for all columns, but in handle_event (of the controller) ; i only react to a text in the filterfield of column 4 and ignore all other filtertext , which were maybe entered in the other columns.
    My question:
    how can i  enter the filter only for one column, in a way that the user cannot enter any text in the filterfield of the other columns, only in column 4 ?
    my view:
    <htmlb:tableView id             = "requirements"
                     table          = "//model/pdst_reqs"
                     filter         = "APPLICATION"                
                     keyColumn       = "EXTID"
                     iterator        = "<%=model%>"
                     footerVisible   = "FALSE"
                     encode          = "TRUE"
                     visibleRowCount = "<%=model->rowcount%>"
                     width           = "100%"/>
    Best Regards
    Britta

    You can disbale the Filter for the particular column by setting the DISABLE_FILTER in the Iterator method IF_HTMLB_TABLEVIEW_ITERATOR~GET_COLUMN_DEFINITIONS. Here is the sample code
    method IF_HTMLB_TABLEVIEW_ITERATOR~GET_COLUMN_DEFINITIONS .
      CLEAR p_column_definitions.
      CLEAR p_overwrites.
      data tv_column TYPE TABLEVIEWCONTROL.
      tv_column-COLUMNNAME          = 'FLDATE'.
      tv_column-SORT                = 'X'.
      tv_column-EDIT                = 'X'.
      tv_column-ONCELLCLICK         = 'MyCellClick1'.
      tv_column-title               = 'Date '.
      APPEND tv_column TO p_column_definitions.
      CLEAR tv_column.
      tv_column-COLUMNNAME          = 'PRICE'.
      tv_column-horizontalAlignment = 'right'.
      tv_column-verticalAlignment   = 'middle'.
      tv_column-ONCELLCLICK         = 'MyCellClick2'.
      tv_column-title               = 'Currency'. 
      tv_column-EDIT                = 'X'.
      tv_column-DISABLE_FILTER      = 'X'.    " <-------Like this
      APPEND tv_column TO p_column_definitions.
    endmethod.
    Hope this will solve your problem.
    Raja

  • Color a column based on value in another column in tableview

    I am using a tableview iterator to display data in a bsp page. I want to color a cell in particular column (column 4), when a value in another column (column 2) on that same row is greater than 20. I can color the cell in column 2 but am not able to color the cell in column 4. How can I accomplish this?
    This is what I have. Looks like val1 is losing it's value.
    CASE p_column_index.
        WHEN 2.
          ASSIGN p_row_data_ref->* TO <row>.
          ASSIGN COMPONENT 'ZTGT' OF STRUCTURE <row> TO <col>.
          VAL = <col>.
          IF VAL GT '20'.
            val1 = p_row_index.
            p_style = 'celldesign:CRITICALVALUE_DARK'.
          ENDIF.
        WHEN 4.
            if p_row_index = val1.
              p_style = 'celldesign:CRITICALVALUE_DARK'.
            endif.
        WHEN OTHERS.
    do nothing
      ENDCASE.

    The reason val1 is "loosing its' value" is presumably because you have defined it in the method as a local variable. So each time you call the RENDER_CELL_START method it is is newly initialised. So if you make this an instance attribute it will retain its' contents across method calls.
    Cheers
    Graham Robbo

  • While creating the parameter it doesnot pull all the data of that particular column

    Post Author: pvds
    CA Forum: Data Connectivity and SQL
    Hi everyone.
    i am using a sql query with a join condition to pull data in to crystal reports. I got that data which i want in to the report. but when i was trying to create a parameter with a dropdown of all the database values to a particular column it is not showing all the data from the report.
    for example  i have a column called state
    the column has many states displayed in the report but when i select that column and select browse data it shows only 1 state. with this i am anable to create a parameter with a dropdown list of all the state. i can see different states in the report but y i am not able to see when i browse the data or create a parameter? can any one answer me?
    i already created another report with a query on same table but i never faced this problem before.

    Post Author: V361
    CA Forum: Data Connectivity and SQL
    There is a limit to the number of Parameters that will show in a drop down... You can increase using the following.
    Check this KBase article on how to increase the number.
    http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=c2017238&sliceId=&dialogID=19032644&stateId=1%200%2019034607

  • Hotspot click for only some rows in ALV grid for a particular column ?

    Hi there,
            In ALV grid, we can make Hotspot enable for all rows in a specified column
    by specifying in the fieldcatalog with Hotspot attribute set as true.
    But I want to enable Hotspot only for certain rows in the particular column. I tried with MC_STYLE4_LINK , but I didnt got the required result.
    So , how could I achieve that in ALV grid.
    Points would be rewarded for helpful answers.
    Regards,
    Anil .

    Hi,
    You can do it for a column. Please refer to the code snippet below,
      DATA : it_fcat TYPE lvc_t_fcat,
             wa_fcat LIKE LINE OF it_fcat.
    CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
       EXPORTING
      I_BUFFER_ACTIVE              =
         i_structure_name             = 'SMMW_ALERTS_ICON_S'
      I_CLIENT_NEVER_DISPLAY       = 'X'
      I_BYPASSING_BUFFER           =
      I_INTERNAL_TABNAME           =
        CHANGING
          ct_fieldcat                  = it_fcat
       EXCEPTIONS
         inconsistent_interface       = 1
         program_error                = 2
         OTHERS                       = 3
    LOOP AT it_fcat INTO wa_fcat.
      IF wa_fcat-fieldname = 'STATUS'.
        wa_fcat-hotspot = 'X'.
        MODIFY it_fcat FROM wa_fcat.
        CLEAR wa_fcat.
      ENDIF.
    ENDLOOP.
    CALL METHOD l_obj_alv_grid->set_table_for_first_display
          EXPORTING
        i_structure_name              = 'SMMW_ALERTS_ICON_S'
       CHANGING
            it_outtab                     = lt_alerts_st
            it_fieldcatalog               = it_fcat.
    In the above replace the structure 'SMMW_ALERTS_ICON_S' with your structure and column 'STATUS' with your desired column.
    Hope this helps,
    Regards,
    Vinodh

  • Query throws an error while drilldowning a particular column in production

    Hello Gurus,
    There is an issue in a query when I run it on portal and when I try to drill down one particular column, it throws an error. I am pasting the error message below for your reference. This query works fine when I run in Bex. It also works fine when I run it on Quality portal. It only throws an error when I run it on production portal. I have got the patches and PI checked with BASIS team, everything seems to be fine.
    Please help me out with this issue.
    Termination message sent
    ABEND RSBOLAP (000): Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
      MSGV1: SAPMSSY1
      MSGV3: UNCAUGHT_EXCEPTION
    com.sap.ip.bi.base.application.exceptions
    ABEND: Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
    ABEND: System error in program SAPLRRK0 and form LRECH_01-01- (see long text)
    Regards,

    Hi,
    There are a couple of threads on the same issue.
    Refer to these, just might be handy.
    Re: Uncaught_exception in Report Designer
    Program error in class SAPMSSY1 method  : UNCAUGHT_EXCEPTION in Report
    Good Luck!
    Sandeep Tudumu

  • How to create event alert for particular column get updated

    Hi every one.... plz help me
    How to create oracle event alert when particular column is update. plz help me.... Acutually i need email alert when ever list price for an item column in pricing table get updated+... plz. Its urgent.

    Oracle Event alert is based on update of specific table and not on specific column in table.
    However you can create a trgigger on table which is based on updat of column. And in this trigger you can send a mail using plsql.
    HTH

  • How to get details of a particular column in database.

    Hi dear friends,
    I am getting error while i try to get index information on a particular column.
    here is the code.. why it gives me error
    import java.sql.*;
    import java.util.StringTokenizer;
    public class TestIndex {
      final static String jdbcURL = "jdbc:timesten:client:CATSREPLICATION";
      final static String jdbcDriver = "com.timesten.jdbc.TimesTenClientDriver";
      final static String scheme = "CATSPROD";
      public static void main(java.lang.String[] args) {
        System.out.println("--- Database Viewer ---");
        try {
          Class.forName(jdbcDriver);
          Connection con = DriverManager.getConnection(jdbcURL, "", "");
          DatabaseMetaData dbmd = con.getMetaData();
          System.out.println("Driver Name: " + dbmd.getDriverName());
          System.out.println("Database Product: " + dbmd.getDatabaseProductName());
            // Get a list of all the indexes for this table
          // this MYSCHEME.TABLENAME has a composite unique key on 2 columns of it.
           * create table MYSCHEME.TABLENAME (id integer not null, name varchar(25) not null);
           * create unique key on MYSCHEME.TABLENAME(id,name);
            ResultSet indexList = dbmd.getIndexInfo(null,null,"MYSCHEME.TABLENAME",true,false);
            ResultSet columns = null;
            indexList.next();
            while(indexList.next()) {
              System.out.println(" Index Name: "+indexList.getString("INDEX_NAME"));
              String column = indexList.getString("COLUMN_NAME");
              System.out.println(" Column Name:"+column);
              columns =  dbmd.getColumns(null,"MYSCHEME","TABLENAME",column);
              System.out.println("---------------------------");
              System.out.println(columns.getString("IS_NULLABLE"));
              System.out.println("---------------------------");
            indexList.close();
          con.close();
        catch (ClassNotFoundException e) {
          System.out.println("Unable to load database driver class");
        catch (SQLException e) {
          System.out.println("SQL Exception: " + e.getMessage());
    it give error
    SQL Exception: Invalid cursor state
    why?
    thanks a lot
    Veena
    [ November 10, 2005: Message edited by: Veena Gupta ]

    indexList.next();
    while(indexList.next()) {You will be missing the first record due to this.
    columns =
    dbmd.getColumns(null,"MYSCHEME","TABLENAME",column);
    System.out.println("---------------------------");
    System.out.println(columns.getString("IS_NULLABLE"));You need to call columns.next() before using the getString(). If next() is not called, the cursor of the ResultSet is positioned before the first record and an attempting to read a record before positioning the cursor to the first record would result in an exception due to invalid cursor state.

  • 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

  • How to implement tooltip for the list items for the particular column in sharepoint 2013

    Hi,
    I had created a list, How to implement tooltip for the list items for the particular column in SharePoint 2013.
    Any help will be appreciated

    We can use JavaScript or JQuery to show the tooltips. Refer to the following similar thread.
    http://social.technet.microsoft.com/forums/en/sharepointdevelopmentprevious/thread/1dac3ae0-c9ce-419d-b6dd-08dd48284324
    http://stackoverflow.com/questions/3366515/small-description-window-on-mouse-hover-on-hyperlink
    http://spjsblog.com/2012/02/12/list-view-preview-item-on-hover-sharepoint-2010/

  • 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к

  • Read from csv file and plot particular columns

    Hello,
    I`m a new user of Labview and here it comes...my first major problem.
    Maybe this has been discussed before. I’ve made a search to solve my problem first but I couldn`t find anything helpful so I `ve decided to post a new message.
    So here is my problem:
    I`m working in a small semiconductor lab where different types of nitrides are grown using proprietary reactor. The goal is to read the collected csv files from each growth in Labview and plot the acquired data in appropriate graphs.
    I have a bunch of csv files and I have to make a Labview program to read them.
    The first part of my project I`ve decided to be displaying the csv file (growth log file) under labview (which I think works fine).
    The second one is to be able to plot particular columns from the recipe in graphs in Labview (that one actually gives me a lot of trouble):
    1. Timestamp vs Temperature /columns B and D/
    2. Timestamp vs Gas flow /columns L to S/
    3. Timestamp vs Pressure /columns E,K,T,U,V/
    I`ve got one more problem. How can I convert the Timestamp shown in csv file to human readable date in labview? This actually is a big problem, because the timestamp is my x axis and I want to know at what time a particular process took place and I also want to be able to see the converted timestamp when displaying csv file at first. I`ve read a lot about time stamping in excel and timestamp in labview but I`m still confused how to convert it in my case.
    I don`t have problems displaying csv file under Labview. My problems are with the timestamp and the graphs.
    Sorry for my awful English.  I hope you can understand my problems since English is not my mother language. 
    Please find the attached files.
    If you have any ideas or suggestions I`ll be more than happy to discuss them.
    Thank you in advance.
    Have a nice day! 
    Attachments:
    growth log.csv ‏298 KB
    Read from growth log.vi ‏33 KB

    Hello again,
    I`m having problems with converting the first column in the attached above file Growth Log.csv.
    I have a code converting xl timestamp to time and using Index Array traying to grab a particular column out of it but the attached file is written in strings so I guess I have to redo it in array but I don`t know how.Would you help me with this one?
    Attachments:
    Xl Timestamp to Time.vi ‏21 KB

  • When i changed the names of my books in iTunes, it did not changed in the iPad after i had synced it again with the changes. can anyone help? i had added authors to the author column and deleted their names from the book titles.

    i had added books to iBooks on iTunes and synced with my iPad mini. Then I realised that the titles sometimes had the author name, or a random number before it. I made changes to all the books in my iTunes library, edited the titles, added authors to the author columns, year in year column etc and synced my iPad again. but my iPad did not update these changes at all is still in the old way. can this be rectified?

    Have you tried closing the iTunes store app via the multitasking bar and seeing if it works when you re-open it
    Have you tried closing the app via the taskbar ? (I assume that your iPad is on iOS 6, though the version that your tagline shows, 6.1.6, is not a version for iPads) From the home screen (i.e. not with iTunes store app 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the iTunes app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    If that doesn't fix it then you could try a soft-reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • 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

  • To retrieve the mapping expression of a particular column of an Interface

    How to retrieve the mapping expression corresponding to a particular column(say BATCH_ID) in the target table of the interface in IKM...?
    Using getColList() method all the mappings in the interface are retrieved.
    Is there a way to get the mapping for a single column using an API in IKM...?
    Thanks,
    Soumya

    Hi Soumya,
    You can define a User Defined Flag on your target and use it to get your column.
    For example, select the UD1 checkbox for BATCH_ID.
    If your KM task, pass an additional parameter (pSelector) to getColList : "UD1"
    http://docs.oracle.com/cd/E14571_01/integrate.1111/e12645/odiref_reference.htm#CIADFCFJ
    Hope it helps.
    Regards,
    JeromeFr
    [Edit] DecaXD was faster ;)

Maybe you are looking for