on 01-17-2014 1:13 PM
Hi,
is there a possibility to check (with a rule) if a picture has been taken or a signature has been made?
For instance we can set the signature transaction property to "required", but we want this signature to be required under certain conditions.
I've experimented with rules that check if the transaction property is empty, but it doesn't act like a string (EQSTRING x= ), so doesn't work.
Are there functions that I've overseen?
Dieter,
Leave the "Required" box checked on the transaction property. You can then put any enabling logic on a signature field's enable rule on the screen. If you don't want it enabled, the screen will allow you to proceed without a signature because the field is disabled. If your rule enables the field, the user will be forced to sign.
Jason Latko - Senior Product Developer at SAP.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dieter,
Sorry, I was wrong. After some further checking, do it this way:
Turn OFF the signature required check box on the transaction property. Leave your enable logic on the screen field so that the signature is only enabled in the cases you want. You could also add another check box to the screen and enable/disable the signature field based on the screen check box being checked. If you want to check whether a signature has been entered maybe in a validation rule on the transaction to force entry, you can use the EQBOOL function against the signature property comparing it to a constant of "1". This will return true if a signature has been entered, or false if not.
This gives you many options. Work Manager uses the check box on screen with an enable rule on the signature field checking against the check box, then follows up with a validation rule in the transaction that again checks the check box and if true, verifies that a signature has been enetered using EQBOOL.
Sorry for sending you down a wrong path!
Jason Latko - Senior Product Developer at SAP
User | Count |
---|---|
91 | |
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.