Liquid UI - WS Reference Library

Resizing Groupbox for Sales Order


Prerequisites


Runs On

  SAP GUI Android iOS WM Web
Direct Connect          
Liquid UI Server Connect


Purpose

To change the dimensions of native SAP box in Create Sales Order:Initial Screen using the boxsize() command.


User Interface



Liquid UI Script

boxsize("G[Organizational Data]",[5,62]);
del("F[Sales Group]",{"triple":true});
del("F[Sales Office]",{"triple":true});
if(z_dropdown=="re"){ text([2,63],"Creating Sales Order For \'Returns\'",{"size":34}); } if(z_dropdown=="aa"){ text([2,63],"Creating Sales Order For \'Promotional Order\'",{"size":44}); } if(z_dropdown=="or"){ text([2,63],"Creating Sales Order For \'Standard Order\'",{"size":41}); } pushbutton([13,11],"Create Sales Order",{"process":va01_populate, "size":[2,29]});
text([2,2],"Select Order Type"); del("F[Order Type]",{"triple":true}); set("V[mylist]","=--- Select Order Type ---;aa=Promotional Order;re=Return;or=Standard Order;");
dropdownlist([2, 20],"mylist",{"refer":"V[z_dropdown]", "width":30,"process":va01_refresh});
onUIEvents['enter']={"process":va01_populate} function va01_populate(){ set('F[Order Type]','&V[z_dropdown]'); } function va01_refresh(){ enter('?'); }