Using Your Liquid UI Products > WS aka Web Scripts (Attended RPA for SAP)

Set List Screen Checkbox

(1/1)

Benjamin Dasari:
Purpose:
Select the checkbox on a list screen.

NOTE - Available from WS Version 1.2.296.0 and Liquid UI Server Version 3.5.524.0 onwards!

Liquid UI Code:

// SAPLSMTR_NAVIGATION.E0100.sjs
pushbutton([TOOLBAR], "NAVIGATE TO LIST SCREEN", "/nLB13", {"process":lb13navigate});      

function lb13navigate(){
   onscreen 'SAPML02B.0204'
      set('F[Warehouse Number]','001');
      set('F[Requirement Number]','F');
      set('C[Completed]','X');
      enter();
}   

// RLLB1300.E0120.sjs
pushbutton([TOOLBAR], "SelectListCheckBox", '?', {"process":selectListCheckBox});      
pushbutton([TOOLBAR], "DeSelectListCheckBox", '?', {"process":deselectListCheckBox});      

// Function to check the list screen checkbox
function selectListCheckBox(){
   onscreen 'RLLB1300.0120'
      set('#[5,1]','X');         
      enter('?');
}

// Function to uncheck the list screen checkbox
function deselectListCheckBox(){
   onscreen 'RLLB1300.0120'
      set('#[5,1]',' ');         
      enter('?');
}


See attachments for code samples!

Navigation

[0] Message Index

Go to full version