Liquid UI - Documentation - 17.19 Set cursor on list screens

17.19 Set cursor on list screens


Prerequisites

 

Purpose

Learn how to place the cursor into a field on a list screen. In this example, we will locate the cursor into a list screen on the List Display for Purchase Requisition screen.

 

User Interface

//Create this file inside your script folder for customizing the List Display of Purchase Requisitions screen. RM06BL00.E0120.sjs.

//Now, let's add the Liquid UI script to the above file and save it.

  1. Logon to SAP and navigate to the ME5A screen. Press the F8 key to display a list screen, as shown below. Now, enter the following command in the file and save it.
     
    //Sets the cursor on the specified coordinates
    setcursor("[2,21]");
     
     
  2. Now, refresh the SAP screen. You can see that the cursor is positioned at the mentioned coordinates, as shown below.
     
     

Can't find the answers you're looking for?