检索替代变量的值并显示在屏幕上。
显示格式为 CUBE_NAME.SUBSTVAR=value
,例如,Plan2.CurYear=2016
。以 ALL.SUBSTVAR=value
格式显示应用程序级别的替代变量值,例如 ALL.CurYear=2016
适用于
Planning、Planning 模块、自由形式、Financial Consolidation and Close、Tax Reporting、Enterprise Profitability and Cost Management、销售规划和战略性人员规划。所需角色
服务管理员、超级用户(具有规则启动访问权限)用法
epmautomate getSubstVar CUBE_NAME|ALL [name=VARIABLE_NAME]
,其中:
CUBE_NAME
是要从中检索替代变量的多维数据集(例如,Plan1、Plan2)。使用 ALL
在应用程序级别检索替代变量。
name=VARIABLE_NAME
标识要检索值的替代变量(可选)。如果不指定变量名称,命令将检索所有替代变量的值。
示例
获取应用程序和多维数据集级别的所有替代变量的值:epmautomate getSubstVar ALL
在应用程序级别获取一个特定替代变量的值:epmautomate getSubstVar ALL name=CurYear
在多维数据集级别获取所有替代变量的值:epmautomate getSubstVar Plan2
在多维数据集级别获取特定替代变量的值:epmautomate getSubstVar Plan2 name=CurYear