Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

delete vendor master data

Madjid
Participant
0 Kudos
2,555

hi

i whant to delete vendor master date with "OBR2" tcode . the vendor has not any transaction data . when i used this action . then vendor is deleted. but with "MK03" tcode this vendor is exists and in LFA1 table .

how can i delete the vendor compeletly

thanks

3 REPLIES 3

DavidLY
Product and Topic Expert
Product and Topic Expert
0 Kudos
912

Hello,

Hard delete of the Vendor Master Data is not recommended.

Once you have marked the vendors for deletion in XK06 transaction, you can then archive the vendors with SARA object FI_ACCPAYB in 3 steps.

  1. Run for purchasing org data.
  2. Run for company code data.
  3. Run for general data.

System will check if the vendor is used in any document. if that is the case, then you have to archive these data first.

For more details, please refer to link: https://help.sap.com/saphelp_erp2005/helpdata/EN/01/a9b65c455711d182b40000e829fbfe/frameset.htm

Regards,

David

912

thank you David .

but i want delete vendor completely

raymond_giuseppi
Active Contributor
0 Kudos
912

Are you updating some test or quality system or are you purging some obsolete/errouneous data in a production system. OBR2 is intended to clean-up some initial (before golive) or replicated (development or quality system) FI and CO data, and not suitable in a productive system.

So in second case use David Liu solution

  1. set deletion flag (XK06, FK06)
  2. archive data (SARA)
  3. delete data (SARA)

Hint: In SARA transaction, click on database table, and display every object related to the table you want to clean.