"When I click macro button" doesn't mean that "When I change the context, automatically run DM package"!
You want to run DM using macro attached to the button and you want context selection to be passed to DM without user having to select values.
Simple way - to use default values in the DM advanced script:
PROMPT(SELECTINPUT,%TIME%,,"Select Time:","TIME",,1)
1 at the end will result in selection of context member.
Complex, but fully automated: How to Call a BPC Data Manager Package from VB
Vadim