Changing address number in KNA1

hi there,
adress for customer is stored in ADRC, ADR6, etc................with adrnr as key.
Adress number is stored in table KNA1.
how can i 'connect' another adress number to KNA1 without doing 'hardcoded'  table-update (which is dirty).
reg, Martin

I have customer A with its adress data with e.g. adrnummer 123.
I have customer B with its adress data with e.g. adrnummber 321.
I want customer B to have the adress of customer A, so customer B needs the adrnr 123
I'd strongly suggest to refrain from such changes that are not supported by the data model. I.e. within standard SAP you cannot create two customers with a reference to the same address. The storage of addresses via central address management (i.e. ADR* tables) is completely transparent to the user and not visible.
Let's assume that you'd implement what you're trying to do. Now changing the address of customer A, automatically changes the address of customer B. Thus in order to show the link you'd have to somehow make a grouping indicator visible that ensures that customers with the same address reference can be identified via the user interface (i.e. XD03, VD03, etc. transaction and not SE16 on KNA1). Using a grouping indicator other than the address number would require to keep the two in sync. Possible, but a maintenance issue.
So without further information your data model sounds quite strange, as it's unclear why you'd have to reference addresses instead of syncing up addresses automatically. I.e. if you have a program that somehow can identify customers A and B as customers, which should share an address, then it shouldn't be too hard to update the address fields instead using standard SAP functionality.
I do understand that you'd have possibly trouble ensuring address consistency when addresses are changed (i.e. simultaneously on A and B), but if you think about your model, you can see the same issue. I.e. customers are not locked on address level, so two people could change the address for A and B at the same time. Since they share the address, the last update would win and overwrite the other updates. I can see already the help desk getting all those calls from users asking why the system doesn't work...
Long story short, my simple recommendation is Don't do it!.
Cheers, harald

Similar Messages

  • Removal of Address no from KNA1 table

    Hi all
    Is there any FM or BAPI that removes address number from the KNA1 table
    Please help its very urgent
    regards
    Ganesh

    Hi
    Why do you want to remove address number from KNA1 table.
    I dont think there is any FM which will allow such deletion.
    Regards,
    Raj

  • Error message - Specify either address number or address handle

    Hi all,
    When I tried to display an outbound delivery, there is a status message which says 'Specify either address number or address handle'.
    Please let me know the reason for the above.
    Thanks and regards,
    Anishur

    Hello Anishur
    Today I have received the same error message while processing an inbound ORDERS IDoc. The error is due to the partner segments E1EDKA1 which contained:
    PARVW     AG
    ILNNR     SHOPS02020001
    PARVW     WE
    ILNNR     SHOPS02020001
    When I changed the data in this segments as shown below it works:
    PARVW     AG
    LIFNR     SHOPS02020001
    PARVW     WE
    LIFNR     SHOPS02020001
    Regards
      Uwe

  • Changing address in sales order item level

    Dear very good mng
    i want to know , i am trying to change ship to party address in sales order line item level
    but showing Gray mode only ..  i have maintained Sales document item level ( partners) Removed check box not modifiable
    And i activated Item partners check box at partner tab
    even i am not able to change address in sales order item level plz tell me
    Thanks a lot

    Hi Madhuri
    I  have checked my self.system does allow to change different ship to Party on line Item level .
    Please do the following steps .
    1. Replace/delete  the WE partner Number ( Example -1) in my case  in change mode.
    2. system will show some error message as show below while deleting or replacing WE with some other ship to Party code.
    3. Ignore the message and go ahead  . Please put the new Partner's number and double click
    address Screen will Pop up . You can Change the address .
    Hope this helps .Let me know for more clarification needed .
    Regards
    Santosh Verma

  • How to print the changed address in delivery output

    Dear Gurus,
    As all we know the customer address comes in sales order from customer master table or address table and further get copied into delivery also in case of same SP and SH.
    My issue is that we do not maintain different SH for a sold to party so SP = SH and there addresses will also be same.
    In output we are getting address from ADRC table.
    Now if we change the ship to party address in delivery manually and get the output the printed address is unchanged.
    But I want to print  the changed address in delivery output without changing the masters and maintaining diiferent ship to party.
    Please help me how to determine it in print out???
    Thanks,
    Sanjay

    Hi,
    I think the logic you have written is wrongly on output.
    The logic is like this:
    Pass the document number into "VBPA" table.
    Execute.
    Fetch the address number against "WE(ship-to-party)".
    Pass the same address number into "ADRC" table to get the address.
    Here you will get the new address which is different from the maaster data.
    Regards,
    Krishna.

  • How to get the Personal Number from Address Number

    Hi,
    I have one requirement which is as follows.
    I have one Customer. I am fetching Address Number(ADRNR) of this customer number from table KNA1.
    I want to find the Personal number linked to this Address number and Customer.
    Is there is any table or FM from where i will get the Personal number of the Customer using Customer number and Address number?
    Kindly Help

    Hi Sachin,
    Check this FM BUP_PARTNER_PERSNUMBER_GET
    " Check KNB1 and the Field name is PERNR, Most of the times this is not maintianed.
    " This refers to the Employees who are assigned as Customers
    " In XD03 go to the Company Code Data there you can find this Value
    " For more info contact your Functional Consultant
    " This is to the Best of my knowledge
    Also Check KNB1 but000 Tables
    Cheerz
    Ram

  • New Document Address Number

    Hi All-
    We are on SRM 5.0, SP6 Ext classic scenario. Every time we create a Shopping cart with an existing Ship to Address number, the system generates a new document address number in SRM even though the address number and the address already exist in SRM.
    I am not sure if this happens standard in SRM 5.0 or is it due to some custom development on our system. I am aware that this was an old Issue and there were OSS notes related to it:
    Note 570543 - Creation of document addresses
    Note 718206 - Copy template: New address number for delivery address
    Can somebody confirm if they are seeing the same behaviour on their SRM 5.0 system? If yes, i can go ahead and create an OSS message and keep you guys updated.
    Thanks,
    Sundeep

    Hi Sundeep,
    We are using SRM 5.0 , SP7 and it is not creating new address number whenever we create new shopping cart.
    But it is creating new address numbers whenever some changes were made to the business partners.
    Rgds,
    Teja

  • Multiple address number fields on a table

    Hi.  I have a Z table which had an address field ADRNR data element AD_ADDRNUM.  When maintaining the table via SM30, there is a function button "Address" to maintain this field.  I have just added a second address field ZCRED_ADRNR data element AD_ADDRNUM.  Now every time I try to maintain these addresses via the function button in SM30, I get a message "Address for object ... not found.  Do you want to create a new address?"  If I choose to create a new address, the address number in ADRNR is changed (eg from 0700264579 to 0700264580) and the address number in ZCRED_ADRNR appears as @NEW000000 - even though I only got one "Edit Address" popup.  If I look on table ADRC there is a record for the old address from field ADRNR (0700264579) is there, plus the new one (0700264580) but there is no record for ZCRED_ADRNR (@NEW000000).
    Could anybody tell me what I've done wrong?

    Looks like somebody created some sort of check in your table maintenance via the predefined events for table maintenance. So try to find out in which event this check is triggered and why.

  • Change Document Number

    My friend i want to find a change document number for table PA0006 (address infotype HR TABLE)
    And i have another doubt with out going to transaction SCDO how to find change document number for all dictionary table if there is any way please tell
    please help me i am in need

    My friend i want to find a change document OBJECT for table PA0006 (address infotype HR TABLE)
    And i have another doubt with out going to transaction SCDO how to find change document number for all dictionary table if there is any way please tell
    please help me i am in need
    Iam sorry it is change document object

  • Problem to chang Installation number permanently on SMSY.

    Hi All,
    I have a sap installation on my SMSY. The installation number for this server is correcet on SLD, at SAP Support portal and on own installation. But wrong on SMSY. I can chang this number to correcet one but efter some time it changing  back to the wrong one.
    On SolMan, run tco SMSY_SETUP for SLD . Efter schedules the job LANDSCAPE_FETCH correcet.
    Any idea what it can be?
    Regards

    Hi
    Seems Someway the data from SLD is not properly reaching the SMSY for the particular system Check the SLD data for the particular SID again.
    Does that fine, if yes
    Goto Solman system ,remove all the system wrong entries from smsy
    then goto ur satellite system use the tcode RZ70, and pick your sld address and scedule the job there
    now come to smsy_setuo and enter the sld details after schedules the job LANDSCAPE_FETCH .
    This clears the wrong entry.
    Please check
    Jansi

  • Address number of a Plant & a Customer are same

    Hi Gurus,
    Somehow a plant and a customer has the same address number (ADRC-ADDRNUMBER). Because of which when u change the address of the customer the plants address is getting changed. This has happened after the customer has been assigned with the search term of that of the plant. Reversal of which doesn't solve the problem.
    Please advice what needs to be done.
    Regards,
    Adeeb

    Hi All,
    I had followed OSS note # 164653. SAP has provided programs to repair the customer who has duplicate address number.
    Thanks,
    Adeeb

  • "Specify either address number or address handle " BAPI_SALESORDER_CREATEFR

    Specify either address number or address handle when using following BAPI
    BAPI_SALESORDER_CREATEFROMDAT2
    1°) E AM 53:
    Specify either address number or address handle
    2°) W V1 555:
    The sales document is not yet complete: Edit data
    3°) E V4 219:
    Sales document was not changed
    does anyone have an idea about how to correct this ? Maybe a documentation about how to use version data in sales order ?
    Thanks for your help.

    Hi
    I am facing the same problem for BAPI. " 2°) W V1 555:
    The sales document is not yet complete: Edit data". Can you please tell me how you have corrected that error ?
    Thanks
    Joseph

  • Error : Specify either address number or address handle

    Hi guys
    I am unable to change & even display the SALES ORDERS (VA02 , VA03)
    I am getting error saying   * Specify either address number or address handle*
    Can you please explain Wats going Wrong
    Thanks & Regards

    Check this thread
    [Re: Specify either address number or address handle|Specify either address number or address handle(AM053);
    thanks
    G. Lakshmipathi

  • In which transaction can we see the address number of customer?

    Hi All,
    In which transaction can we see the address number of customer that appears in KNA1 table ADRNR field?
    I tried XD03 and VD03 transactions. I was not able to find it out. Can any one help me out to findout this.
    Thanks,
    Vinod.

    HI Vinod,
    The customer address is visible on the transaction. But to store this address in DB the whole address i sliked to a number and then stored in DB. So this addressnumber will not be in the Txnl screen.

  • HT5538 i can not change my number in FaceTime

    i can't change my number in FaceTime

    Hi dhristov,
    Welcome to the Support Communities!
    The article below will explain how to change the phone number associated with your Apple ID:
    Frequently asked questions about Apple ID
    http://support.apple.com/kb/HT5622
    You can change your Apple ID Name at My Apple ID. Click on Manage your Apple ID and sign in with your Apple ID name and password. Click Edit and enter the new information, then click Save Changes. Changes take effect immediately. You can also use My Apple ID to change your personal information, such as your mailing address or email address.
    iOS: Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/ts4268
    iPhone automatically registers your phone number for use with FaceTime and iMessage.
    To use FaceTime with your Apple ID, navigate to Settings > FaceTime and tap "Use your Apple ID for FaceTime."
    I hope this information helps ....
    Happy Holidays!
    - Judy

Maybe you are looking for