Liquid UI - WS Reference Library

File handling



This is a basic example of opening a file, appending to it, and then closing the file. In this example we use a .txt file however you can use .csv and .xls as well.

User Interface

Log into SAP and on the Easy Access screen, the script will run. Initially, our .txt file will be blank but after the script runs, we should see the following:

Liquid UI Script


// Author: Synactive, Inc. [1065 E. Hillsdale Blvd, Foster City, CA, 94404, USA]
// Email:;;
// Contact: 650.341.3310
// Version:
// Open the file up
openfile("filenames.txt", {"delimiter":";", "output":true});
name1 = "John";
name2 = "Nancy";
name3 = "Alexander";
// Append to the file, set the variables you want to carry over as true
appendfile("filenames.txt", {"name1":true, "name2":true, "name3":true});
// Always close the file after


Was this information helpful? Send Feedback