Liquid UI - WS Reference Library

Automatically select/deselect the checkbox


Prerequisites


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!


User Interface

Log into SAP and on the SAP Easy Access Screen, click on the ‘NAVIGATE TO LIST SCREEN’ toolbar pushbutton.


On the below list screen, click on ‘SelectListCheckBox’ to check the checkbox and ‘DeSelectListCheckBox’ to uncheck the checkbox.


Liquid UI Script

// 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('#[4,1]','X'); 
set('#[5,1]','X');             

        enter('?');
}

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

        enter('?');
}


Was this information helpful? Send Feedback