Skip to Content
0
Sep 06, 2023 at 06:23 PM

How to pass variables to EPM Add-in package prompts?

173 Views

Hi, I have the following prompt in my EPM Add-in package:

PROMPT(COMBOBOX,%BU%,"Select BU to run earning calculations",0,A004,{A003,A004,A005,A006,A019})

It is working fine, but to make the options easy do be changed, I am trying to do:

INFO(%DEFAULT_BU%,A004)

INFO(%BU_MEMBERS%,{A003,A004,A005,A006,A019})

PROMPT(COMBOBOX,%BU%,"Select BU to run earning calculations",0,%DEFAULT_BU%,%BU_MEMBERS%)

But, when I do that the EPM Add-in is not replacing %DEFAULT_BU% and %BU_MEMBERS% by their values, but is using literally the name of vars. When I test the variables out of prompt, the values are set right, but in the prompt it doesn't replace the variable names to values.

Who can help me?