Customer Address Change

We have a requirement where when a customer changes his/her address the report has to capture the previous address and the changed address. We are going against the Transactional Tables. Can someone guide me as to what steps I need to follow..
Regards

Okay, got the solution and want share.
When an address version is loaded in the system, then it should be
accompanied by address version with space which is the default address.
If you have already an adress version and just want add another one, means the IDOC has only 1 adress version within, then SAP tries to overwrite the SPACE adress version.
And this is reason for  the mentioned error.
There is a OSS note 985296, this note basically deals the issue
when you just want to transfer date specific to some version , like
Taiwan (M), and do not want to transfer the data for space version.
with the help of exit, that data is changed in the
in the middleware for space version and space version will have the datasame as in the target system. So, finally it looks as only data for version M is transferred.

Similar Messages

  • Customer Address change on the Open orders

    We are unable to make a customer address change on the customer whenever an open order exists with the customer, is it intended functionality? Is there any workaround available to update the customer info whenever an open order exists.
    Thanks,
    Srini C

    Hi
    It is not possible to maintain address as validity period. Print program is always considering the current address.

  • Function module for displaying customer address changes detail

    Hi ,
    Can anyone tell me any code or function module which gives me customer addresses before changes or after changes customer address.
    Regards,
    Gaurav T.

    GT,
    First check acustomer in 'XD04' which has got some change doc history. See all changes in XD04 for that customer.
    Then go to CDHDR table,
    OBJECTCLAS = 'DEBI'.
    OBJECTID      = Customer Number (10 digit with 0 padding).
    UDATE           = Update/change date (Take from XD04).
    Run the table & put the same values in CDPOS along with the CDHDR-CHANGENR & get the field wise changes in Customer with new & old values.
    Try this out or else call me.
    Regards,
    SP.

  • Customer address change: Audit issue

    Hi All,
                  Although address is the only feild of customer master which if you change then the change is immediately effected in all preceeding and sussequent docs. Now the issus is:
    A plant address changed and after 6 months when audit is been carried out and auditor printed invoice dated 7 months back then it came with new address of plant. He immediately raised an issue on this. Now although he was explained the technical behaviour of the address feild but functionally his issue cannnot be denied.
    How do we handle and explain this. Is there any way that old address is assesed and used using some  user exits. I mean to say validity period  wise maintenance of addresses??????

    Hi
    It is not possible to maintain address as validity period. Print program is always considering the current address.

  • Dunning letters generation when customer address is changed

    Hi,
    For some customers no dunning letters were generated. After investigation inactive bill-to site should be activated as invoices were assigned to this bill-to.
    How is possible to make that dunning letters generated when customer address is changed and customer can receive letters to new address for all its invoices?
    Any help will be appreciated!
    BR, JC

    hi
    I have created one sales order example X and i created the another sales order Y with respect to X
    Is this X sales document is closed????
    And I also changed the address of the ship to party in sales document Y.
    Did you assgined another SP to sales Document Y
    If you have chnaged the address for SP in customer master then it will reflect to both
    Also it will not chnage the ADRESS NO in VBPA table, but it will update the address

  • Ship-to address changes on customer master not updating orders

    We have recently noticed that ship-to address changes on the customer master made with XD02 no longer show up on existing standard orders.  Similar changes to the sold-to addresses do show up but no tthe ship-to addresses.  Does anyone know how we can resolve this problem?

    hi jeff,
    the adresses of a partner is
       - with reference to the master-data  ( if unchanges in the Order )
       - of copied in the order and then changed and saved onlyy for the order.
    in the first case, a change of the main data will effect a change in the order.
    in the second case, the change of the main data will not change the order, data - they are separate.
    you can see this in se16 / table vbpa.
    look at the adressnumber.
    Adressnumbers of 9++++ are of the 2nd - manual type.
    I guess, in the ship to partner, there is done a manual change in the order.
    in solt to data normally you don't need such a change. therfor the sold-to partner will get the changes of masterdata -- the ship to partner has manual adress of the orden.
    hans

  • Address change in customer master

    Hi Experts,
    I have cretaed sales order and processed it with one customer.Created Delivery and posted goods issue.
    After that I have changed the address of the customer and noticed that the adress is changed in the processed order also.
    I would to like to know what is base intension of this.
    Please help me out
    Thank you
    Regards,
    Nagi Reddy

    Dear Nagi,
    All Customer Address are stored in a central table - ADRC.
    Infact this ADRC is the Master Table of all addresses in system (It is used for addresses of Customer, Vendors, other Business Partner, etc)
    So any change you make in Customer Master Record in XD02 / VD02 it would change the entry in the ADRC & would show this effect in all the past documents also (like Sales Orders / Deliveries, etc).
    This is SAP standard & you cannot change it.
    Address details are only exception here. Rest all other data like payment terms, Condition record data are document specific. Meaning once the Document is created & saved any change in the Master Record would not impact the aleready processed documents.
    Alternatively you can change the Customer Address while processing Sales Order:
    VA02 - Double Click on Customer code & you will go to Header - partner screen.
    Here once again click on required Partner code & you will go to Address screen. Here you can change the address (which is proposed from Customer Master record). This address change in Sales Order would be applicable only for the particular Sales Order & its subsequent documents. The Master Record would not be changed.
    Hope this helps...
    Thanks,
    Jignesh Mehta

  • Any BAPI or FM to use to update the Customer Address with change log?

    Hi, does anyone have used any BAPI or FM that will update the customer address (Central Address management fields) and the change will be logged in the change history of customer master? I have tried several FM that can update the fields but none of the change will show up in the change history of the customer master.
    So far, I have tried the following FM:
    ADDR_MAINTAIN_COMPLETE
    ADDR_UPDATE
    BDC is not acceptable due to high volume of data. However, the change log is also required.
    Please share any advice.
    Thank you,

    Hi Minami,
    for chenge address use FM : BAPI_BUPA_ADDRESS_CHANGE       (SAP BP, BAPI: Change Address)
    otherwise check with below FM ,for address related information
    BAPI_BUPA_ADDRESSES_GET              SAP BP, BAPI: Determine All Addresses
    BAPI_BUPA_ADDRESS_ADD                   SAP BP, BAPI: Add Address
    BAPI_BUPA_ADDRESS_CHANGE                 SAP BP, BAPI: Change Address
    BAPI_BUPA_ADDRESS_GETDETAIL             SAP BP, BAPI: Read Address
    BAPI_BUPA_ADDRESS_GET_NUMBERS    SAP BP, BAPI: Read Address Numbers
    BAPI_BUPA_ADDRESS_REMOVE                    SAP BP, BAPI: Delete Address
    Regards,
    Tutun

  • FM to change the customer address

    Hi Guys,
                 I am looking for FM to change the customer address.
    I found SD_CUSTOMER_MAINTAIN_ALL from here.. but the guys says its dumping..
    Can I get some source code with the FM.
    Thanks
    Senthil

    Use this.
    Data:gt_kna1   LIKE kna1  OCCURS 1000 WITH HEADER LINE,
           gt_bapiaddr1 LIKE bapiaddr1 OCCURS 1000 WITH HEADER LINE,
           gt_bapiaddr2 LIKE bapiaddr2 OCCURS 1000 WITH HEADER LINE.
    LOOP AT gt_kna1.
            CLEAR: gt_bapiaddr1, gt_bapiaddr2.
            READ TABLE gt_bapiaddr1 WITH KEY addr_no = gt_kna1-adrnr.
            IF sy-subrc NE 0.
              READ TABLE gt_bapiaddr2 WITH KEY addr_no = gt_kna1-adrnr.
            ENDIF.
            CALL FUNCTION 'SD_CUSTOMER_MAINTAIN_ALL'
              EXPORTING
                i_kna1                     = gt_kna1
                i_bapiaddr1                = gt_bapiaddr1
                i_bapiaddr2                = gt_bapiaddr2
                i_maintain_address_by_kna1 = 'X'
                pi_postflag                = 'X'
              EXCEPTIONS
                client_error               = 1
                kna1_incomplete            = 2
                knb1_incomplete            = 3
                knb5_incomplete            = 4
                knvv_incomplete            = 5
                kunnr_not_unique           = 6
                sales_area_not_unique      = 7
                sales_area_not_valid       = 8
                insert_update_conflict     = 9
                number_assignment_error    = 10
                number_not_in_range        = 11
                number_range_not_extern    = 12
                number_range_not_intern    = 13
                account_group_not_valid    = 14
                parnr_invalid              = 15
                bank_address_invalid       = 16
                tax_data_not_valid         = 17
                no_authority               = 18
                company_code_not_unique    = 19
                dunning_data_not_valid     = 20
                knb1_reference_invalid     = 21
                cam_error                  = 22
                OTHERS                     = 23.
            IF sy-subrc <> 0.
              MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
            ENDIF.
          ENDLOOP.

  • Change Customer Address format with specific customer group

    Dear all,
    May I ask is it possible to change customer address fomat for a specified customer group or Company code only.
    Normally, the format is Street, City and Country. for a special cusomer group, i wan to change the format to street , street 2, street 3 and street 4.
    Is it possible to change the format without affect other cusomer group and also not affect Vendor address format?
    I have seached in the format, some discussions provides method to change address format by country. But no discussion mention about change cusomer specified customer group only.
    Can anyone advise?
    Many thanks
    Sunny

    Hi,
    Did you try for
    1.By changing field status in it account groups through transaction code OBD2.
    2. In transaction code OB21 for company code.
    Regards,
    Tejas

  • Plant Address Changing [Replaced by Customer Address]

    Dear Experts,
    I am facing the problem of Plant Address Changing automatically.
    It is taking the address of the Customer.
    and when i am changing the address of the plant, system is changing the address of Customer in sales and distribution.
    After changing the customer address again system is taking customer address for the plant.
    Please suggest me the solution on the issue.
    Thanks in Advance

    Hi,
    this seems to be correct if your plant is a Retail Site and the customer is a Retail Customer.
    In that case, yes it is true that both are sharing the same address.
    The vendor could also be in that case.
    Start transaction WB02, open the plant and check if the customer is related.
    Technically speaking,
    ADRC-ADDRNUM = KNA1-ADRNR = T001W-ADRNR
    and
    T001W-KUNNR = KNA1-KUNNR
    and/or T001W-LIFNR = LFA1-LIFNR
    Some other relations also exists.
    I'm not sure there is a solution from the transaction to remove such link.
    But from a technical perspective, broke the above links and remove the useless ADRV links could be enough.
    I would suggest that you open a SAP customer message in market place to let experts investigate before changing any data.
    BR
    Alain

  • ESS  Address change - customizing

    Hi ,
    Can anyone tell me where to look for the country specific screens for the ESS address change.
    Thanks in advance.
    Regards,
    Bharat

    Hi Bharat, 
    If you are asking about the front end screens, then each country has it own DC,say for example,US addres application has a DC called 'essusaddr', similarly Japan will have a DC 'essjpaddr'.
    Hope this helps..
    Regards,
    Sharadha

  • Vendor address change

    Hi All,
    I want change the vendor address using bapi_addressorg_change.
    Please give me the example.
    regards,
    rakesh.

    Change, delete and add a telephone number
    DATA: objtype LIKE bapi4001_1-objtype,
    obj_id LIKE bapi4001_1-objkey,
    obj_id_ext LIKE bapi4001_1-extension,
    context LIKE bapi4001_1-context,
    address_number LIKE adrc-addrnumber,
    bapiadtel LIKE bapiadtel OCCURS 0 WITH HEADER LINE,
    bapiadtel_x LIKE bapiadtelx OCCURS 0 WITH HEADER LINE,
    return LIKE bapiret2 OCCURS 0.
    Assign the following object type and object key to a main customer
    address
    objtype = 'KNA1'.
    obj_id = <customer number>.
    obj_id_ext = ' '.
    context = '0001'.
    Get existing data by calling, e.g. FM 'BAPI_ADDRESSORG_GETDETAIL'
    Enter the reference structure data
    The telephone number with serial number '002' is to be deleted and
    the one with serial number '003' updated
    CLEAR: bapiadtel, bapiadtel_x.
    bapiadtel-consnumber = '002'.
    bapiadtel_x-updateflag = 'D'.
    APPEND: bapiadtel, bapiadtel_x. "Delete entry
    CLEAR: bapiadtel, bapiadtel_x.
    bapiadtel-consnumber = '003'.
    bapiadtel-extension = '77733'.
    bapiadtel_x-extension = 'X'.
    bapiadtel_x-updateflag = 'U'
    APPEND: bapiadtel, bapiadtel_x. "Update entry
    CLEAR: bapiadtel, bapiadtel_x.
    bapiadtel-telephone = '06227'.
    bapiadtel-extension = '11111'.
    bapiadtel_x-updateflag = 'I'.
    APPEND: bapiadtel, bapiadtel_x. "Insert new entry
    call change module
    CALL FUNCTION 'BAPI_ADDRESSORG_CHANGE'
    EXPORTING
    obj_type = objtype
    obj_id = obj_id
    obj_id_ext = obj_id_ext
    context = context
    IMPORTING
    address_number = address_number
    TABLES
    bapiadtel = bapiadtel
    bapiadtel_x = bapiadtel_x
    return = return.
    Errors and warnings are in the RETURN table. If successful, the
    organization address and its communication data are now updated
    in the system.
    The adress number is in the ADDRESS_NUMBER field.
    Notes
    To delete, e.g. a telephone number in the table of existing telephone
    numbers for an address, the 'UPDATEFLAG' field in the associated reference structure line must contain 'D'.
    To create an entry, this field must contain 'I' and the data to be inserted must be passed.
    All new lines to be inserted (I) and their reference structures must be after all entries to be changed (U) and deleted (D).
    Change data key fields must always be filled, and are taken intoaccount as far as possible. It is not significant whether, e.g. alltelephone number comments are followed by fax number comments as changedata, or vice versa; only the sequence among entries with the same key
    is significant, unless you pass only some or no communication address or comment serial numbers, in which case the data sequence issignificant .
    The key fields are:

  • Maintain Vendor Customer addresses in synch

    Hi all,
        As you all aware that, there could be a scenario where a person can act as both Vendor and also a customer. So, in that case, is there any simple way, where we can keep both the Vendor master and the customer master addresses in synch? Means, suppose, if there is a change in vendor address, we need to have customer also changed to the same address.
        I can acheive this functionality by writing a function module and calling it in the SAVE user exit of the Vendor master or so. Or else, writing a program and keeping that in a batch process. But, if anybody knows a simple way of acheiving it by configuration or any idea like standard function module, etc which does the same; please let me know.
    Thanks in advance,
    From,
    Adithya K

    Hi Adithya,
                   Please check for the following link regarding BAS (Business Address Service). Also you can go through the concept of CAM (Central Address Management).
    http://help.sap.com/saphelp_nw04/helpdata/en/12/ad79775c5811d3b4ea006094192fe3/frameset.htm
    Reward points if the above were useful to you.
    Regards
    Abhishek

  • ADRMAS IDoc for customer address

    Hi,
    I am trying to send the customer address information via ALE. We are using a custom message type (ZDEBMAS) to send the customer data. I am aware that additional address information can be sent using ADRMAS. However, this message type is linked to a BAPI and I am unable to trigger the IDoc. I have activated the change pointers for ADR2MAS, ADR3MAS & ADRMAS as suggested in previous posts. I have also added the BAPI in the Model view with Object type  - BUS4001 and Method  -            SAVEREPLICA. Partner profiles have been generated as well.
    Can anyone guide me as to what I am missing? Any help is greatly appreciated.
    Thanks!
    Sheetal

    Hey,
    I think there are two possible problems:
    1. Please log in to XI system,
    check in transaction IDX1,
    which RFC destination is used for the system SAPR3D.
    than test this RFC destination in transaction SM59.
    2. Please check (via transaction WE30) that the IDOC in the ECC 6.0
    have the same fields as the IDOC in 4.6C.
    If they have different fields, than you must change the field "version" of channel of the 4.6c system (in the Integration builder configuration).

Maybe you are looking for

  • Qosmio G30 freezes upon Norton Internet Security 2008 startup

    Norton Internet Security 2008 will freeze my computer as soon it tries to load and the only way to go on is to restart the system by pressing the on/off-button. My notebook is a Toshiba Qosmio G30-177 (Model No. PQG32E-02G022GR) with Vista Ultimate a

  • Dynamic Table in adobe inter-active forms

    Hi Gurus, I have dragged and dropped Dynamic table in body page and Header data placed in Master page. Now my problem is the data is not going to the next pages. Kindly pls tell me the way so that my data will appear in next pages. Regards, Srini

  • My itunes account says disabled!! how do i re-activate it??

    my itunes account says disabled!! how do i re-activate it??

  • OSB check script with WLST

    Hi I have a requirement to produce some output which lists the OSB services currently deployed and their state (enabled or disabled). Using the CommonServiceConfigurationMBean described here: http://docs.oracle.com/cd/E28280_01/apirefs.1111/e15033/co

  • Why no thumbs for AVIs in Bridge CS4!

    I get very few thumbnails for my AVI video clips in Bridge. 90% are missing. All I get is a white rectangle. Why? Is this a known bug, or just my configuration? I have to preview the clip to see content,and that is a big hangup in my workflow. In Mic