on 04-19-2017 1:54 PM
Dear SAP BPC experts,
I would like to add a press button to the data entry layout which starts certain script in the data manager. The script does not have to be able to read the parameters of the context. My questions are the followings:
The excel sheet has to be ready for allowing macros and this has to be defined as macro friendly excel sheet as we save the excel sheet / template?
Which VBA function has to be used that can start reading the macro?
This had been VBA function MNU_eDATA_SELECTPACKAGE in SAP BPC 7.5 what is the relevant VBA function for this in SAP BPC 10.1?
Thanks for your help,
Tamas
Sorry, but why not to read standard EPM help?
Save file as xlsm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Vadim, thanks for your answer. your link is useful.
I have written my VBA code:
Private Sub Gomb_kattintás ()
DataManagerRunPackage(GASOLINE_BUTTON, Function, , CPMB/ICDATA)
End Sub
The VBA says that there is a syntach error in Private Sub Gomb_kattintás () in the first line.
What can it be the problem? any idea?
Thanks for your help
Sorry, but what do you mean by:
Private Sub Gomb_kattintás ()
DataManagerRunPackage(GASOLINE_BUTTON, Function, , CPMB/ICDATA)
End Sub
???????????????????????????????????????
You need some basic VBA training 😞
The correct Sub will be like:
Private Sub Gomb_kattintás ()
Dim epm As New FPMXLClient.EPMAddIn
epm.DataManagerRunPackage "packageId", "groupId", "teamId"
End Sub
Vadim Thanks for your help, but I am still getting an error message:
Please see the screen of this:
Yes this has worked fine thanks for this Vadim.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
12 | |
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.