In order to set the parameters of a query in SAP, variables are used. Variables do not work unless queries are entered in the workbook. There different types of variables, needless to say, that they all have different applications. Some commonly applied ones are text, hierarchies, hierarchy nodes, formulas, processing types, characteristics variable etc