Update a field in view, based on change in one of it's tables.

Hi,
I have created a Maintenance view based on three DB tables.
My requirement is if i change data in one the database tables the view should get automatically updated with the new data.
Could anyone please soleve my issue, points are definite.
Thanks and regards,
raghavendra goutham p.

Hi,
   any changes to the database field value will
   automatically gets reflected in view .
   please check it.
Regards
Amole

Similar Messages

  • Want to update data in a view based on multiple tables

    Hi
    I am facing a problem i want to update data in tables using a view. As that view is based on multiple tables so i am unable to update data. i came to know we can update table from view only if view is based on single table. so if anyone knows any alternative please let me know.
    Thanx
    Devinder

    Devinder,
    The table can be updated through a view based on multiple tables, if and only if the table is a "key preserved" table. Rather than explaining myself, i avoided the burden of typing by finding the material in Oracle Docs and pasting it for you :-)
    If you want a join view to be updatable, all of the following conditions must be
    true:
    1. The DML statement must affect only one table underlying the join.
    2. For an INSERT statement, the view must not be created WITH CHECK
    OPTION, and all columns into which values are inserted must come from a
    key-preserved table. A key-preserved table in one for which every primary
    key or unique key value in the base table is also unique in the join view.
    3. For an UPDATE statement, all columns updated must be extracted from a
    key-preserved table. If the view was created WITH CHECK OPTION, join
    columns and columns taken from tables that are referenced more than once
    in the view must be shielded from UPDATE.
    4. For a DELETE statement, the join can have one and only one key-preserved
    table. That table can appear more than once in the join, unless the view was
    created WITH CHECK OPTION.
    HTH
    Naveen

  • Creating View based on Current and previous data from same table

    I am trying to create a view based on a table called “my_companies”. The table has following columns: “company_id”, “start_date”, “product_type_code”, “partner_id”
    The main purpose of this view is to obtain previous company_id’s associated with a particular “partner_id“and “product_type_code”. So basically, I’m looking to create an extra column, say “prev_company_id” in the view along with all the other columns. The “previous” data can be obtained depending on the “start_date”. I’m not able to write a query successfully to do this.
    Can anyone help? Thanks in advance.

    Hi,
    Whenver you have a question, it helps to post:
    (1) The version of Oracle (and any other relevant software) you're using
    (2) A little sample data (just enough to show what the problem is) from all the relevant tables
    (3) The results you want from that data
    (4) Your best attempt so far
    Executable SQL statements (like "CREATE TABLE AS ..." or "INSERT ..." statements) are best for (2).
    Formatted tabular output is okay for (3). Type before and after the tabular text, to preserve spacing.  The sample results should include any special cases that you foresee, such as one company having many previous companies, or vice-versa.
    It sounds like might need a +self-join+, where you have two copies of the same table, as if the current companies were in one table and the previous companies were in another, even though they are all actually in the same table.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • DB view was enhanced in R/3 - how to get new fields in view based ds

    Hi Folks,
    in R/3 a database view was changed - there two new fields.
    How do I get this two new fields into the data source structure and automatically extracted?
    Do I have to delete and re-create the data source?
    Or do I have the ability to "update the strucutre" via rsa6
    I don't have a development key so I can't check myself but I have to give detail description how to do it to folks that got a development key
    All replies appreciated.
    Thanks and best regards,
    Axel

    Hi Axel,
    1.I think first you need to update view .Go to SE11 and update view by adding new fields coming in your view .
    2.If fields are coming from same table on which table is build then you need to click on table fields button and then add those fields to your view .Then you need to update your data source table (extract structure for same).
    3.If your fields are not coming from same table or you want them to populate via lookup to some other table or via Function module then in your extract structure you need to append fields in append structure via RSA6 or RSO2 .You can also use RSA2 for changing structure .
    4.You don't need to delete and recreate data source .Just need to change view and update data source accordingly .
    Please go through this doc you will find it helpful .
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10a89c00-7dd7-2d10-6f83-cd24ee6d517c?quicklink=index&overridelayout=true
    Hope this will be helpful .
    Regards,
    Jaya Tiwari

  • Updating the BPM workspace view based on the number of instances in view

    Hi All,
    We are using ALBPM 6.0.5 enterprise with Weblogic 10 server. We have a requirement to update dynamically the view name in the left side panel in BPM workspace. Based on the number of instances created, the view(view name ABC) should carry something like "ABC(2)". 2 being the number of instances in the view. It's more like a mailbox client InBox. Depending on the number of mails, the Inbox changes the number highlighting new mails.
    I've tried using the Workspace API to update the cusom decorator class getRow() method to update the view CSS property. But it doesn't seem to work. All I'm able to do with the decorator class is to update the propeties of instances, but not other panels?
    Is there any API to control the panel properties in BPM workspace?
    By the way, I'm using the standard workspace without any changes.
    Any pointer will be much appreciated.
    Cheers.

    Yes, I'm hoping to fill in DataGridA with all records from dc where dc["ENTITY_ID"] = dr["ENTITY_ID"] 
    I tried your statement and received the following errors:
    Error 1
    The left-hand side of an assignment must be a variable, property or indexer
    C:\ISMG_7210\MedicalSequenceDataAnalysisProject\OTCS_Algorithm\OTCS_Algorithm\Form1.cs
    87 71
    OTCS_Algorithm
    Error 2
    Cannot implicitly convert type 'object' to 'int'. An explicit conversion exists (are you missing a cast?)
    C:\ISMG_7210\MedicalSequenceDataAnalysisProject\OTCS_Algorithm\OTCS_Algorithm\Form1.cs
    87 99
    OTCS_Algorithm
    Thank you for your help.
    Joel Fredrickson
    Yes, please follow example provided by Kristin, the error is because of missing comparison operator ==, and that the dr["ENTITY_ID"] is of type object that needs to be converted to int. I've updated my code, if you have Entity_ID in your DB as
    double use Convert.ToDouble instead.
    Fouad Roumieh

  • Need to trigger workflow based on change to one field in Warranty Claim

    Hi All,
    I have defined a workflow for the Warranty Claim system with triggering event as CHANGE in BO BUS2222. The workflow is triggerred and everything goes on smoothly. The only thing I need to address is this workflow should be triggerred ONLY when one particular field(CLERK) of the Warranty is changed. I have tried using the field restrictions in transaction SWEC for the Change Object but that doesnt seem to work and my workflow is triggerred on any change I make to the Warranty. Any pointers regarding this issue?
    Regards,
    Karthik

    You will have to fetch the value based on your objectkey. I don't know what is your object key.
    Declare: OBJTYPE like OBJTYPE
    OBJKEY LIKE SWEINSTCOU-OBJKEY
    EVENT   LIKE   SWETYPECOU-EVENT   
    RECTYPE  LIKE SWETYPECOU-RECTYPE  in the import parameter of your func module.
    EVENT_CONTAINER    like SWCONT       in tables of func module.
    In source code do these declarations apart from your other declarations which is required  DATA: lv_object_key  LIKE sww_contob-objkey ,
            lv_event       like SWETYPECOU-EVENT,
            lv_objtype     like SWETYPECOU-OBJTYPE,
    Now say for an example your object key is sales order and you want only those orders for which order type is OR (standard sales order).
    Then you can  fetch the order type from any of the sales table and check if it is OR or not. Here your input will be lv_object_key.
    eg: select order type from vbap where sales order =l v_object_key. Some logic like this.
    If it is not OR then raise an error.
    In this case when the required condtion is not satisfied the workflow won't be triggered.
    Get back to me if you are facing problems
    Thanks and Regards,
    Shweta Verma

  • Ap_vendor_pub_pkg.update_vendor_site API is not updating a field

    Hello
    I want to update the Calculate Tax field on the supplier site level.
    I am using the ap_vendor_pub_pkg.update_vendor_site API to update the ap_supplier_sites_all.auto_tax_calc_flag field. But the API does not update the field. I want to change the value of the auto_tax_calc_flag from 'L' or 'N' to 'Y'
    I am running the API as a concurrent request. Thus the org_id should be set when you use the relevant responsibility
    Below is my code. Am I missing a parameter? The API does complete successfully. The ap_supplier_sites_all table does show as updated when you look at the last_update_date field. But the auto_tax_calc_flag value does not change
    Any ideas why the api is not updating
    create or replace procedure apps3_mtnaol.mtn_update_supp_sites(errbuf in out varchar2, retcode in out number) is
    v_error_message varchar2(3000);
    l_vendor_site_rec ap_vendor_pub_pkg.r_vendor_site_rec_type;
    l_return_status varchar2(1000);
    l_msg_count number;
    l_msg_data varchar2(2000);
    l_msg_dummy varchar2(3000);
    l_output varchar2(3000);
    l_vendor_name varchar2(3000);
    l_vendor_number varchar2(3000);
    l_vendor_site_code varchar2(3000);
    v_vendor_site_code varchar2(3000);
    v_vendor_site_id number;
    v_party_site_id number;
    l_remmitance_email varchar2(2000);
    v_party_id number;
    v_party_site_name varchar2(3000);
    v_ext_payee_rec iby_disbursement_setup_pub.external_payee_rec_type;
    cursor c_1
    is
    select segment1
    ,vendor_name
    ,vendor_id
    --,vendor_site_id --vendor_site_id from org_id 22970
    ,vendor_site_code
    ,vendor_type_lookup_code
    ,org_id
    ,party_id
    ,party_site_id
    from mtn_supplier_site_22970
    where 1 = 1
    and segment1 = '661699';
    begin
    for rec in c_1 loop
    select assa.vendor_site_id -- get vendor_site_id from org_id 5001
    ,assa.party_site_id
    into v_vendor_site_id
    ,v_party_site_id
    from ap_supplier_sites_all assa
    where 1=1
    and org_id = 5001
    and assa.vendor_id = rec.vendor_id
    and vendor_site_code = rec.vendor_site_code;
    select party_id
    ,party_site_name
    into v_party_id
    ,v_party_site_name
    from hz_party_sites
    where 1=1
    and party_site_id = v_party_site_id;
    fnd_msg_pub.delete_msg(null);
    fnd_msg_pub.initialize();
    l_return_status := '';
    l_msg_count := '';
    l_msg_data := '';
    l_vendor_site_rec.vendor_site_code := rec.vendor_site_code;
    l_vendor_site_rec.auto_tax_calc_flag := 'Y'; --calculate_tax field that needs to be set to Yes
    l_vendor_site_rec.org_id := 5001;
    l_vendor_site_rec.vendor_id := rec.vendor_id;
    l_vendor_site_rec.party_site_id := v_party_site_id;
    l_vendor_site_rec.party_site_name := v_party_site_name;
    v_ext_payee_rec.payee_party_id := v_party_id;
    v_ext_payee_rec.supplier_site_id := v_vendor_site_id;
    v_ext_payee_rec.payee_party_site_id := v_party_site_id;
    v_ext_payee_rec.payer_org_id := 5001;
    ap_vendor_pub_pkg.update_vendor_site(p_api_version => 1.0,
    p_init_msg_list => fnd_api.g_true,
    p_commit => fnd_api.g_true,
    p_validation_level => fnd_api.g_valid_level_full,
    x_return_status => l_return_status,
    x_msg_count => l_msg_count,
    x_msg_data => l_msg_data,
    p_vendor_site_rec => l_vendor_site_rec,
    p_vendor_site_id => v_vendor_site_id
    l_output := '';
    if l_return_status <> 'S' then
    for i in 1..l_msg_count loop
    fnd_msg_pub.get(i, fnd_api.g_false, l_msg_data, l_msg_dummy);
    l_output := l_output || (to_char(i) ||': '|| substr(l_msg_data,1,250));
    fnd_file.put_line(fnd_file.output, 'Unsuccessful Update:'||l_return_status||': '||l_msg_count||', '||l_output);
    fnd_file.put_line(fnd_file.output, 'Vendor Number: ' ||l_vendor_number);
    fnd_file.put_line(fnd_file.output, 'Vendor Name: ' ||l_vendor_name);
    fnd_file.put_line(fnd_file.output, 'Vendor Site Code: ' ||l_vendor_site_code);
    fnd_file.put_line(fnd_file.output, 'Calculate Tax: ' ||l_vendor_site_rec.auto_tax_calc_flag);
    end loop;
    else
    fnd_file.put_line(fnd_file.output, 'Successful Update:' ||l_return_status||': '||l_msg_count||', '||l_output);
    fnd_file.put_line(fnd_file.output, 'Vendor Number: ' ||l_vendor_number);
    fnd_file.put_line(fnd_file.output, 'Vendor Name: ' ||l_vendor_name);
    fnd_file.put_line(fnd_file.output, 'Vendor Site Code: ' ||l_vendor_site_code);
    fnd_file.put_line(fnd_file.output, 'Calculate Tax: ' ||l_vendor_site_rec.auto_tax_calc_flag);
    end if;
    commit;
    end loop;
    exception when others then v_error_message:= 'Other error: ' || SQLERRM;
    fnd_file.put_line(fnd_file.output, 'Error Message: '||v_error_message);
    fnd_file.put_line(fnd_file.log,'***************************************************************************');
    fnd_file.put_line(fnd_file.log, 'Other error: ' || SQLERRM);
    fnd_file.put_line(fnd_file.log,'***************************************************************************');
    end;
    /

    Yes the API works outside my code.
    I have used this exact same API to successfully update other fields on the ap_supplier_sites_all table like hold_unmatched_invoices_flag, match_option, pay_group_lookup_code, pay_date_basis_lookup_code, and always_take_disc_flag fields

  • Update some fields  in Internet

    Hi to all,
    customer having some fields display in his homepage(internet)..
    he wants to update somemore fields to that....so ill create a internal table with fields below what he wants..
    ABLES: MARD, /UPM/GTB10.
    DATA: BEGIN OF ABCD OCCURS 0,
          EXTMATLGRP TYPE /UPM/GTB10-EXTMATLGRP,
          LAGERORT TYPE /UPM/GTB10-LAGERORT,
          MATERIAL TYPE /UPM/GTB10-MATERIAL,
          LAGERPLATZ TYPE /UPM/GTB10-LAGERPLATZ,
          BESCHREIBUNG TYPE /UPM/GTB10-BESCHREIBUNG,
          VIN TYPE /UPM/GTB10-VIN,
          HERSTELLER TYPE /UPM/GTB10-HERSTELLER,
          VCOLOR TYPE /UPM/GTB10-VCOLOR,
          KILOMETER TYPE /UPM/GTB10-KILOMETER,
          ENOTIZ TYPE /UPM/GTB10-ENOTIZ,
          NETPR TYPE /UPM/GTB11-NETPR,
          BEDAT TYPE EKKO-BEDAT,
        LABST TYPE MARD-LABST,
          LABST TYPE /UPM/GTB10-QUANTITY,
          MATNR TYPE MARD-MATNR,
          END OF ABCD.
    DATA: LABST LIKE MARD-LABST.
    select single MATNR from MARD into MARD-MATNR where LABST > 0.
    select * from /UPM/GTB10 INTO CORRESPONDING FIELDS OF TABLE ABCD FOR ALL
    ENTRIES IN ABCD WHERE LABST > 0.
    and correct the select option.............
    And,...
    in the report i have write coding for downloading the data with
    OPEN DATASET and
    CALL FUNCTION 'GUI-DOWNLOAD'...
    so tell me or give me an example idea to write the DOWNLOADING CODING...
    RAJU

    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        filename                      = filename
        filetype                      = 'ASC'
      TABLES
        data_tab                      = file_tab
    EXCEPTIONS
      FILE_WRITE_ERROR              = 1
      NO_BATCH                      = 2
      GUI_REFUSE_FILETRANSFER       = 3
      INVALID_TYPE                  = 4
      NO_AUTHORITY                  = 5
      UNKNOWN_ERROR                 = 6
      HEADER_NOT_ALLOWED            = 7
      SEPARATOR_NOT_ALLOWED         = 8
      FILESIZE_NOT_ALLOWED          = 9
      HEADER_TOO_LONG               = 10
      DP_ERROR_CREATE               = 11
      DP_ERROR_SEND                 = 12
      DP_ERROR_WRITE                = 13
      UNKNOWN_DP_ERROR              = 14
      ACCESS_DENIED                 = 15
      DP_OUT_OF_MEMORY              = 16
      DISK_FULL                     = 17
      DP_TIMEOUT                    = 18
      FILE_NOT_FOUND                = 19
      DATAPROVIDER_EXCEPTION        = 20
      CONTROL_FLUSH_ERROR           = 21
      OTHERS                        = 22
    pass the data internal table and the fil;ename to this fm..

  • Changing MDACH ( action control ) in PLAF table in Inbound CIF in ECC

    Hi Experts,
    We have a requirement wherein Planned Orders are coming from APO to ECC systems. There Order Category can be both 'EE' ( SNP Order ) and 'AI' ( PPDS Order ).
    We want to update MDACH field in PLAF based on the value of ATPCAT of order coming from APO system.
    We tried to leverage Enhancement CIFORD01 but i guess that can be used to change order data only and not updating fields of a ECC table.
    Inputs will be appreciated.
    Thanks
    Gaurav

    Hi Gaurav,
    Try with: CIFORD03 (EXIT_SAPLCORD_005).
    I have debbuged the CIF and it goes thru this exit.. I am not seeing the CIF going thru (EXIT_SAPLCORD_001) or (EXIT_SAPLCORD_002) that are from Enhancement CIFORD01.
    Kind Regards,
    Mariano

  • Unable to update a field using the Data tab on a VIEW

    When viewing data using a VIEW instead of going to the table directly, am unable to change the values in any of the fields
    When I click on the list of VIEWs for a schema, then select a view that is based on a SELECT statement for a single table with a Primary key, and then click on the DATA tab to modify the value in one of the fields, SQL Developer does not allow me to change the value.
    Went into SQL Plus, and was able to execute an UPDATE statement against the same row of that VIEW, and update that field ("UPDATE vw_mytable SET thisfield = 'YES' WHEN row_id_number = 1'").
    Does SQL Developer not allow updating tables through a VIEW?
    Will it allow updating in the future? Please say yes.
    Oracle 10g DB and latest version of SQL Developer.

    Remember to add feature requests and vote on them on the SQL Developer Exchange!
    <br>
    <p>We have added updateable views to 1.1, but do remember, not all views are updateable - even in SQL*Plus.</p>
    <br>
    Sue

  • View based form updation in 6i and 10g forms.

    Hi All,
    I am facing a strange problem.
    I created a form based on a view, which is based on a single table. i made a copy of the form and converted it to 10g.
    When running in 6i, i can update the data through forms. But in 10g, its showing FRM-40602: Cannot insert into or update data in a view.
    Can anyone tell what is wrong?
    Thanks & Regards,
    Manu.

    hi Manu
    How to insert new record or update existing record using a complex view?
    to make dml against a complex view with instead of triggers a reality. There should be no need to write an on-update trigger in your form. Indeed, the reason for a view and instead-of-trigger on that view is so that you do not require additional coding in your form.
    1) you need the instead-of-trigger on the view (confirm it is there)
    2) you need to change the locking mode in the form for the block based on your view so that it uses the logical key for locking purposes. There is a lock mode setting somewhere in the block properties page, find it, understand the differences and pick the righ tone (I forget at this moment which on it is, try them all if necessary).
    3) #2 will involve selecting those fields that map to the business identifier/primary key you want to you use for finding rows. You need to visit each field's property page and set the appropriate attribute to indicate that is is part of the key used to find rows. It is there on the properties page but not having forms available at the moment I cannot give you the property name. You will have to do a little exploring to find it.
    If you do these things, the error should go away and the view become updatable via oracle forms without the need to write any on-update trigger.
    Do some testing at the database level first. Make sure you can update the view directly via sqlplus first with the instead-of-trigger before you attempt it in the form. This will ensure that your issue is forms related and not database related. This is an important step because the database will return a similar error to what you have reported if the instead-of-trigger does not exist on the view.
    sarah

  • Inserting/updating data in control block based on view

    Hi!
    I`ve created a block based on a view to display data.
    I want this block to be insertable and updateable, that is I will use a on-insert/update trigger to call an insert/update procedure located in the database.
    When trying to change/insert a value in the block, the error message "Error: Can not insert into or update data in a view" pops up. I`ve tried to get rid of this error, without success.
    How can I make a data block based on a view insertable and updateable?
    My guess is that this have something to do with locking the records(there is no rowid in the view)... but I'm not sure.
    Pls advise!!

    Morten
    As well as on-update, on-insert, on-delete triggers you also need an on-lock,
    (even though it might just contain null;) otherwise the form will try to lock the view and fail.
    Actually your terminology is wrong, the block being based on a table or view is not a control block. A control block is not based on anything and has no default functionality for communicating with the database. If it was a control block, the on- triggers would not fire.

  • Screen Field Value Should be changed based on changes in ALV values

    Hi All,
    We had created a ALV with container, in this Alv we have a checkbox, which is editable.
    Based on the selection on checkbox , we need to update a field "Total selected" on screen.
    we are using Event to handle data changed in ALV, but some how it doesn't work.
    we even tried to use 'DYNP_VALUES_UPDATE' Function module to Update the field.
    Please find the code below.
    LOOP AT gt_final INTO gw_final WHERE mark EQ 'X'.
              gv_sel  = gv_sel  + 1.
    ENDLOOP.
            lw_dynpfields-fieldname = 'GV_SEL'.
            lw_dynpfields-fieldvalue = gv_sel .
            APPEND lw_dynpfields TO lt_dynpfields.
            CALL FUNCTION 'DYNP_VALUES_UPDATE'
              EXPORTING
                dyname               = 'Z_MAINPROG'
                dynumb               = '0300'
              TABLES
                dynpfields           = lt_dynpfields
              EXCEPTIONS
                invalid_abapworkarea = 1
                invalid_dynprofield  = 2
                invalid_dynproname   = 3
                invalid_dynpronummer = 4
                invalid_request      = 5
                no_fielddescription  = 6
                undefind_error       = 7
                OTHERS               = 8.
            IF sy-subrc <> 0.
              MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
            ENDIF.
    We get Sy-subrc as 0. No error and no update.
    Thanks in advance.
    Regards,
    Ravi

    Do you flush to synchronize the itab from frontend?
    In Debugger, is the column updated via 'X' for the checkboxes?
    please insert cl_gui_cfw=>flush.  to sync in PAI before analyzing the table.
    Regards,
    Christian

  • How to use KAUF_AUFNR_CHANGE  to change Process order and Update a field

    Hello ,
    I am working on 4.6C system and I hve a requirement to change Process order and Update a field value passed from a ABAP Program. I am looking for suitable Function modules or Bapi ( available in 4.6c) .
    I have come across FM KAUF_AUFNR_CHANGE . Would appreciate any guidance on how to use the FM in my program and Update a field in the Process order.
    Many Thanks!

    All the importing parameters of this function module have a striaght structure of the transperent tables...
    i have checked the code and it has a modify statement based on the importing parameter..
    pick one record in databas and pass it to the importing parameters, with some values changed...
    i think that should work
    what values  to pass the import values of FM -KAUF_AUFNR_CHANGE.
    Edited by: ssm on Aug 4, 2011 7:19 PM

  • Powershell script to update a field value (recursively) in sharepoint form a .CSV file and not changing the updated by value

    need to run through a list of old to new data (.csv) file and change them in a sharepoint list - can not make it work
    here is my base attempt.
    $web = Get-SPWeb site url
    $list = $web.lists["List Name"]
    $item = $list.items.getitembyid(select from the items.csv old)
    $modifiedBy = $item["Editor"]
    #Editor is the internal name of the Modified By column
    $item["old"] = "new from the .csv file parsed by power sehll
    $ite.Syste,Update($false);
    $web.Dispose()

    Hi,
    According to your description, my understanding is that  you want to update SharePoint field value from a CSV file recursively.
    We can import CSV file using the Import-CSV –path command, then update the field value in the foreach loop.
    Here is a code snippet for your reference:
    Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
    $csvVariable= Import-CSV -path "http://sp2010.contoso.com/finance/"
    # Destination site collection
    $WebURL = "http://sp2010.contoso.com/sites/Utility/"
    # Destination list name
    $listName = "Inventory"
    #Get the SPWeb object and save it to a variable
    $web = Get-SPWeb -identity $WebURL
    #Get the SPList object to retrieve the list
    $list = $web.Lists[$listName]
    #Get all items in this list and save them to a variable
    $items = $list.items
    #loop through csv file
    foreach($row in $csvVariable)
    #loop through SharePoint list
    foreach($item in $items)
    $item["ID #"]=$row."ID #"
    $item.Update()
    $web.Dispose()
    Here are some detailed articles for your reference:
    http://blogs.technet.com/b/stuffstevesays/archive/2013/06/07/populating-a-sharepoint-list-using-powershell.aspx
    http://social.technet.microsoft.com/wiki/contents/articles/25125.sharepoint-2013-powershell-to-copy-or-update-list-items-across-sharepoint-sites-and-farms.aspx
    Thanks
    Best Regards
    Jerry Guo
    TechNet Community Support

Maybe you are looking for

  • Cannot open Robohelp 8 project in Robohelp 9

    I cannot open my old Robohelp 8 projects from Robohelp 9. When I open it, it shows me a prompt to make a backup and upgrade the project. Then I click Upgrade, it returns an error: "open project was cancelled or the application was unable tp load the

  • Can only import one or two songs at a time from a cd into itunes

    Please help. I had a new hard drive put into my imac flat panel g4. When I try to import music from a cd into itunes it closes or freezes itunes after one or two songs have been imported.

  • RE: Using the Currency Object

    Hi I tried using the currency object to display the currency symbol for the UK and Europe, here is an example of what I did String currency = Currency.getInstance("EUR").getSymbol(); or for the UK String currency = Currency.getInstance("GBR").getSymb

  • BI 7.0- Filled Cube- Change Attribute as NAVIGATIONAL and for BEX

    Hi, We are on BI 7.0. I have the following task: Making an Attribute NAVIGATIONAL and making it available in the BEX for a Filled LIVE Cube. Questions: 1.  Is it done through Remodelling or is it just change the attribute to NAV and add the Attribute

  • Error Running jar file on Linux Server

    Hi, I recently wrote a small program to be run together when apache is being start up on the server. When the bin/startup.sh is executed, my program will be run together exec java -classpath ./ZipLogs.jar com.btsoft.magic.zip.ZipFile I included this