on ‎2025 Nov 13 11:10 AM
Hi,
I need assistance with three related configuration tasks.
We need to define a new custom message to be used within our validation rules. How I can make it?
We need to implement a validation rule when there is the control that the posting date of a document mustn’t greater than the acquition date. How I can make it?
We need to define Sets to manage dynamic value lists and assign them within the validation rules. How I can make it?
Thanks.
Request clarification before answering.
Dear @Andrea_Gr,
How can we define a new custom message for validation rules?
Answer:
Now this custom text will appear when the validation fails.
More details below:
https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/#/detail/Apps('F4406')/S35
How can we implement a validation: Posting Date must not be greater than Acquisition Date?
Answer:
If Posting Date > Acquisition Date -> rule fails -> error message is shown.
6. Save and Activate the rule.
How can we define Sets (dynamic value lists) and use them in validation rules?
Answer:
More details below from SAP Community and SAP Note:
https://userapps.support.sap.com/sap/support/knowledge/en/3583820
Best Regards,
Dawid
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Andrea,
Thanks very much for your question!
Please refer to the following documents:
Best regards,
Henrike
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andrea,
in addition to the SAP Help Portal sources mentioned above, here are some more answers to your questions:
Q: We need to implement a validation rule when there is the control that the posting date of a document mustn’t greater than the acquition date.
A: For the creation of your validation rule, you need to select and compare the relevant date fields.
Q: We need to define Sets to manage dynamic value lists and assign them within the validation rules. How I can make it?
A: For a dynamic value list, it’s recommended to create a Custom Business Object. This custom BO needs to include a value list which you can access from the Substitution/Validation Rule app using Table Lookup. For table lookups, you can also refer to the following blog post: How to use table lookup in Substitution and Validation rules.
I hope this helps.
Best regards,
Verena
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.