RetrieveQueries Method
Retrieves queries from the user group.
Object Oriented Interface
public function doRetrieveQueries();
Procedural Interface
inerp_sapquery_do_retrievequeries($res);
Remarks
This will use the WorkSpace, QueryName, and UserGroup to retrieve any queries that meet the criteria.
So you can do something like this:
SapQuery1.WorkSpace = SapqueryWorkSpaces.wsGlobalArea; SapQuery1.QueryName = "*"; SapQuery1.UserGroup = "/SAP*"; SapQuery1.RetrieveQueries();This will then QueryMetaDatas with any query available in the Global Area workspace the user groups that begin with "/SAP" have access to.