Prerequisites
- Products: Liquid UI WS, Liquid UI Server or Local DLL, Client Software
- Commands: enter(), onscreen()
Purpose
Upon the appearance of an error message, adding delay time option in a loop repeatedly activates the "Enter" button until the error message disappears from the current screen. This is particularly useful in a function following a modifying or complementary transaction, when you call up a further transaction for which the completion of the current transaction is a necessary condition. The system displays an error message until the required modification has been confirmed.
Liquid UI Script
Declare a variable in the esession file to start the delay time in seconds.
DELAY = 20; // start delay time with 20 seconds //Add delay time in a loop inside the function Function:
onscreen 'SAPLIQS0.0100'
i=0;
enter("/niw51");
RETRY_DELAY:;
onerror
i++;
delaytime = DELAY*i;
enter(delaytime);
goto RETRY_DELAY;