Api to update addresses

Hi,
i am trying to update the address in RA_ADDRESSES_ALL table
Is there any seeded Api to perform the same ..
thnaks and regards,
Kumar

There are open interfaces and api's on newer releases. Review irep.oracle.com and/or tca guides for your version.

Similar Messages

  • Update ADDRESS PURPOSE DETAILS for Supplier

    I am working in R12 EBS with oracle database 10g. I have a requirement to update the 'SUPPLIER ADDRESSBOOK DETAILS'.
    ACCOUNT PAYABLES RESPONSIBILITY--> SUPPLIER-->ENTRY-->SUPPLIER-->ADDRESS BOOK-->UPDATE ADDRESS
    Then you can update the supplier address details.This page contains two sections 'ADDRESS DETAILS' and 'CONTACT DETAILS AND PURPOSE'. In 'Contact Details and Purpose' section, *'Address Purpose' column contains 3 check boxes, named, 'purchasing','payment', and 'RFQ Only'.*
    My requirement is, i have 50 suppliers, i need to check these 3 check boxes of Address Purpose' for every supplier.
    I can't do it manually for each supplier; Could anyone suggest me the solution to update 'Address Purpose' for supplier. Is there any API or INTERFACE available?
    Any Suggestion is very helpful.
    Thanks in advance.

    If it is a one time task for 50 suppliers, doing it manually will be much quicker than researching and writing an interface.

  • Update ADDRESS PURPOSE FOR SUPPLIER

    I am working in R12 EBS with oracle database 10g. I have a requirement to update the 'SUPPLIER ADDRESSBOOK DETAILS'.
    ACCOUNT PAYABLES RESPONSIBILITY--> SUPPLIER-->ENTRY-->SUPPLIER-->ADDRESS BOOK-->UPDATE ADDRESS
    Then you can update the supplier address details.This page contains two sections 'ADDRESS DETAILS' and 'CONTACT DETAILS AND PURPOSE'. In 'Contact Details and Purpose' section, *'Address Purpose' column contains 3 check boxes, named, 'purchasing','payment', and 'RFQ Only'.*
    My requirement is, i have 50 suppliers, i need to check these 3 check boxes of Address Purpose' for every supplier.
    I can't do it manually for each supplier; Could anyone suggest me the solution to update 'Address Purpose' for supplier. Is there any API or INTERFACE available?
    Any Suggestion is very helpful.
    Thanks in advance.

    Hi,
    1/Do you have only these 50 suppliers in one SOB ?
    If Yes it is very easy : you have to launch the recorder with winparrot, click on each checkbox and add in the macro a loop
    (with a :BEGIN label and the Goto(:BEGIN,1) function). You can use the IfImage() function to be sure that each checkbox is checked.
    2/If you must do it for a list of 50 suppliers (and you have more than 50 suppliers in this SOB) you must record like in 1/ and :
    List the 50 suppliers in an Excel spreadsheet 1, of the XLS file $F and use the function XlsReadData($F,1, "A"&$L) where $L is the line for each supplier name.
    (use the strings "V[F11]" and "\[CTRL]V[F11]/[CTRL]" to query in forms each supplier)
    Please let us know if you succeed or need help :-) (case 1/ or /2 ?)
    Regards
    Edited by: user12065962 on 2 févr. 2011 12:31
    Edited by: user12065962 on 2 févr. 2011 12:31

  • Update address-independent telehpone of BP

    Hi all,
    We need to change address-independent telephone numbers of business partner.
    When such record already exists (telephone numbers are maintained), this can be done using function module 'BAPI_BUPA_CENTRAL_CHANGE' with TELEFONDATANONADDRESS.
    However, when address-independent telephone record does not exist (all telephone numbers are empty) - BAPI return warning 'BAPIADTEL was not found' and BP is not updated.
    We have found out that address-dependent data is updated with two separate functions: 'BAPI_BUPA_ADDRESS_ADD' and 'BAPI_BUPA_ADDRESS_CHANGE', but we have not been able to find out similar ADD function for address-independent records.
    Does anyone know how to update address-independent records (telephone, in this case) via ADD method?

    Hi Ujwal,
    I dont have a ready code right now.
    Firstly, the module BUPA_CENTRAL_GET_DETAIL can be used to get all the details of the address independent communications.
    Later for delete:
    BUPA_CENTRAL_CHANGE : For example say telephone data has to be filled.
    The corrsponding cons number has to be filled in 'IT_ADTEL_ADDR_IND' and the corresponding flag set in IT_ADTEL_ADDR_IND_X and also the update flag should be set to 'D'. In this way the telephone number can be deleted.
    For restricitng the validity, the corresponding valid from and valid to fields can be updated accordingly in the same way.
    Regards,
    Sudheer.

  • Update Address and communication  Details of BP

    Hi,
    Requirement is we need to update address and communication details of BP, please let us know relative BAPI for the same. Below roles has to be updated with given address and communication details,
    General Role
    Employee Role
    Help full information will be appreciated..

    Hi,
      For updation of address you can use
    BAPI_BUPA_ADDRESS_CHANGE.
    I guess you cannot update a role . You can only add new roles with BAPI_BUPA_ROLE_ADD .
    One more thing in address updation, Whatever fields are there in import parameter ( Address) you can update them even if they are not present in database.
    But in case of Tables( Communication details)  fields you can only update if the values are existing in database.
    Reward if helpful.
    Regards
    Sourabh

  • Updating address of a partner in crmd_order Service Contract

    Hello everybody,
               I have a requirement of updating address of partners in service contracts in SAP CRM. I have tried to create an address number and person number and pass it to crm_order_maintain but it is not working. Please help me with this.
    Thanks in advance.
    Regards,
    Srujana.

    I generated a partner set guid from the object guid and obtained new addr and person numbers by using this partner set guid. I am then passing them to crm_order_maintain using the following code but it doesnot seem to work. Please refer to this code and help me.
    data: doc_id TYPE char32,
          new_addrnr TYPE AD_ADDRNUM,
          new_addrnp TYPE AD_PERSNUM.
    *doc_id = wa_ls_orderadm_h-guid.
    DATA: partner_set_guid TYPE crmt_object_guid.
    CALL FUNCTION 'CRM_LINK_GET_OW'
      EXPORTING
        iv_guid_hi                     = wa_ls_orderadm_h-guid
       IV_OBJNAME_HI                  = 'ORDERADM_H'
       IV_OBJNAME_SET                 = 'PARTNER'
      IV_GET_ALL                     =
       IV_INHERIT_FROM_STR            = 'X'
    IMPORTING
      ET_LINK                        =
       EV_GUID_SET                    = partner_set_guid
    EXCEPTIONS
       INVALID_INPUT_DATA             = 1
       NO_ALLOCATED_OBJ_FOUND         = 2
       UNDEFINED_INTERNAL_ERROR       = 3
       OTHERS                         = 4
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'COM_PARTNER_ADDRESS_COPY'
      EXPORTING
        iv_caller                  = 'CRM'
        IV_DOCUMENT_ID             = doc_id
        iv_partnerset_guid         = partner_set_guid"'00000000000000000000000000000000'
        iv_addr_nr                 = ls_partner_wrk-addr_nr
        IV_ADDR_NP                 = ls_partner_wrk-addr_np
        iv_addr_type               = '2'
      IV_CONVERSION_3_TO_2       = ' '
      IV_MAKE_EMPTY              = ' '
      IV_NEW_ADDRESS_TYPE        = ' '
    IMPORTING
       EV_NEW_ADDR_NR             =  new_addrnr
       EV_NEW_ADDR_NP             = new_addrnp
      EV_NEW_ADDR_TYPE           =
    EXCEPTIONS
       ERROR_OCCURRED             = 1
       PARAMETER_ERROR            = 2
       OTHERS                     = 3
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    i passed the generated addrnr and addrnp to the crm_order_maintain as follows
    wa_partner1-addr_nr        = new_addrnr."ls_partner_wrk-addr_nr.
    wa_partner1-addr_np        = new_addrnp."ls_partner_wrk-addr_np.
    wa_partner-addr_nr        = new_addrnr."ls_partner_wrk-addr_nr.
    wa_partner-addr_np        = new_addrnp."ls_partner_wrk-addr_np.
    wa_partner-addr_type      = ls_partner_wrk-addr_type.
    INSERT wa_partner INTO TABLE it_partner.
    APPEND wa_partner_att TO it_partner_att.
       INSERT wa_field_names INTO TABLE it_field_names.
        wa_field_names-fieldname  = 'ADDR_NP'.
        wa_field_names-CHANGEABLE  = 'B'.
        INSERT wa_field_names INTO TABLE it_field_names.
        wa_field_names-fieldname  = 'ADDR_NR'.
        wa_field_names-CHANGEABLE  = 'B'.
        INSERT wa_field_names INTO TABLE it_field_names.
        wa_field_names-fieldname  = 'ADDR_ORIGIN'.
        wa_field_names-CHANGEABLE  = 'B'.
        INSERT wa_field_names INTO TABLE it_field_names.
        wa_field_names-fieldname  = 'ADDR_TYPE'.
        wa_field_names-CHANGEABLE  = 'B'.
        INSERT wa_field_names INTO TABLE it_field_names.
        wa_field_names-fieldname  = 'STD_BP_ADDRESS'.
        wa_field_names-CHANGEABLE  = 'B'.
        INSERT wa_field_names INTO TABLE it_field_names.
    DATA : lv_bp TYPE bu_partner,
             lv_bp_log(16) TYPE c,
             lv_partner_guid TYPE bu_partner_guid,
             lv_msg_text TYPE bapi_msg,
             lv_error_text TYPE char8000,
             lv_bpbp(4) TYPE c VALUE 'BPBP',
             lv_logical_key TYPE crmt_logical_key,
             lv_length TYPE i.
    SELECT SINGLE partner FROM but000 INTO lv_bp  WHERE partner_guid = wa_partner-partner_no.
    *Building Logical Key for maintaining partner
          CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
            EXPORTING
              input  = lv_bp
            IMPORTING
              output = lv_bp.
          CONDENSE lv_bp NO-GAPS.
         lv_bp_log = lv_partner_guid+0(10) ."lv_bp.
          CONDENSE lv_bp_log NO-GAPS.
          CONCATENATE '0000'
                      'Z0000009'
                      lv_bp_log
                      lv_bpbp
                      INTO lv_logical_key
                      RESPECTING BLANKS.
       wa_input_fields-ref_handle  = lv_handle.
    wa_input_fields-ref_guid = wa_ls_orderadm_h-guid.
    wa_input_fields-ref_kind    = 'A'.
    wa_input_fields-objectname  = 'PARTNER'.
    *wa_input_fields-ref_handle  = '0000000001'.
    wa_input_fields-logical_key = lv_logical_key.
    wa_input_fields-field_names = it_field_names.
    INSERT wa_input_fields INTO TABLE ct_input_fields.
    DATA: lv_created_partnerset_guid           TYPE CRMT_OBJECT_GUID.
    CALL FUNCTION 'CRM_ORDER_MAINTAIN'
    EXPORTING
       IT_PARTNER                    = it_partner
    IMPORTING
       ET_EXCEPTION                  = it_exception
    CHANGING
      CT_ORDERADM_H                 =
      CT_ORDERADM_I                 =
       CT_INPUT_FIELDS               = ct_input_fields
      CV_LOG_HANDLE                 =
      CT_PARTNER_ATTRIBUTES         =
      CT_DOC_FLOW                   =
    EXCEPTIONS
       ERROR_OCCURRED                = 1
       DOCUMENT_LOCKED               = 2
       NO_CHANGE_ALLOWED             = 3
       NO_AUTHORITY                  = 4
       OTHERS                        = 5
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *ENDIF.
    *CALL FUNCTION 'CRM_PARTNER_MAINTAIN_SINGLE_OW'
    EXPORTING
      IV_REF_GUID                      = wa_ls_orderadm_h-guid
      IV_REF_KIND                      = ls_partner_wrk-ref_kind
      IS_PARTNER_COM                   = wa_partner1
      IV_POPULATE_MODE                 = 'X'
      IV_CHECK_PARTNER_ONLY            = ' '
      IS_PARTNER_CONTROL               = wa_partner_control
    IMPORTING
      EV_CREATED_PARTNERSET_GUID       = lv_created_partnerset_guid
    CHANGING
      CT_INPUT_FIELD_NAMES             = it_field_names
      CT_PARTNER_ATTRIBUTES_COM        = it_partner_att
    EXCEPTIONS
      ERROR_OCCURRED                   = 1
      OTHERS                           = 2
    *IF sy-subrc = 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ELSE.
    DATA: IT_SAVED_OBJECTS TYPE  CRMT_RETURN_OBJECTS,
        REFERENCE(ET_EXCEPTION) TYPE  CRMT_EXCEPTION_T
          IT_OBJECTS_NOT_SAVED TYPE  CRMT_OBJECT_GUID_TAB.
    *DATA: wa_order TYPE CRMT_ORDERADM_H_COM.
    *MOVE-CORRESPONDING wa_ls_orderadm_h to wa_order.
    *CALL FUNCTION 'CRM_ORDER_H_COMPLETE_OW'
    CHANGING
       cs_orderadm_h       = wa_order.
    ls_act_to_save = wa_ls_orderadm_h-guid.
      APPEND ls_act_to_save TO lt_act_to_save.
      CALL FUNCTION 'CRM_ORDER_SAVE'
        EXPORTING
          it_objects_to_save = lt_act_to_save
        IMPORTING
          ET_SAVED_OBJECTS = IT_SAVED_OBJECTS
          et_exception = it_exception
          ET_OBJECTS_NOT_SAVED = IT_OBJECTS_NOT_SAVED
        EXCEPTIONS
          document_not_saved = 1
          OTHERS             = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
       WAIT UP TO 2 SECONDS.
      commit work.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            wait = c_x.
      WRITE: / 'Service Contract updated = ', p_obj_id.
      ENDIF.
    ENDIF.

  • API for updating pay_people_groups table..

    Hi,
    Is there any API for updating pay_people_groups table. I know we can do it using hr_assignment_api.update_emp_asg_criteria but this API updates the assignement with the new pay_group_id. I want to know is there is any API which can only update the pay_people_groups and not the assignment.
    Regards,
    Shabana.

    Hi,
    Technically you want update values for people group. If you remember At the time of definition of people group you created value set and attached people group flex field.
    People group are created on the basis of combination of segments. So you have to update only values not people group.
    I doubt oracle provides API to update key flex field.
    You may get API to update values try out that option.
    Hope this helps.
    Sathish

  • API to update ap_invoices_all table

    Hello all,
    is there any API to update ap_invoices_all table? Please let me know.
    thanks,

    Oracle uses AP_INVOICES_PKG API (Update_Row procedure) internally, but I believe you cannot use this API directly -- http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=AP_INVOICES_PKG&c_owner=APPS&c_type=PACKAGE
    Please log a SR to confirm this with Oracle Support.
    Thanks,
    Hussein

  • API for Updating fileds in cn_payment_transactions_all table(OIC module)

    Hi,
    I have a requirement to put the Sales Commission Lines (Oracle Incentive Compensation module) on hold for a particular Salesperson if the corresponding invoice line has an amount due not equal to zero.
    Now to put the commission lines on hold I need to update the hold_flag of the cn_payment_transactions_all table.
    I need help to find the API which I can use to update the hold_flag.I searched metalink on the same but did not find anything suitable.
    Please advice which API I should use or any reference where I can find any suitable documents on that.Can i update the hold_flag directly in case i do not find any API to update this flag.
    Thanks in advance......
    Regards
    Subhabrata
    Edited by: user10816003 on Dec 28, 2009 6:05 AM

    Hi Subhabrata,
    I am not sure if there is any standard API to do this update.
    Looks like you have requirement to pay the commission only when the invoice is fully paid.
    Customizing like this is not the best option. There are outbox ways to design the collection/plan so that you pay commission when the invoice is paid.
    Thanks
    Srini Parimi
    Edited by: user12263675 on Dec 29, 2009 10:40 AM

  • Can't accurately update Address Book from LinkedIn vCard

    Hi everybody,
    Unlike when I used Outlook for Windows, I have had trouble updating Address Book with LinkedIn vCards.  If a contact leaves one company for another and I try to update his information, the new company name and title end up being put into the notes field in Address Book. I asked LinkedIn this and got the following reply:
    Thanks for reaching out to us - Sorry to hear that importing your contacts isn't working.
    Unfortunately, this feature works best with Windows products, like Outlook and was not designed for use with Apple products.
    I find this unacceptable and would love any suggestions as to a plugin or extension to make this work.
    Thanks!
    Doug

    I'm not sure if this will help.
    I have saved some sheets in csv format from Excel, but it seems that the import function from the address book doesn't accept the csv extension.
    Saving the data in a txt file did solve the issue.
    Make sure that your file extension is .txt and that the data is tab of semicolon delimited.

  • Use of APIs to update Absence info in Oracle HR/SSHR 11i

    Dear all,
    Use of APIs and Absences
    1. Can you please let me know which are the relevant APIs to update Absences Information into Oracle Human Resources Application?
    2. Where can I find relevant documentation on how to deploy these APIs?
    Thanking you in advance for your feedback
    Best regards
    Elena

    Hi Elena,
    You may find a list of the APIs in HRMS on Metalink. Just query for "APIs in HRMS". For absences you may use the following APIs: hr_absence_type_api, hr_person_absence_api
    You may create a PL/SQL program to use these APIs or alternatively use web ADI to create upload integrators. You may have to write a custom wrapper before calling these APIs if required.
    - Vikram

  • Does the 10.5.7 update address command+f finder search issues?

    Does the 10.5.7 update address command+f finder search issues?
    Search has been horrible under 10.5 in that it does not reliably find FOLDERS on network drives, only file names.
    Even when I am looking directly at a folder and I search for it will not appear in the command+f window.
    Also the stupidity of not allowing a specific search location.
    Has this been addressed? I have, at any given time, 3-4 mounted servers.
    I do not have a choice now to search a specific hard drive.
    10.4.11 gave me the option under "OTHERS" to select a specific place to search.
    The only choice I have in 10.5.2 is "SHARED". Which searches all drives when I only want to search one. Nor do I have a choice of searching just one of my two internal drives.
    I talked with Chris in apple engineering several months ago, who acknowledged that search problems are a known issue under 10.5 and this was being addressed but have not heard any more. I don't want to download an update unless these broken search issues have been fixed. This is a production machine and I cannot have downtime in the Dept.

    Have you filed a bug report or enhancement request with Apple?
    http://bugreport.apple.com/

  • API for Updating Attribute in CZ

    Hi All,
    Could you please suggest me any Standard API to update the Attribute Value in cz_config_ext_attributes.
    Thank you,
    Aush

    Could you please suggest me any Standard API to update the Attribute Value in cz_config_ext_attributes.I do not see any reference on MOS that shows what API can be used to update this table.
    Have you reviewed the documentation? -- http://www.oracle.com/technetwork/documentation/applications-167706.html
    You may also review iREP and eTRM websites.
    http://irep.oracle.com/index.html
    http://etrm.oracle.com/
    Thanks,
    Hussein

  • API to Update PARTY in R12

    Hi All,
    could you please provide me the API to update the PARTY Information in R12.
    Thank you,
    Aush

    Try:
    HZ_PARTY_V2PUB.update_person
    HZ_PARTY_V2PUB.update_group
    HZ_PARTY_V2PUB.update_organization
    Hope it helps.

  • API to update MTL_UOM_CLASS_CONVERSIONS

    Hi All,
      Please let me know the API to update MTL_UOM_CLASS_CONVERSIONS?
    Thanks...

    Hi All,
    Some time back I had posted the question on how I can update the mtl_item_sub_inventories table.
    Now, I have a requirement that based on certain criteria, I have to update the min max quantities and lead time at subinventory or org level respectively.
    For the updation at subinventory, i can use csp_item_sub_inventories_pkg, but how to do the same at org level.
    Regards,
    Shruti

Maybe you are looking for