Skip to Content
0
Jul 13, 2022 at 01:22 PM

Multiple variables selection - Macro

106 Views

Hi,

is it possible to select two variables (US and DE) with the below code? How should it be adjusted?

Call Application.Run("SAPSetRefreshBehaviour", "Off")

Call Application.Run("SAPExecuteCommand", "PauseVariableSubmit", "On")

Call Application.Run("SAPSetVariable", "0BWVC_COUNTRY", "US")

Call Application.Run("SAPSetVariable", "0BWVC_COUNTRY", "DE")

Call Application.Run("SAPExecuteCommand", "PauseVariableSubmit", "Off")

Call Application.Run("SAPSetRefreshBehaviour", "On")

Thanks!