BAPI to update a single characteristic in IE02

Hi,
      I am trying to update a single characteristic in IE02.I am able to do that with the BAPI "BAPI_OBJCL_CHANGE",but this BAPI is updating only 1 characteristic and is initializing all the remaining characteristcs.
      Any pointers on this is highly appreciable.
Navin

Hi,
the documentation of the bapi says:
Caution
This BAPI only changes the parameters of an existing assignment (or creates a whole new assignment), but it does not delete the assignment to a class and replace it with an assignment to another class. If you want to reassign an object, the old assignments must be read with BAPI_OBJCL_GETCLASSES and deleted with BAPI_OBJCL_DELETE, then the new assignments must be created with BAPI_OBJCL_CREATE.
The information transferred by this BAPI replaces all old information. An empty field means "delete entry!", not "no change".
This BAPI does not change the database. To change the database, call BAPI BapiService.TransactionCommit afterwards.
You can only use this BAPI for objects that are not classes!
This BAPI only processes assigned values for classification - not for configuration
so i guess you have to pass all information you do not want to lose.
i´ve  found this as well:
http://www.sapfans.com/forums/viewtopic.php?t=125320
Best regards.
Edited by: Pablo Casamayor on Jan 2, 2009 7:08 PM

Similar Messages

  • FM/BAPI to update sales order item characteristic values

    Hi experts,
    I have an urgent requirement on changing the characteristic values of a sales order item (VA01/VA02). Is there any FM or BAPI to update the characteristc values?
    Points will be awarded.
    Regards,
    Leo

    Hi,
    I need an FM/BAPI that can be run inside user exit USEREXIT_SAVE_DOCUMENT_PREPARE to update the item configuration. I tried the FM you have given me but it didn't work. If you have sample codes that can update the configuration values of the sales order item, it will help me a lot. Thanks!
    Regards,
    Leo

  • BAPI to update data in KNA1 and ADR* tables

    Hi,
    I have to change customer data via BAPI.
    I'm searching for a BAPI that updates KNA1 and ADR* tables.
    (so that data will be coherent).
    I found BAPI_CUSTOMER_CHANGEFROMDATA1 but it seems to only update KNA1
    and BAPI_ADDRESSORG_CHANGE that only updates ADR* tables.
    Can you help me ?
    Thanks,
    Sandrine.

    I came accross such a requirement but couldn't find a single function module.
    I think try using both the FM's else BDC is the only option left.
    you can use the FM "DEBITOR_BDCDATA" to get the BDC data for vendor and then edit it to add the address fields required.

  • BAPI to update payr table

    Hi
    I need to update PAYR database table
    Is there any BAPI to update this table

    If there is a BAPI function then you could use that - using some of the other direct update functions or methods suggested is likely to leave you with data integrity issues.
    If there is no BAPI, check what normal transaction codes are available to perform the update and use a BDC or CALL TRANSACTION using them.  There also might be a SAP supplied program which does the updates you need.  You may need to implement user exits in the transaction to get the functionality also.
    Updating the single table in isolation can cause problems - for example does this table have change history objects associated with it that SAP transactions would update?
    Andrew

  • BAPI to update EKPO-LOEKZ

    Hello All,
    Is there a BAPI to update ekpo-loekz field.
    Thanks
    Aravind

    Hi Arvind
    Currenty you are passing only one line in the FM not internal table for the poitmes...
    Main thing is you have to pass internal table for line items inf BAPI BAPI_PO_CHANGE instead of work area or single line
    ** Fill purchase order from ekko
        l_purchaseorder = wa_ekko-ebeln. " Try to use EKKO-EBELN and change the logic accordingly..
    LOOP AT it_ekpo INTO wa_ekpo where ebeln = wa_ekko-ebeln. " B4 this write FOR ALL ENTRIES logic to fill EKPO
        CLEAR: l_purchaseorder,
               l_r_poheader,
               l_r_poheaderx.
        l_poitem-po_item = wa_ekpo-ebelp.
        l_poitem-delete_ind = C_X.
        APPEND l_poitem.
        l_poitemx-po_item = wa_ekpo-ebelp.
        l_poitemx-PO_ITEMX = C_X.
        l_poitemx-delete_ind = C_X.
        APPEND l_poitemx.
    ENDLOOP.
    CALL FUNCTION 'BAPI_PO_CHANGE'
             EXPORTING
                  purchaseorder = l_purchaseorder
             TABLES
                  return        = l_t_return
                  poitem        = l_poitem[] " Pass Internal Table instead of one row
                  poitemx       = l_poitemx[] . " Pass Internal Table instead of one row
        IF sy-subrc = 0.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
               EXPORTING
                    wait = C_X
       ENDIF.
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7
    ilesh Nandaniya

  • How to update a Single App

    Hello,
    maybe its a stupid question, but: how is the updating process using a single app?
    Until now we created auto-renewable apps with newsstand using dps folio producer
    itunes connect and viewer builder. We build the issues at the in-app purchases and
    use the unique product-id we specified before in folio producer. That allows apple
    to find the right issue and allows updates as well, right?!?
    Right now i createad a single app without in-app purchases but i can't specify or
    write anywhere the product-id!? Do i have to publish the folio in folio producer,
    export the hole folio, recreating the hole distribution-viewer and re-upload to
    itunes connect? If we only want to update two stacks, should we update them all?
    I want to repeat my self: its a stupid question, but i have no idea, sorry... I'm a rookie...

    The Product ID in a single-issue app isn't important. Updating a single-issue app is fairly painless:
    1. In Folio Builder/Folio Producer, edit the articles, upload them, update folio, export .zip file.
    2. In Viewer Builder, edit the existing app. Specify the new .zip file. Download, sign and test .ipa file. Download and sign .zip file.
    3. In iTunes Connect, create a new version for your app. Use App Loader to submit new build to Apple.
    Whether you want to fix a single typo or rebuild the entire issue, the steps are the same.

  • How to update a single field in Word macro

    Hello,
    I am trying to create an AutoOpen() macro that will update the file name and path when user opens in a Word document, but I can't seem to find anything explaining how to update a single field, specifically the {FILENAME \p} field.  There
    are other fields in the document, so I do not want to update all the fields.  Most of the links I found only explain how to update ALL fields. Can somebody please tell me how I can update only the filename and path field using an autoopen macro?
    Thank you

    Stefan's response is correct.
    Here is a macro that should update only filename fields.
    Sub FileNameFieldUpdateAllStory()
    ' Written by Charles Kyle Kenyon 15 November 2001 - modified for filename 10 Sept 2014
    ' repaired by Jezebel
    ' All Story Field Updater - Filename fields
    Dim oField As Field
    Dim oStory As Range
    ' On Error Resume Next
    For Each oStory In ActiveDocument.StoryRanges
    ' This goes into headers and footers as well as the regular document
    Do
    For Each oField In oStory.Fields
    If oField.Type = wdFieldFileName Then
    oField.Update
    End If
    Next oField
    Set oStory = oStory.NextStoryRange
    Loop Until oStory Is Nothing
    Next oStory
    End Sub
    See Installing Macros for help in using this.
    Charles Kenyon Madison, WI

  • Update a single column of a table

    Hi Champs,
    I want to update a single column of table PA0000.
    Following is ABAp code I am using:
    UPDATE pa0000 SET massn = wa_upd_actn71-massn
                       WHERE pernr = wa_upd_actn71-pernr AND
                              massn = c_crct_entry.
    where in current scenario wa_upd_actn71-massn = 54,
                                         wa_upd_actn71-pernr = 10005092,
                                         c_crct_entry = 71.
    But this code is not working and note updating the DB table PA0000.
    Can you help me out?
    Edited by: Nishant Khimesra on Apr 7, 2009 2:00 PM
    Edited by: Nishant Khimesra on Apr 7, 2009 2:00 PM

    hiii,
    If u want to update it thr program then write the query as update <dbtablename> set fld = value where <condn>. make sure that the values u pass are converted as per the values in database.
    2nd way is goto se16n
    specify table name and then enter &sap_edit on command line. sap editing function will be edited. specify the filter parameters on the field and then execute the transaction. u can change thd data instantly as the data appears in editable alv.
    Regards,
    Anil N.

  • Can we use two hierarchies off a single characteristic in the same query?

    Dear Bwers,
    I have a requirement where the user wants to see a query with two hierarchies at the same time on a single characteristic.Is this possible? If so please let me know how to model them in BW?
    Thanks for all the help in advance
    Raj

    Maybe you can create a copy of this characteristic and then create another hierarchy on this one.

  • How to update a single row of data table

    How we can update a single row of the data table by clicking the button in the same row.
    Thanks in Advance.

    Hi!
    What do You mean 'update'? Get fresh data from DB or change data and commit it in DB?
    If commit, try to read here:
    http://developers.sun.com/jscreator/learning/tutorials/2/inserts_updates_deletes.html
    Thanks,
    Roman.

  • BAPI for updating Maintain Duration in Transportation and Delivery scheduling

    Hi all,
    Iam looking for a BAPI to update the Duration Times in Transportation and Delivery scheduling. I reluctant to use recording on SM30 Table maintenance T code and use it in LSMW. Is there a BAPI or Standard i/p Program to load these details. I have more than 200000 records to input.
    A list of all BAPI's in Transportation Management module would be great as well.
    Regards,
    Avi

    Hi,
    @praveen: I tried the solution provided by you and it worked for me in this context. But it seems this BADI gets triggered every time the delivery is getting saved. So for my test purposes, I'm triggering this BADI in a program, but in actual scenario, the BADI would be called on every sy-ucomm = 'SICH_T' i.e. SAVE. hence, I can't separate my piece of code using this condition.
    I'm trying to call my FM(update module in collective run mode) inside this BADI in backgrnd task as a separate unit but this doesn't seem to work.
    Any more suggestions?
    Thanks
    Ashish

  • BAPI to Update the OA/PO with the new partners from vendor masters

    Hello All,
    We got a requirement to update the Contract or purchase order with new partners from vendor  master.
    In brief the partner information of a  PO when created with reference to a contract  will be reflected from the contract but not from Vendor Master partners .So when the vendor master got changed after the creation of the Contract the partner information in the PO is not in synchronous with Vendor Master partnes.
    Hence please help us with any BAPI to update the PO partners with Vendor masters .
    Regards
    Kalyani

    MAP2e_lfa1_to_bapivendor_04
    MAP2e_lfa1_to_bapivendor_05
    will be helpful

  • Need name of a function module or BAPI to update the Tax Classification val

    Hi Guru's
    Need name of a function module or BAPI to update the Tax Classification value for Material master.
    Thanks in advance.

    Hi
    U can try to use BAPI_MATERIAL_SAVEREPLICA
    Max

  • FM'S or BAPI to update the condition records in VB22 transaction

    Hi,
    I need your help in getting the FM'S or BAPI to update the condition records in sales deal.
    The transaction is VB22.
    If you can send me a smaple code it will be really helpful.
    Regards,
    Sasi

    Check this:
    http://www.sapnet.ru/viewtopic.php?p=1644
    Bapi for VK11 & VK12
    Reddy

  • BAPI to update  Profit Center Group

    Hi ,
    Is there any BAPI To update PCG ?
    Moderator message : Search for available information, duplicate thread locked.
    Edited by: Vinod Kumar on Oct 17, 2011 2:19 PM

    Hi
    Try This BAPI...
    BAPI_PROFITCENTER_CHANGE
    Regards
    Ajit

Maybe you are looking for

  • Private nullref symbol in 5.6 but not with 5.5 C++ compiler

    We try to use the libmtmalloc.so library with our project using LD_PRELOAD_32 environment variable: export LD_PRELOAD_32=/usr/lib/libmtmalloc.so.1This library provides advanced memory management and memory debugging features. We have two Solaris mach

  • File Download not working for anchor tags

    Hello, I've encountered a bug with the 4.1.31 version of Tomcat. Apparently, when I use an anchor tag for a file, and I click on the link, it does not show the file download message "Do you want to open or save this file?" with the open and save opti

  • Can I use my TV as a separate display using ATV

    Would ATV let me simply use my TV as a separate monitor for my laptop? Thanks

  • R12.1.3 AP Module Rounding Difference during Withholding Tax Calculation

    Problem Summary: Figures does not “round” While we make a payment for multiple withholding tax invoices in one go. For eg We pay Withholding Tax to a Tax Authority in one go @payment time. In this scenario there are 3 invoices which needs to be paid

  • Process chains in sequence

    Hello Experts! This is an urgent requirement. I have 2 process chains to load master data, and i want them to run one after the other. How can i do it? I read something abt local chains and meta chains, but couldnt make out how to implement that. Ple