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:

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
style="display:block"
data-ad-client="ca-pub-6936900118021080"
data-ad-slot="1304997258"
data-ad-format="auto">

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.

Sab125

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