Creating Editable Grid Data

I have to create a grid like form which has editable fields including text box, selects and text areas, and plain text all in each row.
e.g. of data
ROW 1
COL1     COL2          COL3          COL4          COL5
text     select box     textbox          textbox          text
ROW 2
COL1
textarea
ROW 3
COL1     COL2          COL3          COL4          COL5
text     select box     textbox          textbox          text
ROW 4
COL1
textarea
I tried to use the netui-data:repeater tag(given below) on a two dimentional array but that works only when you have just text in each column.
It does not work when you have editable fields in any row or column.
<netui-data:repeater dataSource="{pageFlow.multiArray}">
<tr>
<netui-data:repeater dataSource="{container.item}">
     <td><netui:label value="{container.item}" /></td>
</netui-data:repeater>
</tr>
</netui-data:repeater>
Example data to be displayed is given below
recordSetArray[0][0] =      text     - ROW 1
recordSetArray[0][1] =      text     - ROW 1
recordSetArray[0][2] =     text     - ROW 1
recordSetArray[0][3] =     text     - ROW 1
recordSetArray[0][4] =     selectbox - ROW 1
recordSetArray[0][5] =     textbox     - ROW 1
recordSetArray[0][6] =     textbox     - ROW 1
recordSetArray[0][7] = textbox     - ROW 1
recordSetArray[0][8] =     selectbox - ROW 1
recordSetArray[0][9] = selectbox - ROW 1
recordSetArray[0][10] = textarea - ROW 2
recordSetArray[1][0] = text     - ROW 3     
recordSetArray[1][1] = text     - ROW 3
recordSetArray[1][2] = text     - ROW 3     
recordSetArray[1][3] = text - ROW 3
recordSetArray[1][4] = selectbox- ROW 3
recordSetArray[1][5] = textbox     - ROW 3
recordSetArray[1][6] = textbox     - ROW 3
recordSetArray[1][7] = textbox     - ROW 3
recordSetArray[1][8] = selectbox- ROW 3
recordSetArray[1][9] = selectbox- ROW 3
recordSetArray[1][10] =textarea - ROW 4
recordSetArray[2][0] = text     - ROW 5     
recordSetArray[2][1] = text - ROW 5
recordSetArray[2][2] = text - ROW 5
recordSetArray[2][3] = text - ROW 5
recordSetArray[2][4] = selectbox- ROW 5
recordSetArray[2][5] = textbox     - ROW 5
recordSetArray[2][6] = textbox - ROW 5
recordSetArray[2][7] = textbox - ROW 5
recordSetArray[2][8] =     selectbox- ROW 5
recordSetArray[2][9] = selectbox- ROW 5
recordSetArray[2][10] =textarea - ROW 6
How can this be accomplished?
Thanks
Mich.

Chief,
Yup that data grid is most buggy. I think most people expect
it to work as well an Excel spreadsheet, and it's not quite there
in Flex 2. I'm not sure if it is any better in 3.
I think I am giving up trying to make mine work until they
fix it.
I have some of the same issues as you with focus and tab
order.
Mathias

Similar Messages

  • How to create editable ALV grid/list

    Hi,
    I want to create editable ALV grid/list so that user can modify the data in the ALV.
    And when user presses save button data will get saved in Z table.
    I dont know how to create editable ALV so could anybody please help me regarding this?
    Thanks & regards,
    Sameer Dhuke

    HI
    check the demo programs BCALV_FULLSCREEN_GRID_EDIT
    BCALV_GRID_EDIT
    BCALV_TEST_GRID_EDIT_01
    BCALV_TEST_GRID_EDITABLE
    REUSE_ALV_GRID EDITABLE
    ALV Grid editable fields
    Just to make things a bit easy
    In the layout,there is a property called edit, make it 'X' for the particular field whichever you want to make editable.
    Hope this helps,
    Suruchi
    Message was edited by:
            Suruchi Mahajan

  • Not able to edit the report created on different data source.....

    I have a query regarding Report in OBIEE - reports developed from BI Publisher are specific to data source on which they have been created ??
    i have a sample report that was created on different data source, i have the corresponding RPD also. I changed the data source according to my DB and when i try to update/edit the report,
    on Analytics for adding a new column, it is generating a seperate new Query from QueryBuilder for that additional cloumn rather than adding up the new query with the previous one(existing report query). Is it because of mismatch of data source on which report had been created and on which it is being update ?? if it is the case, where do i need to make changes related to JDBC connection or others ??
    when i try to create a new sample data set and try to update it, it adds up the extra edited things to original query and works perfectly fine. can ny 1 help me for the same ??

    Hi Denis,
    Normally,what we do is once we provide access to webi users group for each user from BO supervisor module, user(s) will able to refresh/edit the existing report from Full client BO.His colleagues have had no problem editing all his reports from their machines but he is not able to edit any report from his machine and BO is getting freeze.
    He also reinstalled BO and cleaned out everything on his Computer and re-built it but the issue is not yet resolved
    Can you please tell me how to resolve this issue
    Kind Regards,
    Srinivas

  • Is there a way to manually custom-edit the "Date created" and "Date modified" attributes of files in Mac OS 10.6?

    In "List View" in a Finder window, among the many column options are "Date created" and "Date modified." In "View Options" (command-J) for any folder, one can add these columns, along with the standard ones "Size," "Kind," "Label," etc.
    A user can alter a file's name, and a file's "label" (i.e. its color). On the other hand, a user can NOT arbitrarily edit/alter a file's official "size" -- other than by physically altering the contents of the file itself, obviously.
    But what about a file's "Date created" and "Date modified"? Can either of those be manually edited/changed, just as a file's name can be changed -- or is a file's creation-date an immutable attribute beyond the editorial reach of the user, just as a file's "size" is?
    And yes, a person can "alter" a file's "Date modified" by simply modifying the file, which would change its "Date modified" to be the moment it was last altered (i.e. right now). But (and here's the key question) can a user somehow get inside a file's defining attributes and arbitrarily change a file's modification date to be at any desired point in the past that's AFTER its creation date and BEFORE the present moment? Or will so doing cause the operating system to blow a gasket?
    If it is possible to arbitrarily manually alter a file's creation date or modification date, how would it be done (in 10.6)? And if it is NOT possible, then why not?

    sanjempet --
    Whew, that's a relief!
    But as for your workaround solution: All it will achieve is altering the created and modified dates to RIGHT NOW. What I'm looking to do is to alter the modification/creation dates to some point in the past.
    I'm not doing this for any nefarious reason. I just like to organize my work files chronologically according to when each project was initiated, but sometimes I forget to gather the disparate documents all into one folder right at the beginning, and as a result, sometimes after I finish a job, I will create a new folder to permanently house all the files in an old project, and when that folder is places in a bigger "completed projects" folder and then is organized by "Date created" or "Date modified" in list view, it is out-of-order chronologically because the creation and modification dates of that particular project folder reflect when the folder was created (i.e. today), and not when the files inside the folder were created (i.e. weeks or months ago).
    The simplest solution would simply to be able to back-date the folder's creation or modification date to match the date that the project actually started!

  • 3.0.02 EA1 - Edit table data in a grid

    Editing table data in a grid is broken in 3.0.02 EA1 under Windows XP Pro SP3
    Bug #1: When not in editing mode the cursor keys must move the focus from a cell to cell. Instead an edit mode is activated
    Bug #2: There is no way to leave cell edit mode using keyboard. Esc must cancel the edit, Return-key must confirm at switch to the next cell. Have to use mouse...

    I just tried on my VM and i don't see this behaviour on 3.0.
    What i do see is that Bug number 9201495 is still available although i reported this issue on 2.1
    Updating the columns in Data Tab - is a bit awkward

  • How to handle 'ENTER' Key on ALV Editable Grid on sub screen (Tabstrips)

    Hello Experts ,
    I have 2 questions with ALV Editable grid;
    please help me if you have answers.
    I created ALV grid on one of sub screens on a Tab Strip,
    As soon as user types one of the columns of the ALV grid and press u2018ENTERu2019 key, it has to return corresponding details for that line.
    I tried to implement this logic in ALV grid event u2018handle_data_changedu2019, but ALV internal table is not getting populated with new entry entered in the grid. but u2018double_clicku2019 event working my purpose, but user might need enter key.
    and I thought I would do implement that logic in PAI event of the sub screen, u2018ENTERu2019 key not getting trigger on PAI event of the screen until cursor is on grid.
    Another question 2:  How do I control and not to be deleted a line on the grid (based on validation), where do I validate and by pass the delete function for a particular line, or suggest me to gray out only one line on the grid .
    I would like to have delete function to work as it is ,except for some validations..
    Can I implement using PAI event of the sub screen or any by ALV event.
    Please suggest me..
    Edited by: Ravindranath Arusam on May 13, 2010 2:42 PM

    In DATA_CHANGED event, you will get the modified row into the attribute MP_MOD_ROWS of the impoerting object ER_DATA_CHANGED. Since this MP_MOD_ROWS is the Object reference to Data, you need to have the field symbol to get the value.
      FIELD-SYMBOLS:  <lft_mod_output>  TYPE t_t_output.
      ASSIGN  er_data_changed->mp_mod_rows->* TO <lft_mod_output>.
    You can get the Value of the Cell by using the method GET_CELL_VALUE of the same ER_DATA_CHANGED object and use the method MODIFY_CELL To update the value back to ALV.
    To Restrict the row deletion:
    When the row is deleted it is being added to Attribute mt_deleted_rows of the object ER_DATA_CHANGED. You can put the data back to the table in the DATA_CHANGE_FINISHED event. Visit this post http://help-abap.blogspot.com/2008/10/alv-disable-delete-key-on-keyboard-in.html for more information.
    Regards,
    Naimesh Patel

  • ALV using methods. Capturing editable cell data.

    Hi, I have created ALV grid using container. I have made one of the cells as editable. Now how can i capture the edited data.

    Hi Vishnu,
    try the below options..
    Have u used
    DATA gr_event_handler TYPE REF TO lcl_event_handler .
    *--Creating an instance for the event handler
    CREATE OBJECT gr_event_handler .
    *--Registering handler methods to handle ALV Grid events
    SET HANDLER gr_event_handler->handle_data_changed FOR gr_alvgrid .
    SET HANDLER gr_event_handler->handle_data_changed_finished FOR gr_alvgrid .
    CASE sy-ucomm.
      WHEN 'SAVE'.
    to reflect the data changed into internal table
          DATA : ref_grid TYPE REF TO cl_gui_alv_grid. "new
          IF ref_grid IS INITIAL.
            CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
              IMPORTING
                e_grid = ref_grid.
          ENDIF.
          IF NOT ref_grid IS INITIAL.
            CALL METHOD ref_grid->check_changed_data.
          ENDIF.
    ENDCASE.
    "User command module at PAI:
    CASE gd_okcde. WHEN 'SWITCH'.
    " switch editable / non-editable PERFORM switch. ...
    FORM switch. "(1) Read current fieldcatalog
    go_grid->get_frontend_layout( ). "(2) Mark / Unmark EDIT flag in fieldcatalog
    LOOP AT gt_fcat INTO ls_fcat WHERE ( fieldname = '<name of column>' ). " which you want to edit
    IF ( ls_fcat-edit = 'X' ).
    ls_fcat-edit = space.
    ELSE.
    ls_fcat-edit = 'X'.
    ENDIF.
    MODIFY gt_fcat FROM ls_fcat INDEX syst-tabix. ENDLOOP. "(3) Set modified fieldcatalog:
    go_grid->set_frontend_layout( ).
    ENDFORM.
    also have a look on the below programs
    BCALV_EDIT_01
    BCALV_EDIT_02
    BCALV_EDIT_03
    BCALV_EDIT_04
    BCALV_EDIT_05
    BCALV_EDIT_06
    BCALV_EDIT_07
    BCALV_EDIT_08
    Use attribute CL_GUI_ALV_GRID=>MC_STYLE_ENABLED to set a cell to status "editable".
    Use attribute CL_GUI_ALV_GRID=>MC_STYLE_DISABLED to set a cell to status "non-editable".

  • Not able to EDIT the data in PSA

    Hi Experts,
    I had created cube and it has following seeting
    1) Three  dimensions i.e. Employee_No, Employee_name and Time
    2) Key figures i.e. Salary and Tax
    Procedure What I have followed
    =======================
    1. Created one CSV file and it contains ten records
    2. I created one file interface source system
    3. I had created one infosource
    4. In the change button of infosource I have included four objects i.e. 
        Employee_No,Employee_name, Salary and Tax
    5. I assigned data source to the above infososurce
    6. By creating data package with the selection of PSA and Infoobject parallel in
        the processing button I loaded 10 records into the cube
    7. Next time I tried to use same infopackage with the selection of Only PSA in
        processing button
    8. Than I tried to Edit the data, but pop's with warning message "An internal error
        occured in maintenance module"
    I hope some one reply to this issue.

    hi,
      i think it is becqause u HAVE CHANGED TO only psa option .
    also u can create another infopackage and load the data
    or else u can edit the data in source system instead in ps.
    regards
    pls assign popints if helpful.

  • How can i create a grid with summary row

    Hello Professionals,
    I'm wondering how could i create a grid like the grid below, i want to create a grid with summary row,
    i have tried to create it using collapsing but it didn't work as required.
    Any suggestions?, i want to know just the starting point so i can make deep investigations.
    Thanks in Advance,

    Hi Karem,
    this can be achieved by just assigning a datatable containing the data plus some formatting of grid. Meaning there is no feature for that.
    The datatable can be filled manually or by sql query. Then you have to attach some events for updating the values ( validate after for gid item ).
    A small example for a sql query showing last month quotations and orders with summary :
    select 1 as Sort,cast(DocNum as varchar) as DocNum,DocTotal,convert(varchar, DocDate,104) from OQUT where DocDate between  DATEADD(month, -1, GETDATE()) AND GETDATE()
    UNION ALL
    Select 2 as Sort,'Summary ( Quotation ) : ',sum(DocTotal), convert(varchar,  DATEADD(month, -1, GETDATE()),104)+' - '+convert(varchar,   GETDATE(),104) from OQUT where DocDate between  DATEADD(month, -1, GETDATE()) AND GETDATE()
    UNION ALL
    select 3 as Sort,cast(DocNum as varchar) as DocNum,DocTotal,convert(varchar, DocDate,104) from ORDR where DocDate between  DATEADD(month, -1, GETDATE()) AND GETDATE()
    UNION ALL
    Select 4 as Sort,'Summary ( Order ) : ',sum(DocTotal), convert(varchar,  DATEADD(month, -1, GETDATE()),104)+' - '+convert(varchar,   GETDATE(),104) from ORDR where DocDate between  DATEADD(month, -1, GETDATE()) AND GETDATE()
    ORDER by Sort
    regards,
    Maik

  • Error creating a new Data Source for Oracle connection

    I'm trying to create a new data source connection to our
    Oracle 10gR2 server using ColdFusion Administrator 6.1 Standard on
    a Windows 2003 server.
    I created a System DSN ODBC connection for Oracle. I can use
    the ODBC connection when connecting an Access db to Oracle but when
    I try to use it w/ ColdFusion Admin it generates the following
    error message:
    Connection verification failed for data source: sitest2
    []java.sql.SQLException: [Macromedia][SequeLink JDBC
    Driver][ODBC Socket]internal error:
    Driver's SQLAllocHandle on SQL_HANDLE_ENV failed
    The root cause was that: java.sql.SQLException:
    [Macromedia][SequeLink JDBC Driver][ODBC Socket]internal error:
    Driver's SQLAllocHandle on SQL_HANDLE_ENV failed
    Any help or recommendations would be greatly appreciated.
    Tina

    The schema/user is system and the password is alpha-numeric, upper/lower case, no special char ...
    As a workaround I was able to add the password to the entry in the datasources.xml file and restarted BI Pub.
    The JDBC is working ... I can test the connection successfully ... just wont save the entry
    Edited by: tread on Oct 17, 2011 11:55 AM

  • Error While Creating  The Generic Data Source.

    Hi Gurus,
    I am trying to create a Generic Data Source (ZGG_TEST) on a View (ZV_TEST1)
    View as Follows:
    Table1 has the Following Fields
    Field Type
    MANDT CLNT
    RECNO NUMC
    STATUS CHAR
    LMODF CHAR
    Table2 has Fields
    Fields Type
    MANDT CLNT
    RECNO NUMC
    PHCOS QUAN
    MATNR CHAR
    EQSFS QUAN
    MEINS UNIT
    In Table2 under Currency and Quantity Field tab
    For Field PHCOS The Reference table is MSEG and Reference Field is MEINS
    For Field EQSFS the Reference Table is MSEG and reference field is MEINS
    View Description
    Tables:
    Table1
    Table2
    MSEG
    Join condition For the View is
    TABLE2-MANDT=TABLE1-MANDT
    TABLE2-RECNO=TABLE1-RECNO
    TABLE2-MANDT=MSEG-MANDT
    TABLE2-MATNR=MSEG-MATNR
    The Problem is While saving the Data Source it is Giving an Error as Follows
    Invalid extract structure template ZV_TEST1 of DataSource zgg_test
    Message no. R8359
    Diagnosis
    You tried to generate an extract structure with the template structure zgg_test. This operation failed, because the template structure quantity fields or currency fields, for example, field PHCOS refer to a different table.
    Procedure
    Use the template structure to create a view or DDIC structure that does not contain the inadmissible fields.
    Please help me In Solving this Issue
    Thanks in advance
    Santosh

    n Table2 under Currency and Quantity Field tab
    For Field PHCOS The change Reference table to  TABLE2   For Field EQSFS the change the Reference Table to TABLE2  
    ref field MEINS ...
    This works ..
    Priya
    Edited by: Priya on Dec 31, 2007 1:30 PM

  • Error when creating a new Data Source

    All, This is on BI Publisher 11g.
    When I create a new data source and supply password and then click "Apply" button on top right corner, i get following error
    Error 500--Internal Server Error
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.5.1 500 Internal Server Error
    The server encountered an unexpected condition which prevented it from fulfilling the request.
    what am i doing wrong?
    Thank you for reading this post.
    Thanks,
    R

    The schema/user is system and the password is alpha-numeric, upper/lower case, no special char ...
    As a workaround I was able to add the password to the entry in the datasources.xml file and restarted BI Pub.
    The JDBC is working ... I can test the connection successfully ... just wont save the entry
    Edited by: tread on Oct 17, 2011 11:55 AM

  • How to create the Export Data and Import Data using flat file interface

    Hi,
    Request to let me know based on the requirement below on how to export and import data using flat file interface.....
    Please provide the steps involved for the same.......
    BW/BI - Recovery Process for SNP data. 
    For each SNP InfoProvider,
    create:
    1) Export Data:
    1.a)  Create an export data source, InfoPackage, comm structure, etc. necessary to create an ASCII fixed length flat file on the XI
    ctnhsappdata\iface\SCPI063\Out folder for each SNP InfoProvider. 
    1.b)  All fields in each InfoProvider should be exported and included in the flat file. 
    1.c)  A process chain should be created for each InfoProvider with a start event. 
    1.d)  If the file exists on the target drive it should be overwritten. 
    1.e)  The exported data file name should include the InfoProvider technical name.
    1.f)  Include APO Planning Version, Date of Planning Run, APO Location, Calendar Year/Month, Material and BW Plant as selection criteria.
    2) Import Data:
    2.a) Create a flat file source system InfoPackage, comm structure, etc. necessary to import ASCII fixed length flat files from the XI
    ctnhsappdata\iface\SCPI063\Out folder for each SNP InfoProvider.
    2.b)  All fields for each InfoProvider should be mapped and imported from the flat file.
    2.c)  A process chain should be created for each InfoProvider with a start event. 
    2.d)  The file should be archived in the
    ctnhsappdata\iface\SCPI063\Archive directory.  Each file name should have the date appended in YYYYMMDD format.  Each file should be deleted from the \Out directory after it is archived. 
    Thanks in advance.
    Tyson

    Here's some info on working with plists:
    http://developer.apple.com/documentation/Cocoa/Conceptual/PropertyLists/Introduc tion/chapter1_section1.html
    They can be edited with any text editor. Xcode provides a graphical editor for them - make sure to use the .plist extension so Xcode will recognize it.

  • What Function Module can be used to create vendor master data in SAP R/3?

    Hello -
    I've been trying to find a standard SAP delivered BAPI that can be used to create vendor master records in ECC 6.0. Up to this point I have not been able to do so. With SAP MDM solutions and SRM solutions it seems logical that SAP would deliver a standard BAPI that can be used to create vendor master records in the ERP/R3 environment (similar to the BAPI_MATERIAL_SAVEREPLICA for creating material master data records).
    I have been able to find BAPI_VENDOR_CREATE but this only calls the online transaction and does not offer much additional functionality beyond what transaction code XK02 already offers.
    The next best alternative appears to be IDOC_INPUT_CREDITOR but our preference would be to not use IDOCs for the project we are working on.
    Can anyone offer any insight or personal experience on how vendor master records have been successfully interfaced with SAP R/3? Did you have to use IDOCs or create a custom RFC call? Thanks for the help!
    Rich Wortmann
    << Personal information removed >>
    Edited by: Rob Burbank on May 14, 2009 10:43 AM

    Quite a gap in the BAPI arsenal. I think the options are IDoc, which you don't want, good old program RFBIKR00 (requires flat file for input, can be used via LSMW) or DIY (very complex).
    Thomas

  • URGENT ! Is it possible to create a  xml data control description file

    We are encountering serious problem when generating data control against java bean build from java classes generated with xml top link mapping.
    As workaround we have created a new xml schema that generate the java classes in a way data control may be generated correctly but we have to declare manually each class for java.util.list attribute that are not types by top link.
    Unfortunately some classes seem not to described by a data control xml files for a reason we cannot understand because others similar classes are correctly described.
    To gain time - we have to finish our development -we would force de data control structure by manually adding class data control definition file that are missing.
    Just adding the file in the pasckage is not sufficient.
    What do we have to update to make this file active ?

    Solved my problem by referencing the parent class correctly so the child class xml definition was created by the data control wizard and editable in the structure window.

Maybe you are looking for

  • How to add a custom field to Ship-to address screen

    Hi all, I have to add a custom field for Plant in the Ship-To address subscreen(BBPSC01). I have added the field in the program saplbbp_sc_ui_its in screen 310. But I think need to write the HTML code/Java script in HTML template to trigger the code

  • Require help to solve Connection timed out error while reload initial data

    Dear Developers, I have installed SAP NetWeaver and SAP ME SDK 2.0 on my laptop and working from offshore, the SAP ME WIP and ODS database is situated at onsite. The installation is working fine, however, after developing Activity Hooks, at the step

  • UME Roles/Groups problem

    UME Roles/Groups problem I have installed an ABAP +J2EE instance with the view of using it for Adobe Document Services. While following the Adobe Document Services configuration guide, Step 3.2.1.1: I'm creating a role in the ABAP engine, creating a

  • Error updating: already lock by another user

    Can anyone telle me how to solve the problem in the title. At the moment of update there is only one user active this is the code I use to make a update:   private void updateRecord2 (Room r) throws RetrieveRecordException {     ViewObject vo = appMo

  • PLEASE HELP! I AM STUCK..NOT SURE WHAT I AM DOING WRONG! ARGHHHHHH!

    Hello, I am a beginner, only recently started Java a couple of weeks ago. For an assignment at uni, I need to create a simple program which allows the user to enter a row number, 5 7, or 9, and depending on the number of row they select, display the