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

LiquidUI: Search Option in Set Command

(1/1)

chirag.amin@guixt.com:
In a previous forum, a generic search function was created:

•   http://www.guixt.com/forum/index.php?topic=101.0

This feature is now in built since version 1.2.305. This is a very useful option used in the set command. It is most commonly used to help the developer pull out a document number from a message given by SAP. Here is an basic example of the command to illustrate it's functionality and syntax.

LiquidUI Code:


//SAPLSMTR_NAVIGATION.E0100.sjs
save_message = "Material document 312134 has been saved.";
// "document" is the string that is being searched for from V[save_message]
set("V[mat_doc_num]", "&V[save_message]", {"search":"document"});
// V[mat_doc_num] will store the next word after the searching string: "document"
message("S:&V[mat_doc_num] was created!!");

Navigation

[0] Message Index

Go to full version