Hi All,
I try to execute the logic script from Excel Button (Macro), however every time I click on the button , there is nothing happened. The system doesn't prompt any screen for me to enter the variable and the logic file name.
I have done following:
- Activate the developer tabs ribbon
- Activate the "enable macro" and "trust access to the VBA project". Log off and then Log on again.
- Create the Excel Button and assign the macro using following command:
Sub Button7_Click()
Application.Run "EPMExecuteAPI", "DataManagerRunPackage", "", "PACKAGE TO EXECUTE SCRIPT LOGIC", "OTHER FUNCTION", ""
End Sub
The logic script works perfectly when it is executed using online execution (include in "default.lgf") or when it is executed in data manager package.
I use /CPMB/ICData as the process chain and then modify the script in the data manager package as follow:
PROMPT(SELECTINPUT,,,,"%ENTITY_DIM%,%CATEGORY_DIM%,%CURRENCY_DIM%,%TIME_DIM%")
PROMPT(TEXT,%FILE_NAME%, "INPUT FILE NAME")
TASK(/CPMB/ICDATA_LOGIC,SUSER,%USER%)
TASK(/CPMB/ICDATA_LOGIC,SAPPSET,%APPSET%)
TASK(/CPMB/ICDATA_LOGIC,SAPP,%APP%)
TASK(/CPMB/ICDATA_LOGIC,SELECTION,%SELECTION%)
TASK(/CPMB/ICDATA_LOGIC,LOGICFILENAME,%FILE_NAME%)
What do I miss?
Thanks in advance.