SAP Knowledge Base Article - Public

2860768 - How to throw an Error / Warning message to avoid incorrect Deletion of record / Object in Manage Data

Symptom

  • Customer wants to Alert / Warn the Admins while deleting and specific data / Specific record from Manage Data.
  • This will help avoid any error in other object where the deleted object can be referenced.
  • This might be useful in scenario such as deletion of Job Classification. Many a times customer deletes the Job Classification, however, same are referenced in multiple places such as Positions. This will create issues in Positions

Environment

SAP SuccessFactors - Employee Central

Resolution

You can create a business rule to avoid the deletion of the Data from Manage Data -

  1. Create a Message Definition similar to below - 

MessageDefinitiona.png

2. Create a rule definition similar to below -

Rule Definition.png

3. Assign this rule in Object Definition - Delete Rules Section

RuleAssignment.png

4. Now try to Delete the Record from Manage Data and you should receive the message

WarningMessageOn Deletion.png

Keywords

Error on Deletion of record, rule context, Job Classification, MDF object Delete, Delete Rules, , KBA , LOD-SF-EC-MDF , MDF & EC2MDF Migration , How To

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HXM Core 1911