Full ABAP Program How to Delete Customer’s Address in SAP

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:

Description Application Table Name Application Table Field Name
Create/Update/Delete Vendor Address LFA1 ADRNR
Create/Update/Delete Customer Address KNA1 ADRNR
Create/Update/Delete Contact Person Address KNVK ADRND

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.

SAP and SAP logo are registered trademarks of SAP AG. Sap4tech.net is not associated with SAP AG.
We have made every effort to make sure provide relevant search results, use the content on this site at your own risk.

We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.