Liquid UI Forum

Using Your Liquid UI Products => WS aka Web Scripts (Attended RPA for SAP) => Topic started by: Benjamin Dasari on June 28, 2017, 01:48:05 PM

Title: Check if SAP field is editable or not, using "isprotected" option
Post by: Benjamin Dasari on June 28, 2017, 01:48:05 PM
Purpose: To check if an SAP screen element is read-only or not.

isprotected - Will return 1 if it is read-only and 0 if it is editable.
Syntax:
if(<"F[LIKP-BLDAT]">.isprotected)       // Checks the 'Document Date' field on the Picking screen. If it is read-only then Document already posted
     set("V[z_vl02n_docdatestatus]","X");   


NOTE - Below is the link of another forum article where it is used:
http://www.guixt.com/forum/index.php?topic=81.msg85#msg85 (http://www.guixt.com/forum/index.php?topic=81.msg85#msg85)