Liquid UI - Documentation - 1.03 How to do SAP customization with Liquid UI SDK?

1.03 How to do SAP customization with Liquid UI SDK?


Pre-requisites

  1. Configure your Liquid UI Server.
    Click here for details on configuring the Liquid UI Server.
  2. Configure your SAP clients.
    Click here for details on configuring the SAP client.

Purpose

This article guides you through the process of customizing your SAP screen using Liquid UI SDK.

SAP customizations can be done in two ways:

  1. Manual Process (Creating the script in a text editor using Liquid UI WS)
  2. Using Designer (using drag-and-drop options w/o coding)

Manual Process

To demonstrate this process, we are considering the SAP Easy Access screen as an example and guide you through the following.

  1. Delete the image container on the SAP Easy Access screen using the del(), then refresh the screen to see the changes, as shown below.
     
    // Deletes the image container on the SAP screen
    del("X[IMAGE_CONTAINER]");
    
     
     
  2. Add an input field labeled User name.
     
    //Creates input field
    inputfield([1,0],"User name",[1,10],{"size":15});
    
     
     
  3. Add a push button labeled Check User Exist.
     
    //Creates a push button
    pushbutton([3,1],["Check User Exist"],{"size":[2.20]});
    
     
     

Using Designer

To demonstrate this process, we are considering the SAP Easy Access screen as an example and guide you through the following using Designer (a no-code tool).

  1. Log into SAP GUI and Launch Liquid UI Designer. Then, the designer screen will replicate the SAP screen. Right-click and select the Delete option, or press the “Delete” key on the keyboard to delete the image container on the screen, as shown in the image below. 
     
     
  2. To add an input field, click and drag the Edit field icon on to the screen. Right-click and select Properties to set the size of the input field.
     
     
  3. To add text to the input field, click and drag the Text icon on to the screen. Then, right-click and select Properties and rename as User name, and click OK.
     
     
  4. To add a push button, click and drag the Push button icon on to the screen. Then, right-click and select Properties to rename the push button as Check User Exist, then click OK to proceed.
     
     
  5. Save the changes, and click on the Script tab. Then, you can see the autogenerated script for the actions performed (image container deletion, addition of input field, and push button), as shown below.
     
     
  6. Now, refresh the SAP Easy Access screen to see the changes.
     
     

Click here for details on customizing your SAP using Liquid UI SDK.

Click here for details on customizing your SAP with WS scripts in various scenarios.


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