The following example shows how to build an input list for the query functions:
VARIABLE
ACTIVITY act_id;
LIST OF ACTIVITY act_list;
INTEGER status;
.
.
act_id := stm_r_ac (’A1’, status);
act_list := stm_r_ac_physical_sub_of_ac ({act_id},
status);
.
.The variable act_id contains the ID of the activity A1. You built the input list by enclosing act_id in curly braces ({}). In this case, the input list consists of one element. If you want to build an input list of multiple elements, enclose them all in curly braces, separated by commas.
Note: The input list is built from element IDs, not element names.