Full ABAP Program How to Delete Customer Address in SAP

Published by John on

domino 163522 1280 e1442441105680

This sample code will delete a customer address following :Delete Customer Address in SAP.
It uses the standard function ADDR_DELETE.
ADDR_MEMORY_SAVE and ADDR_MEMORY_CLEAR are called at the end to commit modification and clean the address buffer.

Alternative Delete Address

The same program can be easily modified to update. The only thing to modify is the Reference to Address

The complete list fo Reference can be found in the table
TSADRV: Where-used list addresses: Object types, DDIC information.

here few examples of Reference can be used:

DescriptionApplication Table Name Application Table Field Name
Create/Update/Delete Vendor AddressLFA1 ADRNR
Create/Update/Delete Customer AddressKNA1 ADRNR
Create/Update/Delete Contact Person AddressKNVKADRND

Delete Customer Address Sample ABAP Code

Here the full ABAP source code how to delete Customer Address in SAP :

For more about How SAP handles Address check this help.sap link.

Read also SAP KNVV: Customer Master Sales Data


Hi. I have been working as SAP Technical and functional for a decade. Through this blog, I am trying to share with you my experience. Hopefull, it makes your ways easier path ... Sab

You may also like: