Using Your Liquid UI Products > WS aka Web Scripts (Attended RPA for SAP)

columnheader command

(1/1)

Ashfaq Ahmed:
Purpose:
 
To change the column header (COLUMN NAME/LABEL) on a SAP Table.
 
Syntax:
 
columnheader("[TableName,ColumnName]", "NewColumnName");
 
Note:
1. Does not take any options.
2. Can only be used on native SAP table columns, it will not work on LIQUID UI table columns.

Example

Steps on VA01 Overview screen: The purpose is to change the column name/label "Material" to "Material list" in "All Items" Table.
 
1.Create a script file "SAPMV45A.E4001.sjs" with the following code and save it in your WS scripts directory as configured in "guixt.sjs" file.
                             
                              columnheader("[All items,Material]", "Material List");
 
2.Navigate to the transaction VA01. Input "Order type" as "OR" and hit enter.
 
3.You will see that the Column "Material" is changed with "Material list".
 
Refer to the attachment for further reference....
 

Navigation

[0] Message Index

Go to full version