LSMW updated other fields too

Hi Experts,
I am trying to update NAME3 field in the customer master using LSMW but out of 100 records of customers, for the 2 customers it modified other fields too on the address tab. Any comment?
Thank you,
Neha

It might have updated these fields in all 100 records. But the values might be same before and after for 98 records. You can verify this from CDPOS table.
The reason of updating unwanted fields might be the the Recording. During this after Default All click, we need to delete all unwanted field from the screen.
A possibility of this reason in your case too, once encountered by me.
Jogeswara Rao K

Similar Messages

  • How to update other field values when one field value is updating

    I am creating one ADF page.
    In one form suppose there are two fields ->
    Bank A/C [a combo box or "select one choice"]
    Balance [one Input Field]
    Now, when I am selecting one value in "select one choice" it will automatically make a query in database and fetch and show the balance in the "Balance" input field.
    How can I do that?
    Please note that I have done my development by creating entity object>view object.
    I have not used any EJB.

    Hi,
    is it ADF Business Components that your use then or POJOs? In either way, you set the select component's autosubmit property to true.
    If using ADF BC you can then create a method entry in the set<attributeName> VORowImpl file of the ViewObject that - whenever a new value is set - looksup the dependent value and sets it - call its set<attribute> method within this method.
    Define an ID property on the selectOneChoice component and set the same value to the PartialTrigger property of the textfield that you want to update
    Frank

  • 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

  • Viewobject transcient attribute update value base on other field

    Dear All,
    I have a viewobject with a transcient attribute which is calculated based on some other attributes queried from the DB. I have set the default value of the transcient field using the express:
    adf.object.viewObject.getFTType()
    and the getFTType() in the viewObjectImpl will return a string base on other fields' values;
    Then I test it in the AM Model tester and it looks fine. However, when I drag this VO to a Table in the page, the transcient field column always showing the same value on every rows instead of showing different values base on the other fields on each row.
    I've added a button to print the selected row values in the table and after I click on the button, the transcient field column is updated according to my selected row other fields' values and it updates the value for the whole column instead of only the selected row.
    I wonder if there is sth wrong I did? Thanks a lot.
    The getFTType() method is pasted here:
    public String getFTType() {   
    Row row = this.getCurrentRow();
    String ftType = "";
    try {
    if (row.getAttribute("TxType").toString().equals("99")) { // all non-GJs
    if (row.getAttribute("InputFutureTrfDate") != null) { // Future type FT
    if (row.getAttribute("TiMToMYorn") != null) {
    if (!row.getAttribute("TiMToMYorn").toString().toLowerCase().equals("y")) {
    if (row.getAttribute("TrfMethod").toString().equals("5")) {
    ftType = "ECI FT (Future)";
    } else {
    ftType = "Misc FT (Future)";
    } else {
    ftType = "Misc FT M to M (Future)";
    } else {
    if (row.getAttribute("TrfMethod").toString().equals("5")) {
    ftType = "ECI FT (Future)";
    } else {
    ftType = "Misc FT (Future)";
    } else { // non-future FT
    if (row.getAttribute("TiMToMYorn") != null) {
    if (!row.getAttribute("TiMToMYorn").toString().toLowerCase().equals("y")) {
    if (row.getAttribute("TrfMethod").toString().equals("5")) {
    ftType = "ECI FT";
    } else {
    ftType = "Misc FT";
    } else {
    ftType = "Misc FT M to M";
    } else {
    if (row.getAttribute("TrfMethod").toString().equals("5")) {
    ftType = "ECI FT";
    } else {
    ftType = "Misc FT";
    if (row.getAttribute("TxType").toString().equals("11")) {
    ftType = "GJ Interest Income";
    if (row.getAttribute("TxType").toString().equals("12")) {
    ftType = "GJ Bank Charge";
    if (row.getAttribute("TxType").toString().equals("13")) {
    ftType = "GJ Others";
    } catch (Exception e){
    e.printStackTrace();
    return ftType;
    }

    Did you set recalculate on the field you are basing its value on.
    See http://docs.oracle.com/cd/E16162_01/web.1112/e16182/bcintro.htm

  • On f4 help , want to update some other fields in same column in table

    Hi All,
    I am using table for displaying multiple line-items, but my requirements is that on F4 help in  the first field of the table, i need to fill the other two fields in the same column based on the selection made.
    Please help me out and reply me if you need any further specification.
    Thanks in Advance
    Regards,
    Gopal

    Hi Gopal,
    Create elementary search help in SE11 with your search help parameter as the table fields. select the same data type for this fields as you took  while creating your context node/attributes for table.
    I guess by using IMP/EXP parameter, if you select F4 on particular field then you will get automatically other fields value in your table row.
    Assing the new search help to your main field.
    Please try with this approach. It worked for me on my WD screen with 4-5 input fields. I am not sure 100% if this will work for table but give the try.
    Thanks,
    Chandra

  • Updating linked fields in a persistent class

    Hi all,
    If a field of a persistent class is updated, what is the best way to update a related field?
    Scenario:
    A persistent class with public GET/SET access to a table field STUFF, and public GET access to a field CATEGORY.
    Whenever SET_STUFF is called from the outside, the class should also re-evaluate and update CATEGORY.
    The easiest is to modify the SET_STUFF method to determine the new category and update it if necessary. However GET/SET methods are always overwritten whenever the class is regenerated, which happens all too easily. Can this be done a bit more elegantly?
    Most modifications can be done by redefinitions of the agent class and do not get overwritten each time the class it regenerated. e.g. I have done something similar by redefining the DB access methods to update various fields, but for my current requirement the update needs to be immediate, not during save.
    Any input appreciated,
    MIke
    Edited by: Mike Pokraka on Sep 15, 2009 4:12 PM

    Hi Naimesh,
    >
    Naimesh Patel wrote:
    > Updating the field CATEGORY immediatly would lead to some problems while working with Persistent class because of the COMMIT WORK. As soon as COMMIT WORK after the CATEGORY's "save" hits, all pending save request would execute and may update some fields which you don't want to update at that point of time.
    No COMMITs should be performed, that's part of what I'm trying to accomplish. STUFF may change several times during the lifetime of the process and CATEGORY must change with it. When the application finally does a COMMIT WORK then both are written to the DB. (In fact my real scenario involves both transient and persistent instances and multiple callers).
    My objectives are to have a readonly attribute in the persistent class that changes in response to other fields changing. It should behave as though the app is calling a SET_STUFF and a SET_CATEGORY, but the persistent class must retain control of the CATEGORY field as several applications can modify STUFF.
    My current workaround is an UPDATE_CATEGORY method that must be implemented by each caller, so it works. Layering another class above it an option but is a bit of overkill which also makes it a workaround.
    I have found that EXT_HANDLER_WRITE_ACCESS seems to provide something, but the comments in there seem to indicate I shouldn't modify the object info. Unfortunately I have run out of time to experiment this week so the workaround will have to stay for now, but I'd still be interested in a more elegant solution.
    Thanks for the input,
    MIke

  • How does the Updated by Field Work....

    Hi Experts,
    Can anyone help on how the *Updated By* field values are populated, specially when the values are updated through a Workflow.
    I read the following in the MDM Documentation.
    If trigger action is Record Add, Record Update, or Record Import for a workflow. The [System] is the creator and launcher of the job but is not a real user.
    This is even true if the Owner of the workflow is the Admin.
    After our server migration was done, instead of showing [System] as the Updated By it now shows the Admin.
    What could be the reason for this. Do i need to contact SAP or is there something that needs to be done at the respository level to get the Updated By field to work as expected.
    Regards,
    Aditya.

    Hi Aditya,
    As far as i am concerned, this is not true. Field Updated by type of User Stamp should only show user's which are there in User's table of MDM console under node Admin-->Users. When we don't have any User of repository with name System, there is no point it will show you user System for field Updated by.
    Query 1: Can you please confirm, do you have this User "system" available in your repository under node admin-->Users in MDM console ?
    Query 2: Also, After our server migration was done, instead of showing System as the Updated By it now shows the Admin.
    I seriously have doubt on this. Can you please check do you have really user System for existing records too? I mean you can do Free-form search for field Updated by with value system. I am sure even for existing records (whether in before server migration or in existing) you will not get single record with field updated by "system" . Can you please confirm on this ?
    May be I am wrong, so kindly revert with your findings and confirm above both queries..?
    Regards,
    Mandeep Saini

  • Initial download - update additional fields/execute additional funct.

    Hi All,
    We are in the process of uploading data from SAP system to CRM system as a initial download (Transaction code R3CS). Customer has a unique requirement of updating  additional fields (configurable fields) from ISU to CRM which are not covered in the initial upload program.
    Is there any enhancement/BADI/customizing available in initial or delta upload program to plug in customer specific updates/steps (ie executing Zxxx function module) ?
    Thanks in advance ,
    Nitin

    Hello Michael,
    I'd appreciate if you could forward me this document, too.
    [email protected]
    Thanks in advance & kind regards
    Wolfgang

  • Update of field FORM of table J_2IRG1BAL.

    Hi experts can u please tell what action will update the FORM field of the table J_2IRG1BAL . The FORM field indicates the material is PACKED or LOOSE.
    Its urgent Guys..
    Waiting For ur response...

    OP wrote:
    I have a update with a function that too update other table and return the >>quantity recalculedSFT wrote
    It is not possible to perform DML operations in PL/SQL function that is used in >>another SQLThe exact restrictions are:
    http://download-uk.oracle.com/docs/cd/B10501_01/appdev.920/a96590/adg10pck.htm#21790
    "When a SQL statement is run, checks are made to see if it is logically embedded within the execution of an already running SQL statement. This occurs if the statement is run from a trigger or from a function that was in turn called from the already running SQL statement. In these cases, further checks occur to determine if the new SQL statement is safe in the specific context.
    The following restrictions are enforced:
    A function called from a query or DML statement may not end the current transaction, create or rollback to a savepoint, or ALTER the system or session.
    A function called from a query (SELECT) statement or from a parallelized DML statement may not execute a DML statement or otherwise modify the database.
    A function called from a DML statement may not read or modify the particular table being modified by that DML statement.
    These restrictions apply regardless of what mechanism is used to run the SQL statement inside the function or trigger. For example:
    They apply to a SQL statement called from PL/SQL, whether embedded directly in a function or trigger body, run using the new native dynamic mechanism (EXECUTE IMMEDIATE), or run using the DBMS_SQL package.
    They apply to statements embedded in Java with SQLJ syntax or run using JDBC.
    They apply to statements run with OCI using the callback context from within an "external" C function.
    You can avoid these restrictions if the execution of the new SQL statement is not logically embedded in the context of the already running statement. PL/SQL's new autonomous transactions provide one escape
    Rgds.

  • Updating custom field in a standard table - AFVC

    Hi All,
    We have created a custom field in table AFVC. While updating other things related to that Order/Operation, we need to update this custom field.
    Can you kindly let me know how we can approach this? Do we use a direct Modify/update statement in such cases to update the standard sap table?
    Regards
    An

    Hi Ankur,
    There are few ways to do.
    1) Implement the screen field in the transaction at the operation level for visibilty to all the reason code. After updation of USER STATUS you need write the small utlity to update that field through LSMW or any other way to update this field in the transaction directly to save in the database table.
    2) AFVC means orders operation data. In this table many types of order data will store so you have to choose which type of order you are going to update whether it will be Internal order or production order or maintaineance order etc..
    3) Direct updation is last preference if there is no way for updation.
    Please let me know which order cateogry you are updating from thrid party sytem to your current system.
    As J@Y said if you are updating through some function module then in that case for BAPI's there is separate structure EXTENSION_IN and OUT to update the custom fields.
    Thanks,
    Satheesh

  • Getting a permission error while updating a field.

    hi,
    I want to update a field in OIM and push the same to OID. When i try to update it for like 20 times it woks for 18 times and doesnt work for couple of times. I check the log and i get the below error.....
    *Caused by: javax.ejb.AccessLocalException: [EJB:010160]Security Violation: User: 'xelsysadm' has insufficient permission to a*
    ccess EJB: type=<ejb>, application=Xellerate, module=xlDataObjectBeans.jar, ejb=tcLookupOperations, method=create, methodInte
    rface=LocalHome, signature={}.
    at weblogic.ejb.container.internal.MethodDescriptor.checkMethodPermissionsLocal(MethodDescriptor.java:573)
    at weblogic.ejb.container.internal.StatelessEJBLocalHome.create(StatelessEJBLocalHome.java:60)
    at com.thortech.xl.ejb.beans.tcLookupOperations_u50o5o_LocalHomeImpl.create(tcLookupOperations_u50o5o_LocalHomeImpl.j
    ava:70)
    Kindly help me to fix this.
    Thanks
    thilak

    http://bbs.archlinux.org/viewtopic.php?id=83076

  • Error in updating ALV field catalog in selection tool for Planning Book

    Hi ,
    I am Implementing BADI  '/SAPAPO/SDP_SELECTOR' to upload Custom Fields Data in Planning Book Selection Window under APO Location Product. These Custom Fields are maintained in Custom Table.So from Table whatever Custom Fields are availabe all the fields needs to be available in for selection. Once selection is done the same data to be uploaded into Planning Book.
    This BADI is working Fine upto 4 fields but if any extra fields are added in the table 'Error in updating ALV field catalog in selection tool' error Pop Up is coming. Here i am using Folloowing Methods
    1). INIT_OBJECT_LIST
    2). F4
    3). LOC_PROD_VALUE_LIST
    Please help on the same if u have any idea or clue.
    Thanks.

    Hi Srinivas!
    Where did you get your implementation from?
    It would be nice if you could debug your code!
    For the F4 method, have you seen this note?
    Note 544904 - Sample source code f.BAdI /SAPAPO/SDP_SELECTOR ('F4'method)
    Also check this note. It contains selection modifications in the BAdI:
    Note 376902 - SDP selector: Basis corrections for BADI
    I do not know your release and support package in your SCM, but you can find a lot of notes related to this BAdI.
    Thank you!
    Will
    SCM Support Consultant

  • Error in updating ALV field catalog in selection

    Dear all,
    I'm trying to use the standard transaction /SAPAPO/TSKEYFMAIN in order to check the TS values.
    After filling the selection variant, the system shows the following error:
    'Error in updating ALV field catalog in selection'
    Could you please provide me with further details about the error? What could be the possible solution to avoid it?
    Many thanks,
    SM

    Hi Marius,
    thanks for your answer.
    I would like to use the /SAPAPO/TSKEYFMAIN transaction to check massively the values in the time series KFs and not just the consistency of them.
    So do you know any other transaction to do it or do you have an idea about the error of /SAPAPO/TSKEYFMAIN?
    Thanks for your help!
    SM

  • 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

  • How do I use switch and case statements to fill more than one other field?

    Hi all,
    I'm new to the community.
    I'm trying to make an existing form more user friendly for my coworkers. I want to use a switch and case approach in a drop-down list field so that the selection fills two seperate other fields with different info related to the selection.
    I can already do this with one field, but if I add a second target field under an existing case the text doesn't appear there when I make the selection from the dropdown.
    Basically, I'm asking if I can do this:
    switch 
    (sNewSel){
       case "1": // Selection 1    Row2.Field1
    = "text for field 1";
        Row1.Field2 = "text for field 2"; 
        break;
    etc.
    It works if the "row1.field2" option isn't there, but not when it is present.
    Any takers?

    I'm not sure if I will be able to send you the form. There may be too much to redact.
    Would this last bit of code in the cell affect anything?
    if 
    (bEnableTextField)
    {Row2.Field1.access
    = "open"; // enable field
    Row2.Field1.caption.font.fill.color.value= "0,0,0"; // set caption to black
    That is, do I also need to repeat the same thing for the second target cell (Row1.Field2)?
    What would be possible hang ups that would prevent it from working correctly?
    Dave
    By the way, I'm not sure if my other attachment posted. I am trying again.

Maybe you are looking for

  • Backorder open purchase order report

    Hi All, Any item that have an open PO in the system for xx, yy & zz are coming up as backorder on the reports. Not all on order items are actually on backorder. Could you please advice what steps we need to do. Instance details: 11.5.10, Linux

  • Error message on building application

    I'm trying to build an .exe from a folder of VI's that link together, but when I try to build the .exe I get an error message which says 'Error 7 Cannot find Librarian Get Info.vi' I've added this VI to the list of VI's I'm trying to build from and t

  • Grep for removing extra paragraph returns?

    Hey all you smart people out there. Can I use GREP to remove extra paragraph returns? I'm working on basically a directory, pages and pages of names, addresses, and phone numbers imported from a Word doc. Each line has a style applied,with the first

  • How to populate Global Container

    Hi,      We have an output structure of the form-     <Record>                          occurence 1-n         <MSGFN>..</MSGFN>  occurence 1-1         <MTART>..</MTART>    occurence 1-1         <VOLUM>..</VOLUM>   occurence 1-1     </Record> I have w

  • What is the error in my program....

    class Inher { int a; a=2; class Sub extends Inher      int b;      b=a; Errors are: C:\Users\Anish\Documents\Inher.java:4: <identifier> expected a=2; ^ C:\Users\Anish\Documents\Inher.java:12: <identifier> expected b=a; ^ 2 errors