SAP Knowledge Base Article - Public

2539270 - PDI Validation does not get triggered due to KUT Validation

Symptom

You have created a PDI Solution where you created some Validation ABSL Scripts on Save and they are not being triggered as you expect.

Reproducing the Issue

For this scenario we can take as example the Save Process on a Sales Quote Document:

1. Go to Sales Work Center
2. Go to Sales Quotes View
3. Open a Sales Quote
4. Edit it by changing the value of a field on Header
5. Click on Save
6. You will get either an Error Message or a Warning Message at the bottom of the Screen
7. Your ABSL Script file will not get triggered on SAP Cloud Applications Studio

Cause

A Validation has been done on KUT(Key User Tool) in the same screen you applied your Custom Validations via ABSL Script file.
As the KUT validations run first than the Custom Validations, in case of a KUT Validation blocks the save(return false), the Custom Validation will not get triggered as this runs only after the Validations on KUT are finished.

Resolution

This is the system's expected behavior.
Please check the validations you have created via KUT for this specific screen.

Keywords

KBA , LOD-CRM-OPP , Opportunity Management , How To

Product

SAP Hybris Cloud for Customer add-ins 1705 ; SAP Hybris Cloud for Customer add-ins 1708 ; SAP Hybris Cloud for Customer add-ins 1711