Skip to content

Validation messages not displayed for mandatory fields in child (item) entity in ABAP RAP behavior definition #208

@mmarkvillanueva

Description

@mmarkvillanueva

Issue description

I’m working on a managed ABAP RAP BO with a header entity and an item entity.
Validations in the root entity behave correctly: custom error messages from the behavior pool appear and affected fields are highlighted in the UI.

However, validations inside the item entity do not behave as expected.
Instead of receiving the custom messages raised in the behavior pool, the UI only shows the generic message:

“Resolve data inconsistencies to save changes.”

The specific fields in the item table with errors are not highlighted either.

This has been raised on the below SAP Community forum; however, this doesn't solve this particular use case which is validation in the child entity.
https://community.sap.com/t5/technology-q-a/behavior-validation-messages-are-not-displayed/qaq-p/13761252

Another user (Robert_Schulte) reported the same issue when performing validation in a child entity, but the thread did not get an answer.

Image

Can you provide a working sample for this use case in your documentation? Thanks!

Feedback Type (Optional)

None

Page Title on SAP Help Portal (prefilled)

No response

Page URL on SAP Help Portal (prefilled)

No response

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions