Saving to a database

Is is possible to save information automatically from a program to a database or some other data storage structure where it can be easily read from when the program re-loads.
I doesn't need to be anything online just a simple file stored locally which can be read from and written to. I know how to do it with a text file but I need an easier way of accessing data.
Any help would be greatly appreciated.

I have to make an appointments diary where you can search through the months and days and then times to find when you have appointments.
The information I need to store would be.
Year / Month / Day / Time / Appointment.
I was just going to make a huge text file but I figured if it was possible to save them in a database and then perform queries on them everything would run alot smoother.
By automatically I mean that when the program is first run, while it is loading all of the appointments have been loaded in so there is no real lag at run time. And when someone make a new appointment and hits "Save" or "OK" or something, the database is saved.
Would it just be easier to do this as a text document?

Similar Messages

  • Error saving job  to database for standard jobs scheduling

    Hi,
        In IDES server when iam goto Tr.code -- SM36 -- Standard Jobs -- Default Scheduling iam getting below error.
    Error saving job  to database
    Message no. BT117
    Diagnosis
    The SAP system was unable to save the current job in the database. This failure suggests that there is a problem with the database system or with the network connections between the SAP application servers and the database system.
    System Response
    Job not saved and not scheduled.
    Procedure
    To analyze this problem, start by checking the system log for messages about network or database problems.  You can also use the computing center management system to check your system for problems.
    Guide me for the same.
    Thanku

    HI,
    Sometimes this error will come.
    Try to schedule jobs manually using SM36 instead of using standard job button.
    Also you can check this thread
    Re: Error saving job SAP_REORG_JOBS to database
    Which seems to report same problem.
    Its nothing to take with database conenctivity as SAP is up and running .
    Try this and revert.
    Regards,

  • Saving Arrays to database???

    Hi! I'am new on Jsp and I want to save values that the user add into a combobox. I Have a Save_action.jsp that executes when the user click on the submit button. So I want the array values to be saved into the database + be updated. Here is the problem area in Sava_action.jsp
    <%
         String update="";
         Long aCustomerId = aCustomerSession.getCustomer().getCustomerId();
         String[] aIPAddressAllow = request.getParameterValues("IPAddressAllow");
         String[] aEmailAllow = request.getParameterValues("emailAllow");
         String atruncuationMode = request.getParameter("truncuationMode");
         String aoriginatorTemplate = request.getParameter("originatorTemplate");
         String amessageTemplate = request.getParameter("messageTemplate");
         String areceiptActive = request.getParameter("receiptActive");
         String arecipientInMailSubject = request.getParameter("recipientInMailSubject");
         ResultSet aResultSet;
         ICDatabase aDatabase = new ICDatabase();
         //Here is my problem??? What shell I write??
         for (int i = 0; i < aIPAddressAllow.length; i++) {
              if (aIPAddressAllow != null)
    for (int l = 0; l < aEmailAllow.length; l++) {
              if (aEmailAllow != null)
         update = "UPDATE tM2SMSSettings Set IPAddressAllow='" + aIPAddressAllow[0] +"', emailAllow='" + aEmailAllow[0] +"', truncuationMode='" + atruncuationMode +"', originatorTemplate='" + aoriginatorTemplate +"' ,messageTemplate='" + amessageTemplate +"' , receiptActive=" + areceiptActive +", recipientInMailSubject=" + arecipientInMailSubject +" WHERE customerId=" + aCustomerSession.getCustomer().getCustomerId();
         aResultSet = aDatabase.sql(update);
    response.sendRedirect(response.encodeRedirectURL("customerm2sms.jsp"));
    %>

    this is a way but if i see it correctly for each ip adress you'll be adding the emailadresses...
    if that is what you need, then just put the for integer in th array (i for ip and l for email).
    greetings

  • Saving Forms in Database

    Hi All,
    We are being unable to save a form into the database.
    This form is all along been saved in the database and it is one
    of the common forms which we use throughout our applications and it basically contains common blocks , procedures which are used or referenced by all file system forms across the application.
    The problem has started recently after we did some changes in it and then again try to store it back into the database. Basically we store another form (900KB) in DB along with this one (2200KB),
    I have tested, with the other form already in the database we
    are not being able to save a form of this big size in the
    database, whereas it allows us to save the form only if its size
    is less than 1600KB. That means it is a form size related issue.
    If anybody has faced similar problem and know if there is any
    change or tuning required in any of the database schema objects
    then please help me. Its a mission critical problem for our
    organisation.
    ORACLE PEOPLE PLEASE HELP US !
    We are using forms 4.5 with Oracle 8.0.6 on MS WindowsNT 4.0.
    Thanks in advance.

    Yes Grant, we get error message :
    The Windows Error (F50des32.exe - Application error) :The
    instruction at "0x5d9e9280" referenced memory at "0x0001567a".
    The memory could not be "read".
    Basically we have two forms in the database, say form1 and form2. Form2 itself is referencing objects in form1, and both these forms are referenced by other filesystem forms. We are unable to save the form2 but not the form1.
    Each time we try to save the Form2 in the database we are facing the problem. Form1.fmb is of the size 828KB, whereas Form2.fmb is 2200KB. Is the problem related to the size of the form ? I believe these forms are stored in the SYSTEM tablespace, I checked the system tablespace, its used 117MB and is 22MB free, initial extent is 122880 and next is 122880 with max
    extent 300.
    This problem is having in all our test databases and is not
    really related to any particular machine (statistics given is of
    one of our test database).This problem may have occured before
    but I am not sure as we are in need to change in the database
    forms first time after I have taken over responsibility.Please
    look into the problem with high priority as we are in need to
    update live applications ASAP.

  • Resultset in the same order as saved in the database

    Hi Folks!
    I'm having some trouble with an old development, because for some really strange reason, the same select statement i'm getting the same records but in different order from time to time randomly.
    For example in day 1 i can get:
    1 Text1
    2 Text2
    3 Text3
    And in day 2 i can get:
    1 Text2
    2 Text3
    3 Text1
    Is there a way to force the select statement so it always get it in the order as saved in the database?
    Hope someone can help me with this pretty strange issue.
    Thanks.
    Regards,
    Gilberto Li

    Hi Neil,
    Your answer makes a lot of sense to me. And I agree that it might won't guarantee that bypassing the buffer will work 100%. However i'm still going to make a try see if it works, and how good it works.
    What i'm thinking is that I will need to redesign this old development and insert a new field to a table to add a position so I can order after the select statement.
    But if someone still have any other solution i will appreciate your help.
    Thanks again.
    Regards,
    Gilberto Li

  • All the attachments both in SRM and R/3 must be saved in IXOS database

    Dear all,
    I am having the following requirements:
    We are creating Shopping Cart in SRM with attachments and these attachments are saving in the IXOS database. All these (same attachments) are relpicating to R/3 whenever system generates PR or PO automatically. These attachments are copying to R/3 with URL, which is picking from IXOS, i.e. physically attachments are not saving R/3 DMS server, but saving in IXOS DB only. It is to avoid duplicate saving in both Data bases.
    If user making any changes in the attachments or adding attachments in R/3, these new ones are at present saving in R/3 (DMS) data base, but not in the IXOS data base. Now our client requirement is that all the attachments, whether attached in SRM or R/3, all the attachments must be saved in IXOS database.
    To meet this requirement, what are the settings we have to do? Please reply if anybody is having idea on this.
    Thanks & Regards,
    Veerappa
    Edited by: Chinna Veerappa on Sep 2, 2011 8:02 AM

    This is not MM specific, you should contact the admin for DMS.
    make your customizing in SPRO >  Cross-Application Components > Document Management  .......
    define your content repository (IXOS) in OAC0 and link the object types to the repository in OAC3
    In the content repository you define to where (IXOS) you store the documents

  • How is the 'import-packages' information saved in the database, and how long?

    Hello,
    I am  developping a ECM Connector for Adobe LiveCycle ES, which is a customized component.
    1 - Who should I contact to have some specific support  ?
    There is no detailed information yet on this on the adobe site  (http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/help/wwhelp/wwhimpl/js/html/w whelp.htm?href=000931.html&accessible=true) .
    If you  think that I should address my problem to another department of Adobe, please  tell me which department?
    I give you another description of my problem. In fact, I have  been investigating on it.
    2 - If I  put this in my component.xml file, in step  1:
    <component-id>com.rsd.adobe.livecycle.RSDFoldersConnector</component-id>
    <version>1.0</version>
    <import-packages><package  version="1.0">com.rsd.simpleApiFolders</package>  </import-packages>
    If I change the  version to 1.1 and remove the  'import-packages' (in step 2) , will the new component need the  com.rsd.simpleApiFolders package. It seems that is still needs it.
    3 - How is the  'import-packages' information saved in the  database, and how  long?
    In  fact, on thursday, I used 'import-packages'  to make a test. And since them, I  can not deploy any of my components.
    LiveCycle throws a  ClassNotFoundException.
    ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException:  Internal error.
    [java] at  com.adobe.idp.dsc.registry.component.impl.ComponentRegistryImpl$6.doInTransaction(Compone ntRegistryImpl.java:338)
    ... Caused  by: java.lang.ClassNotFoundException: http-0.0.0.0-8080-1Class name  com.rsd.simpleApiFolders.Context from package com.rsd.simpleApiFolders not found.
    [java] at  com.adobe.idp.dsc.DSContainerSearchPolicy.searchClassUsingParentFirst(DSContainerSearchPo licy.java:234)
    Thank you in advance
    Regards.

    1 - Who should I contact to have some specific support  ?
    That would depend on your Adobe support contract and if your organization has a TAM assigned.  You should check with your organization's Adobe contact and see what support options your organization has purchased.
    Having said that, this forum has a few people that may be able to help (but the forum does not have a SLA associated with it)
    2 - If I  put this in my component.xml file, in step  1:
    <component-id>com.rsd.adobe.livecycle.RSDFoldersConnector</component-id>
    <version>1.0</version>
    <import-packages><package  version="1.0">com.rsd.simpleApiFolders</package>  </import-packages>
    If I change the  version to 1.1 and remove the  'import-packages' (in step 2) , will the new component need the  com.rsd.simpleApiFolders package. It seems that is still needs it.If your component class needs the simpleApiFolders class then yes, you still need it.  Think of import-packages like a class-path statement (but with packages and not jars).  Its not physically moving the package into your application, but allowing you to access it from another container.
    3 - How is the  'import-packages' information saved in the  database, and how  long?
    As far as I know they are not imported into the database. As I stated above, I believe that the import-packages just allows you to point to classes that are in the app server's classpath, but are not physically in you component jar file.  As long as that class is in the app server class-path (or in the Adobe EAR file) then you should be able to access it.  Is the jar file containing the simpleApiFolders class in the app server's lib directory?

  • Can Discoverer Reports Saved on the Database be Copied Across Instances

    We are using Discoverer 4i Plus Release - 4.1.48.08.00.
    When workbooks are saved to the database, is there a way of copying them across to another instance (rather than having to re-create them)?
    Thank you,
    Thalita

    Yes. From the file menu, select Export. This starts a wizard which will export the entire EUL, BAs, or individual objects. If you just want to move workbooks, choose Individual Objects, then Workbooks from the drop down.
    To import, fire up admin, connecting to the other database, select Import from tools menu, and the wizard will walk you through.
    A word of caution - if you just export workbooks, they may import without errors into another schema. If the BAs, folder, or items are different between the export schema and the import schema, you will get errors when you try to open the workbooks (you may get errors when you try to import them, too).

  • Is Content stored in the Rich Text Editor saved to the Database?

    Is Content stored in the Rich Text Editor saved to the Database? We are planning a migration from our Dev environment to our QA/Staging environment and would like to migrate our existing content. We were told that content stored in the Rich Text Editor is stored somewhere in the Plumtree database. Is this true? If so, where in the DB (table/field) is it stored?

    Some of the content from Publisher is stored in the file system.
    Look under: plumtree\ptcs\publishedcontent
    there you'll find your preview and published content.

  • Error saving job to database

    Hi,
    In IDES ECC6.0 Ehp 3 (Os: window 2003 64bit    DB: oracle 10.2.0.2) server when iam goto T-Code -- SM36 -- Standard Jobs -- Default Scheduling iam getting below error.
    <error saving job to database>
    So I patched oracle 10.2.0.1 to 10.2.0.4, and kernel patch with latest one.
    But, the same error occured.
    I tried to execute r3trans -d at the OS level,the results is <The system cannot execute the specified program>.
    In SM21, i am getting below error
    <error saving job to database>
    &CAUSE &
    The SAP system was unable to save the current job in the database. This failure suggests that there is a problem with the database system or with the network connections between the SAP application servers and the database system.
    &SYSTEM_RESPONSE&
    Job not saved and not scheduled.
    &What_TO_DO&
    To analyze this problem, start by checking the <DS:TRAN.SM21>system log for message about network or database problems. you can also use the <DS:TRAN.SRZL>computing center management system to check your system for problems. >
    I checked SM28 and SICK and it reports no error.
    Please help how can I schedule the standard jobs

    Make sure you use the proper kernel, for 64bit there are two kernels:
    - one for AMD64 and Intel64
    - one for Itanium-2 64bit
    The R3trans seems to be the wrong one - as I would suggest are the brtools.
    Markus

  • MBAM bitlocker-protected removable drives recovery keys saved on sql database not active directory

    Hi Guys
    I need help in saving bitlocker protected removable drives on the sql database instead of active directory .
    I have tried to play around with the policy and I am not winning , currently my GPO : Choose how bitlocker-protected removable drives can be recovered has only the allow data recovery agent chosen and I have left out all the AD DS option unticked
    Please point me in the right direction on how to achieve this , I want all my keys in a SQL database so the users can recover the keys themselves using the mbam helpdesk website

    Under client management, define your endpoint URLs. You can see the help and the description section for that particular policy. Copy and paste the URL removing the port number and replace the name of the Server with that of your MBAM Web server.
    Also, Disable or don't configure the policy "Choose how bitlocker protected removable Drives can
    be recovered".
    This will save your recovery keys to the MBAM DBs.
    Gaurav Ranjan

  • Saving data in database using textbox and save button

    Hello. I just want a help about my code because when i close the application the data that i add is not been saved.
    Here is my code of save:
    function saveData(event:MouseEvent):void
      status.text = "Saving data";
      insertStmt = new SQLStatement();
      insertStmt.sqlConnection = conn;
      var sql:String = "INSERT INTO employees (firstName, lastName, salary) VALUES (:param, :param1, :param2)";
      insertStmt.text = sql;
      insertStmt.parameters[":param"] = firstName.text;
      insertStmt.parameters[":param1"] = lastName.text;
      insertStmt.parameters[":param2"] = salary.text;
      insertStmt.addEventListener(SQLEvent.RESULT, insertResult);
      insertStmt.addEventListener(SQLErrorEvent.ERROR, insertError);
      insertStmt.execute();
    Here is the full code:
    import fl.data.DataProvider;
    import flash.data.SQLResult;
    import flash.data.SQLConnection;
    import flash.filesystem.File;
    import flash.data.SQLStatement;
    import flash.data.SQLConnection;
    var conn:SQLConnection;
    var createStmt:SQLStatement;
    var insertStmt:SQLStatement;
    var insertStmt2:SQLStatement;
    var insertStmt3:SQLStatement;
    var selectStmt:SQLStatement;
    var insert1Complete:Boolean = false;
    var insert2Complete:Boolean = false;
    saveBtn.addEventListener(MouseEvent.CLICK, saveData);
    loadBtn.addEventListener(MouseEvent.CLICK, getData);
    init();
    function init():void
      conn = new SQLConnection();
      conn.addEventListener(SQLEvent.OPEN, openSuccess);
      conn.addEventListener(SQLErrorEvent.ERROR, openFailure);
      status.text = "Creating and opening database";
      // Use these two lines for an on-disk database
      // but be aware that the second time you run the app you'll get errors from
      // creating duplicate records.
    // var dbFile:File = File.applicationStorageDirectory.resolvePath("DBSample.db");
    // conn.openAsync(dbFile);
      // Use this line for an in-memory database
      conn.openAsync(null);
    function openSuccess(event:SQLEvent):void
      conn.removeEventListener(SQLEvent.OPEN, openSuccess);
      conn.removeEventListener(SQLErrorEvent.ERROR, openFailure);
      createTable();
    function openFailure(event:SQLErrorEvent):void
      conn.removeEventListener(SQLEvent.OPEN, openSuccess);
      conn.removeEventListener(SQLErrorEvent.ERROR, openFailure);
      status.text = "Error opening database";
      trace("event.error.message:", event.error.message);
      trace("event.error.details:", event.error.details);
    function createTable():void
      status.text = "Creating table";
      createStmt = new SQLStatement();
      createStmt.sqlConnection = conn;
      var sql:String = "";
      sql += "CREATE TABLE IF NOT EXISTS employees (";
      sql += " empId INTEGER PRIMARY KEY AUTOINCREMENT,";
      sql += " firstName TEXT,";
      sql += " lastName TEXT,";
      sql += " salary NUMERIC CHECK (salary >= 0) DEFAULT 0";
      sql += ")";
      createStmt.text = sql;
      createStmt.addEventListener(SQLEvent.RESULT, createResult);
      createStmt.addEventListener(SQLErrorEvent.ERROR, createError);
      createStmt.execute();
    function createResult(event:SQLEvent):void
      createStmt.removeEventListener(SQLEvent.RESULT, createResult);
      createStmt.removeEventListener(SQLErrorEvent.ERROR, createError);
      addData();
    function createError(event:SQLErrorEvent):void
      status.text = "Error creating table";
      createStmt.removeEventListener(SQLEvent.RESULT, createResult);
      createStmt.removeEventListener(SQLErrorEvent.ERROR, createError);
      trace("CREATE TABLE error:", event.error);
      trace("event.error.message:", event.error.message);
      trace("event.error.details:", event.error.details);
    function addData():void
      status.text = "Adding data to table";
      insertStmt = new SQLStatement();
      insertStmt.sqlConnection = conn;
      var sql:String = "";
      sql += "INSERT INTO employees (firstName, lastName, salary) ";
      sql += "VALUES ('Bob', 'Smith', 8000)";
      insertStmt.text = sql;
      insertStmt.addEventListener(SQLEvent.RESULT, insertResult);
      insertStmt.addEventListener(SQLErrorEvent.ERROR, insertError);
      insertStmt.execute();
      insertStmt2 = new SQLStatement();
      insertStmt2.sqlConnection = conn;
      var sql2:String = "";
      sql2 += "INSERT INTO employees (firstName, lastName, salary) ";
      sql2 += "VALUES ('John', 'Jones', 8200)";
      insertStmt2.text = sql2;
      insertStmt2.addEventListener(SQLEvent.RESULT, insertResult);
      insertStmt2.addEventListener(SQLErrorEvent.ERROR, insertError);
      insertStmt2.execute();
    function insertResult(event:SQLEvent):void
      var stmt:SQLStatement = event.target as SQLStatement;
      stmt.removeEventListener(SQLEvent.RESULT, insertResult);
      stmt.removeEventListener(SQLErrorEvent.ERROR, insertError);
      if (stmt == insertStmt)
      insert1Complete = true;
      else
      insert2Complete = true;
      if (insert1Complete && insert2Complete)
      status.text = "Ready to load data";
    function insertError(event:SQLErrorEvent):void
      status.text = "Error inserting data";
      insertStmt.removeEventListener(SQLEvent.RESULT, insertResult);
      insertStmt.removeEventListener(SQLErrorEvent.ERROR, insertError);
      trace("INSERT error:", event.error);
      trace("event.error.message:", event.error.message);
      trace("event.error.details:", event.error.details);
    function getData(event:MouseEvent):void
      status.text = "Loading data";
      selectStmt = new SQLStatement();
      selectStmt.sqlConnection = conn;
      var sql:String = "SELECT empId, firstName, lastName, salary FROM employees";
      selectStmt.text = sql;
      selectStmt.addEventListener(SQLEvent.RESULT, selectResult);
      selectStmt.addEventListener(SQLErrorEvent.ERROR, selectError);
      selectStmt.execute();
    function saveData(event:MouseEvent):void
      status.text = "Saving data";
      insertStmt = new SQLStatement();
      insertStmt.sqlConnection = conn;
      var sql:String = "INSERT INTO employees (firstName, lastName, salary) VALUES (:param, :param1, :param2)";
      insertStmt.text = sql;
      insertStmt.parameters[":param"] = firstName.text;
      insertStmt.parameters[":param1"] = lastName.text;
      insertStmt.parameters[":param2"] = salary.text;
      insertStmt.addEventListener(SQLEvent.RESULT, insertResult);
      insertStmt.addEventListener(SQLErrorEvent.ERROR, insertError);
      insertStmt.execute();
    function selectResult(event:SQLEvent):void
      status.text = "Data loaded";
      selectStmt.removeEventListener(SQLEvent.RESULT, selectResult);
      selectStmt.removeEventListener(SQLErrorEvent.ERROR, selectError);
      var result:SQLResult = selectStmt.getResult();
      resultsGrid.dataProvider = new DataProvider(result.data);
    // var numRows:int = result.data.length;
    // for (var i:int = 0; i < numRows; i++)
    // var output:String = "";
    // for (var prop:String in result.data[i])
    // output += prop + ": " + result.data[i][prop] + "; ";
    // trace("row[" + i.toString() + "]\t", output);
    function selectError(event:SQLErrorEvent):void
      status.text = "Error loading data";
      selectStmt.removeEventListener(SQLEvent.RESULT, selectResult);
      selectStmt.removeEventListener(SQLErrorEvent.ERROR, selectError);
      trace("SELECT error:", event.error);
      trace("event.error.message:", event.error.message);
      trace("event.error.details:", event.error.details);

    Your database system may well have a setting for character encoding when creating new databases. If you set that to unicode JDBC should store and retrieve UNICODE strings automatically.
    As to the HTML side, you should generally use UTF-8 encoding. You need an editor which understands UTF-8. JSPs and servlets have ways of specifying the encoding which goes into the http headers. For static HTML pages you may have to add a header like:
    <META http-equiv="Content-type" value="text/HTML; charset=UTF-8">
    When receiving form data you need to do
    request.setCharacterEncoding("UTF-8");

  • Saving data in database from jsp form

    I have a very huge table in my jsp...600 entries.
    my form table is like this.
    the number of rows depends upon the number of days in a month.
    there is one colum which specifies the time frame in 1 hr frame and
    withing each column is two coulmn representing either male or female.
    If i want to save the data entered in the form to database synchronizing
    with date, timeframe and sex, what is the best way to do it?
    I did it in a way that declaring 600 private string variables in form bean,
    saving it in a list and sending it to database.
    Is there any other way of doing it without the need for 600 getter and setter methods?

    I just want to see if I understood this correctly. You declared 600 private variables in a form bean?
    Perhaps this is not the best use of either Struts or the JavaBean specification. What you almost certainly actually have is a series of homogenous objects. Store that instead in an array or Collection. Use loops to iterate through the values to generate your table. There are both JSTL tags and plain Java code embedded within a JSP to achieve this task.
    - Saish

  • Saving graphic to database

    I am calling a 3rd party and getting back either a .jpg or .svg file. Is there a way to save these files to a database so I don't have to call this service again if the graphic has already been saved?

    This article provides code and discussion concerning saving and writing .jpeg, .tiff, and .png images.
    http://access1.sun.com/techarticles/ImagingApps/JImage.html

  • Problem in editing  the table and again saving back to database through web

    hi ,
    i have created ztable and sucessfully able to display through webdynpro but my requirement is that the user should be able to select any of the record n that should be editable and after that the editable data should be saved again to data database .
    i have also alv components in methods of a view
    Create component usage for alv component
      data: l_ref_cmp_usage type ref to if_wd_component_usage.
      l_ref_cmp_usage =   wd_this->wd_cpuse_alv( ). >>>>>>errror
      if l_ref_cmp_usage->has_active_component( ) is initial.
        l_ref_cmp_usage->create_component( ).
      endif.
    Get config model
      data: l_ref_interfacecontroller type ref to iwci_salv_wd_table .
      l_ref_interfacecontroller = wd_this->wd_cpifc_alv( ).>>>>>error
      data: l_value type ref to cl_salv_wd_config_table.
      l_value = l_ref_interfacecontroller->get_model( ).
    set visible row count
    l_value->if_salv_wd_table_settings~set_visible_row_count( '5' ).
    Sort rows by seatsocc descending
    data: lr_field  type ref to cl_salv_wd_field.
    lr_field =
       l_value->if_salv_wd_field_settings~get_field( 'SEATSOCC' ).
    lr_field->if_salv_wd_sort~create_sort_rule( sort_order =
       if_salv_wd_c_sort=>sort_order_descending ).
    Display icon in column seatsocc
      data: lr_column type ref to cl_salv_wd_column,
            lr_image     type ref to cl_salv_wd_uie_image,
            lv_icon      type string.                           "#EC NEEDED
      lr_column = l_value->if_salv_wd_column_settings~get_column(
    'SEATSOCC'
      create object lr_image.
      lr_image->set_source_fieldname( 'STATUS' ).
      lr_column->set_cell_editor( lr_image ).              "Display traffic
    *light images in column 'SEATSOCCC'
    delete column STATUS
    l_value->if_salv_wd_column_settings~delete_column( 'STATUS' ).
    set cell editor for input fields (~make colum PRICE editable)
    DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings,
    lr_input_field TYPE REF TO cl_salv_wd_uie_input_field.
    lr_column_settings ?= l_value.
    lr_column = lr_column_settings->get_column( 'MATERIAL' ).
    CREATE OBJECT lr_input_field EXPORTING value_fieldname = 'MATERIAL'.
    lr_column->set_cell_editor( lr_input_field ).
    data: lr_table_settings type ref to if_salv_wd_table_settings.
    lr_table_settings ?= l_value.
    lr_table_settings->set_read_only( abap_false ).
    here in the code >>>error i have marked  it is saying that the method  wd_cpuse_alv  is unknown even with the method wd_cpifc_alv, firstly iam uable to edit the fields , ater that i can go futher , plz give me the step by step solution as iam new to it

    Hi shaik,
        I couldn't find any problem in the code.
    Whether that is the first method you are initializing the alv model?
    Try this, Comment the whole code in that method. Activate the whole component including views and then uncomment the code.
    Regards...
    Arun.

Maybe you are looking for