cancel
Showing results for 
Search instead for 
Did you mean: 

How to delete Customer Master record completely in SAP.

Former Member
0 Kudos

Hi All,

How to delete a Customer Master record completely in SAP.

Thanks,

Kumar.D

Accepted Solutions (1)

Accepted Solutions (1)

former_member182098
Active Contributor

Hello,

You can delete in OBR2.

However, if you have transaction data on vendor or customer, you cannot delete them for the life time.

Regards,

Former Member
0 Kudos

Thanks Ravi!

But, while trying to delete it in T.Code OBR2, It was showing the errror message as given below.

"Links stored incompletely"

Can you please help me what is the selection criteria / prerequisits to delete customer master record completely through T.Code OBR2, when it contains no data in SAP.

Thanks in Advance.

Kumar.D

former_member182098
Active Contributor
0 Kudos

Hello,

Go to OBR2

Check "Delete Customers"

Give customers you want to delete (make sure they do not have any transactional data)

Tick "Only General master data" - Give your Chart of account

Remove Test Run and Execute

Then again

Tick "With general master data" - Give your Company Code

Remove Test Run and Execute.

Let me know the ERROR NUMBER if you are getting the error still.

Regards,

Ravi

Former Member
0 Kudos

Still I am getting same error.Here is the errorr message number.

Message no. FG166.

Thanks,

Kumar.D

former_member182098
Active Contributor
0 Kudos

Hello,

I could not find any application area with FG. (Check OBMSG)

Are you sure the message is right?

If the transaction data is not there is SHOULD be deleted.

Check FBL1N (with all items), see if there are any postings.

It seems you have postings on the customers.

Not just open items, but also cleared items also.

Regards,

Ravi

saikrishna_vallurupalli
Active Contributor
0 Kudos

u can check the message through se91. after OBR2 u need to run the program SAPF047

former_member182098
Active Contributor
0 Kudos

Hello,

You can add this in OBMSG (also switch off)

FG

166

Then come to OBA5 and switch for online and batch entries.

Then run OBR2

Regards,

Ravi

Former Member
0 Kudos

Hi

Please check whether the company code is set to productive. Use transaction code OBR3. If it is activated then you can not delete the master data.

uncheck the productive indicator and try again.

If there are any transaction data in the custoemr master then delete those transaction data using OBR1 then try to delete the master data.

regards

Hari

saikrishna_vallurupalli
Active Contributor
0 Kudos

use XD06

Answers (3)

Answers (3)

Former Member

If there is an SD-Segment in Customer Master Data, first Report SAPV019 has to be used to delete SD-Segment.

So to completely delete Customer Master Data use reports:

SAPV019 SD

SAPF019 FI (OBR2)

Both reports can be used to delete the general segment.

Best,

Michael

Former Member
0 Kudos

Thanks Michael Schmitt.

Former Member
0 Kudos

Hi,

To delete any customer/ vendor master record, There should be a zero balnce in the respective master record. Then, First select "All Areas" check box under Deletion Flags in transaction code "XD06". And, make sure that the u201CGeneral Datau201D box is unchecked under the u201CDeletion Blocksu201D section in the Master Data.

Then, Go to T.Code "OBR2" and select appropriate check boxes ( Ex: Delete Customers,with general data master data, Delete per deletion flag only, Customer detail log, In case, there is any vendor details select Vendor detail log also.) and execute in production run.

-Kumar.D

Former Member
0 Kudos

I believe you should use Transaction SARA for archiving and deleting master record of customers. Thats activities would in basis area of course