logo

Are you need IT Support Engineer? Free Consultant

How to archive and delete BP (with vendor/customer role) completely in S/4HANA, ILM is not active

  • By Sanjay
  • 18/08/2026
  • 40 Views



 

  • In this blog, I will share step-by-step details about how to archive and delete BP (with vendor/customer role) completely in S/4HANA, and this blog is for ILM is not active situation.

++++++++++++++++++++++++++

How to check whether Simplified Deletion and Blocking of Personal Data is activated or not?

The switch and business functions as below can be checked in SFW5. 

Switch
ILM  (Information Lifecycle Management)

Business Functions
BUPA_ILM_BF   (ILM-Based Deletion of Business Partner Data)
ERP_CVP_ILM_1    (ILM-Based Deletion of Customer and Supplier Master Data)

++++++++++++++++++++++++++

  • More information can be found in KBA 2491026 Guided Answer – How to delete BP (with vendor/customer role) completely in S/4HANA 

Note : In S/4HANA system, business partner cannot be deleted until linked customer/vendor is deleted.  So make sure that the linked customer/vendor is deleted before BP deletion. 

Step 1 : Set archive flag 

BUT000-XDELE(Archiving flag)

If BP has customer role, please set flag KNA1-LOEVM & KNVV-LOEVM & KNB1-LOEVM

If BP has vendor role, please set flag LFA1-LOEVM  & LFM1-LOEVM & LFB1 – LOEVM

Step 2 : Archive customer/vendor data.

To archive the customer/vendor data, please execute SARA transaction and use the archiving object FI_ACCRECV (for customer) and FI_ACCPAYB (for vendor). 

In this step, if error occurs, please report case in below component

  • FI-AR-AR-E (for object FI_ACCRECV)
  • FI-AP-AP-E (for object FI_ACCPAYB)
  1. T-code SARA, input FI_ACCRECV, click on write button
    Sherrywang01_10-1787018372972.Png
  2. Give variant name, for example Test and click on Edit button
    Sherrywang01_11-1787018385857.Png

     

  3. Note : If FI (company code) and/or SD (sales area) data is assigned to the customer and/or FI ( company code) and/or MM ( purchasing organization) data is assigned to the vendor, archiving the customer/vendor master data is only possible, once those are already archived and deleted. 

    If customer exists in table KNB1, please give below informaton

    Sherrywang01_12-1787018398153.Png

    If customer exists in table KNVV, please give below informaton

     

    Sherrywang01_13-1787018414886.Png

     

  4. ick on Variant Attributes button, in next screen maintain description field, and click on SAVE button.
    Sherrywang01_14-1787018443448.PngSherrywang01_15-1787018452618.Png
  5. Click on button ‘Start Date' and ‘Spool Parameter', then click on execute Button.
    Sherrywang01_16-1787018525085.Png
  6. Then please click on ‘JOB' button, we can check the log to see whether it is success or not.
    Sherrywang01_17-1787018538289.Png
  7. If no error occurs, click on back button and click on DELETE button
    Sherrywang01_18-1787018550871.Png

     


  8. Click on Archive selection , and select the archive file which created in above step.
    Click on start date button

    Click on Spool Parameters button

    Then click on execute button, 
    Sherrywang01_19-1787018560907.Png
  9. Then please click on ‘JOB' button, we can check the log to see whether it is success or not. If no error occurs, after all above steps, the customer will get removed from table KNB1/KNVV.

Step 3 archive and delete Business Partner

After above steps, the BP will not have customer role and vendor role, we can follow steps in below KBA to continue archive and delete Business Partner.

2640553  How to archive BP (without customer/vendor role) by SARA 





Source link

Leave a Reply

Your email address will not be published. Required fields are marked *

Chat with us on WhatsApp!