on 07-30-2015 10:16 PM
Hi Gurus
We are using BRF+ with MDG7.
How can we with BRF+ raise an error message when a user inserts too many characters in a specific field?
This is related to the integration with a non-SAP client system.
Thanks in advance.
Hi,
I do not know if I got your question correctly: You can transfer the input into the field into BRFplus and then check it using one of the expressions BRFplus offers.
You can then raise an error message via the log message action (Log Message Action - Business Rule Framework plus (BRFplus) - SAP Library).
If you need to access the check in a non-sap system you can expose the check as RFC or web-service (both can be generated via the bRFplus workbench).
Hope that helps
BR
Christian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I do know where you can call BRFplus in your application, but I would hope there is some code-exit in which you get as importing parameter the value of the field that you want to check. In this spot you would call the BRFplus function.
You tranfer then the value of the field to BRFplus using the context.
Within BRFplus I would guess you can determine the length of the inpt using a formula expression and in there the formula function STRING_LENGTH in order to determine the length of the input.
You can use that in a simple rule to check the length and react accordingly (like described above by using an action or returing an error message)
BR
Christian
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.