Generated CSV file
// Set file path
Set
V[path]
"C:\temp\sales.csv"
// open file for output
// delimiter is ;
// see Regional Settings in Windows
OpenFile
"&V[path]"
-output
delimiter=";"
// 1st record
Set
V[matnr]
"M-01"
Set
V[orgunit]
"10001000"
Set
V[sales]
"183547"
AppendFile
"&V[path]"
matnr orgunit sales
// 2nd record
Set
V[matnr]
"M-02"
Set
V[orgunit]
"10001000"
Set
V[sales]
"353547"
AppendFile
"&V[path]"
matnr orgunit sales
CloseFile
"&V[path]"
// Display file
Start
"&V[path]"
Updated CSV file
// Set file path
Set
V[path]
"C:\temp\sales.csv"
// open file for appending additional records
OpenFile
"&V[path]"
-append
delimiter=";"
// 3rd record
Set
V[matnr]
"M-03"
Set
V[orgunit]
"10001000"
Set
V[sales]
"283547"
AppendFile
"&V[path]"
matnr orgunit sales
CloseFile
"&V[path]"
// Display file
Start
"&V[path]"