Excel sheet cell like JSF input component

Hi All,
I have a project requirement where I need to come up with a feature to allow commenting on a given input text field.
It is exactly like a feature in Excel sheets, where commenting feature is built-in, the only difference here it is expected to
be a JSF component.
Are there any existing JSF components supporting this.
Thank you,
Hussain

As far as I can see, in the first connection string the password seems to be hard-coded:
... ;Password=****;
The second one does not have that string. I suppose it's the native/embedded connection therefore. 

Similar Messages

  • Setting the excel sheet cell category

    Hi all,
    I have a program which downloads SAP data in excel sheet using OLE (Function modules cannot be used as its multiple tab download).
    I am facing an issue regarding the date fields.The cell category (data type) is choosen randomly so the date is displayed in wrong format.So  i need to set the category or the data type of the cell before populating the data in it.
    I have placed a part of my code below.
    CALL METHOD OF gw_sheet 'cells' = gw_cells
            EXPORTING
            #1 = g_row
            #2 = g_col.
          SET PROPERTY OF gw_cells 'value' = lw_table-data.
    Can somebody help me in setting the data type of the cell ( eg,Number,text,date,Currency etc)
    Ps :- Actually i need to set the data type as Text for all cells.
    Thanks in advance,
    Kiran

    Try like:
    CALL METHOD OF gw_sheet 'cells' = gw_cells
    EXPORTING
    #1 = g_row
    #2 = g_col.
    SET PROPERTY OF gw_cells 'NumberFormat' = '@'.   "For Text
    To get the Property in excel you can take a help of Macro.
    Follow this steps:
    1. Create a new workbook
    2. Tools > Macro > Record a new macro
    3. Now, perform your actions i.e. Set the cell format to Text
    4. Stop the Macro Tools > Macro > Stop Recording
    5. Now Edit Macro to see which property it has accessed.
    Tools > Macro > Run (Alt + F8)
    Select Your macro and Edit
    Here you will see which property you have to set to make it Text.
    Regards,
    Naimesh Patel

  • HOW TO EXCEL SHEET CELL BLINKING ?

    Dear All,
    Please i want to make prominent my excel cell by blinking please how can i do this ? 
    MS USER

    Hi,
    Your required cloud be done via some VBA code, please see the sample with the link:
    http://msdn.microsoft.com/en-us/library/office/ff193220(v=office.15).aspx
    If you have further question about the coding/programing, please post the question to MSDN forum:
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=exceldev&filter=alltypes&sort=lastpostdesc
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    George Zhao
    TechNet Community Support

  • Can we embed Excel sheet in another excel cell through ABAP

    Hi Gurus,
    Is it possible to embed .doc or .txt or .xls file in fixed(reference cell eg: E30) excel sheet cell using abap ?
    Thanks in advance.
    Regards,
    Prasad

    Hi Venkat,
    See this coding.
        CONCATENATE 'put UEMPORDE0' '
    ' sy-host '\Order\salesord_t_e'
                   INTO gv_name3.
      CALL FUNCTION 'FTP_COMMAND'
        EXPORTING
          handle        = lv_hdl
          command       = gv_name3
          compress      = lv_compress
        TABLES
          data          = lt_result
        EXCEPTIONS
          tcpip_error   = 1
          command_error = 2
          data_error    = 3
          OTHERS        = 4.
    Rajesh

  • Need to protect Excel sheet

    Hi All,
    I am using Labview 7.0 and have successfully transported my data in to excel file. Further my requirement is to protect the excel sheet cell. I found many examples and codes for protecting sheet but my question is Can i make the excel sheet's cell write protected?? If yes than how ??
     Also i came to know through those examples that using invoke node for Activex controls and selecting class as Excel._ worksheet, where i can set the method as Protect. To this invoke node i need to connect reference but don't know how to create reference for the new excel report??
    If any one has idea abt that, then please.... guid me through vi's or snapshots.
    Thanks & Regards,
    Ratna

    Hi vt92,
    Thanks for ur reply, i woluld suggest u to have a look at excel report.png image as this may clear my requirement. In that vi i have transffered my data into excel sheet (area marked with red colour box) after that i m bringing that worksheet to front n then saving the report. Now my requirement is to make that worksheet password protected before saving it.
    Actually, I have gone through my discussion forums n found that to make worksheet password protected, need to use invoke node with class as Activex Excel._Worksheet n in that select method as protect but my confusion is wat input shuld i gave to that invoke node??? 
    Regards,
    Ratna
    Attachments:
    excel report.PNG ‏70 KB

  • Colors in Excel Sheet

    I am using the type pools OLE2 to put colors in the Excel sheet.
    What is the property to fill color in the Excel sheet cell.
    Also I need to merge cells in the excel sheet.
    Can some one send me some sample code if you have?
    Please help.Its urgent.

    hi rowal,
    Hi Ashutosh...Use the below code i think it will be helpful
    This program demonstrates how to send abap data to excel sheet
    using OLE automation
    include ole2incl.
    *handles for OLE object
    data: h_excel type ole2_object, " Excel object
    h_mapl type ole2_object, " list of workbooks
    h_map type ole2_object, " workbook
    h_zl type ole2_object, " cell
    h_f type ole2_object. " font
    data: h type i.
    types: begin of t_bkpf,
    bukrs type bkpf-bukrs,
    belnr type bkpf-belnr,
    gjahr type bkpf-gjahr,
    blart type bkpf-blart,
    budat type bkpf-budat,
    end of t_bkpf.
    data: it_bkpf type standard table of t_bkpf,
    wa_bkpf type t_bkpf.
    ********start-of-selection*******************
    start-of-selection.
    select bukrs
    belnr
    gjahr
    blart
    budat into table it_bkpf
    from bkpf
    up to 10 rows.
    call function 'SAPGUI_PROGRESS_INDICATOR'
    exporting
    PERCENTAGE = 0
    text = text-001
    exceptions
    others = 1.
    Start excel
    create object h_excel 'EXCEL.APPLICATION'.
    perform err_hdl.
    set property of h_excel 'Visible' = 1.
    perform err_hdl.
    call function 'SAPGUI_PROGRESS_INDICATOR'
    exporting
    PERCENTAGE = 0
    text = text-002
    exceptions
    others = 1.
    call method of h_excel 'workbooks' = h_mapl.
    perform err_hdl.
    Add a new workbook
    call method of h_mapl 'Add' = h_map.
    perform err_hdl.
    call function 'SAPGUI_PROGRESS_INDICATOR'
    exporting
    PERCENTAGE = 0
    text = text-003
    exceptions
    others = 1.
    Output Column Headings to active excel sheet
    perform fill_cell using 1 1 1 text-004.
    perform fill_cell using 1 2 1 text-005.
    perform fill_cell using 1 3 1 text-006.
    perform fill_cell using 1 4 1 text-007.
    perform fill_cell using 1 5 1 text-008.
    Copy internal table to excel sheet
    loop at it_bkpf into wa_bkpf.
    h = sy-tabix + 1.
    perform fill_cell1 using h 1 0 wa_bkpf-bukrs.
    perform fill_cell2 using h 2 0 wa_bkpf-belnr.
    perform fill_cell1 using h 3 0 wa_bkpf-gjahr.
    perform fill_cell1 using h 4 0 wa_bkpf-blart.
    perform fill_cell1 using h 5 0 wa_bkpf-budat.
    endloop.
    disconnect from Excel
    free object h_excel.
    perform err_hdl.
    *& Form err_hdl
    text
    --> p1 text
    <-- p2 text
    form err_hdl .
    if sy-subrc <> 0.
    write: / 'Error in OLE Automation'.
    stop.
    endif.
    endform. " err_hdl
    *& Form fill_cell
    text
    -->P_1 text
    -->P_1 text
    -->P_1 text
    -->P_TEXT_004 text
    form fill_cell using i j bold val.
    call method of h_excel 'Cells' = h_zl exporting #1 = i #2 = j.
    perform err_hdl.
    set property of h_zl 'Value' = val .
    perform err_hdl.
    get property of h_zl 'Font' = h_f.
    perform err_hdl.
    set property of h_f 'Bold' = bold .
    perform err_hdl.
    set property of h_f 'colorindex' = 10.
    endform. " fill_cell
    *& Form fill_cell1
    text
    -->P_H text
    -->P_1 text
    -->P_0 text
    -->P_WA_BKPF_BUKRS text
    form fill_cell1 using i j bold val.
    call method of h_excel 'Cells' = h_zl exporting #1 = i #2 = j.
    perform err_hdl.
    set property of h_zl 'Value' = val .
    perform err_hdl.
    get property of h_zl 'Font' = h_f.
    perform err_hdl.
    set property of h_f 'Bold' = bold .
    perform err_hdl.
    endform. " fill_cell1
    *& Form fill_cell2
    text
    -->P_H text
    -->P_2 text
    -->P_0 text
    -->P_WA_BKPF_BELNR text
    form fill_cell2 using i j bold val.
    call method of h_excel 'Cells' = h_zl exporting #1 = i #2 = j.
    perform err_hdl.
    set property of h_zl 'Value' = val .
    perform err_hdl.
    get property of h_zl 'Font' = h_f.
    perform err_hdl.
    set property of h_f 'Bold' = bold .
    perform err_hdl.
    set property of h_f 'colorindex' = 13.
    endform. " fill_cell2
    hope the code will help you to solve the problem,
    reward points if usefull,
    Thanks ,
    kalyan.

  • Re:colors in Excel sheet (first row should be completely filled with yellow

    I am using the type pools OLE2 to put colors in the Excel sheet.
    What is the property to fill color in the Excel sheet cell.
    i got the text in colors but not the background...
    for example:
    i need the first row ie..the heading to be in yellow.
    Can some one send me some sample code .plz its urgent..........

    Hi,
    Check to see the following code:
     Sub Find_match()
        Dim Range1 As Range
        Dim Range2 As Range
        Set Range1 = Application.InputBox("Select the range on the first sheet to Compare", Type:=8)
        Set Range2 = Application.InputBox("Select the range on the second sheet to Compare", Type:=8)
    Dim range_row1 As Integer
    Dim range_row2 As Integer
    Dim loop_row1 As Integer
    Dim loop_row2 As Integer
    Dim find_value As String
    range_row1 = Range1.Rows.Count
    range_row2 = Range2.Rows.Count
    For loop_row1 = 1 To range_row1
        find_value = Range1.Cells(loop_row1, 1)
        For loop_row2 = 1 To range_row2
            If Range2.Cells(loop_row2, 1) = find_value Then
                If Range1.Cells(loop_row1, 2) = Range2.Cells(loop_row2, 2) Then
                    Range1.Rows(loop_row1).Interior.Color = vbYellow
                End If
            End If
        Next
    Next
    End Sub
    When the macro run, it will prompt to select the range in both sheet, the range is where the cells contain the data, it contains two columns.
    Jaynet Zhang
    TechNet Community Support
    Jaynet,
    Thank you so much. This is exactly how I wanted it to work. The only thing I wanted to know which I will try and figure out while I await your answer is if I can make this work between workbooks instead of worksheets? Currently, it does not allow me to switch
    workbooks when running the macro to select the second range. Thank you.

  • How to wrap JTable cell like EXCEL sheet??

    Hi All,
    I am using JTable and i want to wrap cell of that table like excel sheet whtn text length is more .
    i m using jdk 1.4.2 & jre 1.4
    can any body help me on that??
    == gavin

    Search this forum on "wrap text in table cell" I got a ton of hits.
    Cheers
    DB

  • How to get the Last cell in HSSFCell (Excel sheet)

    Hello
    I am trying to convert an excel sheet to a tab limited file.
    I am using HSSF and unable to track how do i know if the cell encountered is a last filled cell in excel sheet
    Some of the cells in the sheet can be blank. In that case i am just using inputting a '\t' for that cell and read the next one. But coz of this when i get the last cell, a tab is included for that too.
    Can someone let me know how can i rectify this?
    it seems like HSSFCell does not have any methos like lastCell or so
    Thanx

    then use getLastCellNum() in org.apache.poi.hssf.usermodel.HSSFRow

  • Colored Cells in Excel sheet

    hi
    we have a excel sheet with values which we created based on a tutorial spreadsheet. We tried the exactly the same steps provided in the PDF but it did not work. however when we used the original file we got the same output that was shown in the PDF screenshot. Here is what we tried.
    we created a spreadsheet similar to the one given below
    City     JAN     FEB     MAR     APR     MAY     JUN     JUL     AUG     SEP     OCT     NOV     DEC     Low     High
    ABILENE, TX     44     49     56     65     73     80     84     83     76     66     54     45     44     84
    AMARILLO, TX     36     41     48     56     65     74     78     76     69     58     45     37     36     78
    AUSTIN/BERGSTROM, TX     48     53     60     67     75     80     83     82     78     69     58     50     48     83
    In the canvas we placed a spreadsheet table control which contained the city names , a line chart and 2 gauges for HIGH and LOW values.
    Now the problem we faced was when we click on the city name in the table control nothing changed in the chart even though it was mapped to the correct cells.
    In the original file that came with the PDF there were YELLOW and RED blank cells to which it asked to map but those cells didnot contain any hidden data also. We would like to know is there any significance of those colored cells. whenever we download some sample excel file from the internet for a dashboard creation it has some colored cells, we would like to know does those cells contain any hidden info to make the dashboard work.
    Thanks
    GURU

    Most of the times, colored cells are used by the dashboard's designer to represent cells that are used at run time as origin/destination cells. This means that although at design time they are empty (they indeed are - there is no "hidden" data there), they contain data when the dashboard is executed.
    Some suggestions:
    - Check the component's properties to see which cells it uses.
    - Also, when in Preview, go to File -> Snapshot -> Current Excel Data to see what the Excel file actually looks like at run time. There you should see data in the colored cells.
    HTH,
    JK

  • Excel sheet has modified data cells error - do you want to submit

    Using smartview in office 2007 I often get trapped in a loop where each time I modify any data on the excel sheet I get the error "Excel sheet has modified data cells. Do you want to submit the modified data cells before proceeding?". Regardless if I choose yes or no I basically have to start a new instance of excel to clear the error.
    For the most part I never use member select rather just type the members I want freehand in the excel workbook. Seems like the error arises after I insert or delete a row or column and then try to update the page.
    If I "reset" the connection it seems to help but not all the time.

    This may be the same issue as you are experiencing "When Trying to Copy Cells Between Excel Tabs Get Message "Excel Sheet has modified data cells do you want to submit the modified data?" [ID 1301092.1]"
    The document is on "My Oracle Support"
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Gettin Entire cell in MS-Excel Sheet?

    Hi Friends,
    I'm trying to get the data from MS-Excel and then try to persists in the data base...
    here my code goes like this:
    try {
                   Long OID;
                   String Pricing_Type;
                   Float Min_Spend = null;
                   Float Max_Spend = null;
                   String Pricing_Access_Type = null;
                   int Pricing_Term_Commitment = 0;
                   String State;
                   String Jurisdiction = null;
                   Float Pricing_Min;
                   Float Pricing_Max;
                   POIFSFileSystem pofilesystem=new POIFSFileSystem(new FileInputStream("D:\\abbrivations\\Enterprise Connections Pricing.xls"));
                   HSSFWorkbook hbook=new HSSFWorkbook(pofilesystem);
                   HSSFSheet hsheet=hbook.getSheetAt(0);
    String Judisdiction;
                   Judisdiction=hbook.getSheetName(0);
                   System.out.println("NAME:::::::::"+hbook.getSheetName(0));
                   Iterator rows = hsheet.rowIterator();
                                  while( rows.hasNext() ) {
                                       HSSFRow row = (HSSFRow) rows.next();
                                  System.out.println("Row number"+row.getRowNum());
                                       Iterator cells = row.cellIterator();
                                            do {
                                            HSSFCell cell = (HSSFCell) cells.next();
                                  // HSSFCellStyle style=cell.getCellStyle();
                                  // int index=style.getFontIndex();
                                            Pricing_Type="VCM Pricing";
                                            int count=0;
                                       switch ( cell.getCellType() ) {
                                                 case HSSFCell.CELL_TYPE_STRING:
                                                 String stringcell=cell.getStringCellValue ();//+" ";
    System.out.print( cell.getStringCellValue () +" ");
                                                      break;
                                                 case HSSFCell.CELL_TYPE_FORMULA:
                                                           String stringdate=cell.getCellFormula();
                                                      System.out.print( cell.getCellFormula()+" " );
                                                           break;
                                                 case HSSFCell.CELL_TYPE_NUMERIC:
                                                 String string=String.valueOf(cell.getNumericCellValue());
                                                 System.out.print( cell.getNumericCellValue() +" ");
                                                      break;
                                                 case HSSFCell.CELL_TYPE_ERROR:
                                                 //String string=String.valueOf(cell.getNumericCellValue())+" ";
                                                 System.out.print( "+++++++++"+cell.getErrorCellValue() );
                                                      break;
                                                 case HSSFCell.CELL_TYPE_BOOLEAN:
                                                 String stringencoding=String.valueOf(cell.getBooleanCellValue());
                                                 System.out.print( "Error in Boolean"+cell.getBooleanCellValue());
                                                      break;
                                       }                                   while( cells.hasNext() );
              } catch (IOException ioe) {
                   System.err.println(ioe.getMessage());
    Actually My MS-Excel sheet having the data as
    Title
    Tiers | Swiched | Dedicated
    |1 Year | 2 Year | 3 Year | 1 Year | 2 Year | 3Year
    Here the Tiers wil consists of the data as $1000-$9000......
    my job is to select the $1000 as minmum and $9000 as Maxmimum.......type of the system...like Swiched or Dedicated......term condition like 1 year or 2 year.....
    and then persiste in data base....wht my code is doing is...trying to get each row in the sheet and then try to get each column...instead can i do it any other form.....or is there any method of getting the entire column elements at a time....
    wating for reply...needed importantly......
    thanq friend
    [email protected]

    I would go to Open Office and its SDK and use it to work with Excel cells and many other document formats.
    www.openoffice.org

  • How to add number to excel sheet work book cell?

    I am trying to create an excel sheet dynamically. I am able to create and populate the data as well.
    But in one of the cell I have to add 1.0 value. Since I have added this as a new Label(...), after opening the excel sheet I can see an icon in the cell with message as "Number in this cell is formed as a text".
    SO I have changed Label to Number while adding to cell.
    I am using the format as "#.#". Othen than 1.0 everything I can see in the cell as x.y format. Like 1.2, 5.7 etc...
    But for 1.0 I can see as "1." only.
    Is there any way to write 1.0 to cell as a number.
    I am using jxl.jar for excel.

    I have jxl supported api.
    It supports formating the numbers.
    It has NumberFormat class to support formating.
    NumberFormat format = new Numberformat("#.#");
    WritableCellFormat cellFormat = new WritableCellFormat(format);
    excelSheet.addCell(new Number(1, 0, 1.0, cellFormat);
    Api for Number : Number(int column, int row, double value, Cellformat ft);
    If I add other than 1.0, data is displayed properly in the sheet.
    1.2, 4.5, 3.567 --> 3.6 etc...

  • How can i take an excel sheet input into my report

    Hi
    I am having one report.In this the program should take an excel file as input.How can I implement logic for this.
    Ex:  It will take external customer number u201CABCu201D  as input from excel sheet and give as output as SAP customer number u201C1000000"
    Please let me know.

    hi use GUI_UPLOAD with filename frm parameters
    DATA:
        lv_tabix LIKE sy-tabix,
        lv_filet TYPE string.
    *    LV_FILET LIKE rlgrap-filename.
      lv_filet = p_file.
    * Upload data file into internal table
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                = lv_filet
          filetype                = 'ASC'
          has_field_separator     = 'X'
          read_by_line            = 'X'
          dat_mode                = ' '
        TABLES
          data_tab                = gi_upload
        EXCEPTIONS
          file_open_error         = 1
          file_read_error         = 2
          no_batch                = 3
          gui_refuse_filetransfer = 4
          invalid_type            = 5
          no_authority            = 6
          unknown_error           = 7
          bad_data_format         = 8
          header_not_allowed      = 9
          separator_not_allowed   = 10
          header_too_long         = 11
          unknown_dp_error        = 12
          access_denied           = 13
          dp_out_of_memory        = 14
          disk_full               = 15
          dp_timeout              = 16
          OTHERS                  = 17.
      IF sy-subrc <> 0.
    * Data in P_FILE could not be uploaded.
        MESSAGE i010 WITH p_file.
        LEAVE LIST-PROCESSING.
      ENDIF.

  • Excel sheet values as Inputs

    Hi all,
    I am very very new to Java and especially Swings. I am trying to develop a GUI application which takes inputs from the values present in an Excel sheet column and populate it in a ListBox. I want my application to function something like the 'Filter' option in the MS Excel.
    For e.g.
    The Excel sheet columns should be like the foll;
    Designation Name
    Manager John
    Officer Smith
    Clerk Dude
    Manager Smithson
    Clerk Johnson
    Staff Mark
    All the end user should do is to enter the path of the excel sheet and the 2 ListBoxes on the GUI should get populated with the data in the respective
    columns, shown above. If I select "Manager" in my first ListBox automatically in the second ListBox, the values "John" and "Smithson" should get populated. Can this be done in Swings using Java?
    If I have posted the question in the wrong forum, please guide me to the right location to post this.
    Thanks in advance,

    NewToNetNeans wrote:
    Well, to open and read any type of file should i go through the I/O streams of Java? Well, you can open any type of file in Java, but that's a far thing from being able to understand the contents of the file. That's where other tools come in.
    But how to populate this in a comboBox or ListBox?Don't think of it as directly tying some arbitrary format input file to a ListBox. Think about two steps:
    1) Reading a file and getting some kind of data structure (or, better yet, object set) that exposes the data and the characteristics of the data and if possible the business logic that uses the data.
    2) Writing a GUI that uses that data or object set.
    Any given program can do neither, one, or both of those steps.

Maybe you are looking for

  • Error while installing crypto in Linux

    Hi everyone, I've literally checked all posts in google and this forum is my very last resort. I've downloaded the end-user software for Linux from the following site: http://www.cryptocard.com/products/crypto%2Dmas/end%2Dusersoftware/ When I try to

  • Stock upload - Goods receipt date, FIFO

    We are doing our initial stock upload using LSMW based on goods movements. When posting a goods movement the posting date will be used for FIFO considerations. That's fine when your system is operative, but during the initial stock upload the posting

  • How to create inspection lot manually without using QA01 Transaction code?

    Hi, Please anybody give procedure for creating Inspection Lot Manually without using Transaction Code QA01

  • BO Edge Free Trial - Where do i go from here ?

    dear all, i am an SAP ABAPer for years. I would like to get into BO. I have downloaded and installed, successfully the free BO Edge Trial. Now i sit in front of my laptop looking at it, wondering what to read, to get me started. i prefer hands on exe

  • How to use iTunes installed in PC as video converter

    I just got new ipad & understood that video format other than .mov & .mp4 will not play in Ipads.  Somewhere I read that the iTunes software installed in my windows PC can do the conversion job  from avi to mp4  format, so that after that  it can be