Liquid UI - WS Reference Library

pos() example


Purpose

This example shows the usage of pos() command for the following scenarios:

  • moving fields
  • moving labels
  • using offset 


User Interface

Sales Order screen


 

Steps

  1. Navigate to Create Sales Order screen (va01).
  2. Create a script file sapmv45a.e0101.sjs.
  3. Enter the following commands:


    Liquid UI Script

    pos("F[Sales Organization]",[5,30]);
    pos("F[Distribution Channel]",[6,33],{"value":true});
    pos("F[Sales Group]",[9,30],{"text":true});
    pos("F[Division]",{"field":"F[Sales Office]","offset":[0,30]});
    
  4.  Execute the script.