Hi Jian,
This is pretty common.
You can create a package using process chain /CPMB/ALLOCATION or /CPMB/DEFAULT_FORMULAS - Changing the LOGICFILENAME parameter in advanced script.
And then all you need to do is define package.
i.e.: If you need to filter data, add the following lines advanced script of your package:
PROMPT(SELECTINPUT,%SELECTION%,,"Select the members","VERSION,TIME,ENTITY,BUS_AREA",0)
TASK(/CPMB/ALLOCATION_LOGIC,SELECTION,%SELECTION%)
Lucas