Hi Experts,
I want to create a custom menu for the users where they can connect to reports from any connection.
To do so, I am using function "OpenSpecificDocument" and trying to declare a connection as last parameter as mentionned in SAP documentation :
"OpenSpecificDocument(documentNameAs String, TeamId As String, subFolderRequested As String, subModule As String,[connectionString As String])"
Unfortunately I don't understand the format exepcted in the last parameter and don't manage to make it work.
I tried via EPM function :
=EPMExecuteAPI("OpenSpecificDocument";"description in cell";"REPORTS\myreport.xlsx";_EPM_[% SolutionName%]_[%server%:%port%]_[%environment%]_[%model%]")
or via VBA :
Sub OpenDoc()
Dim EPM As New FPMXLClient.EPMAddInAutomation
Set EPM = New EPMAddInAutomationApplication.Run"EPMExecuteAPI", "OpenSpecificDocument", "Texte","REPORTS\Test11.xlsx", "", "", "",";"_EPM_[% SolutionName%]_[%server%:%port%]_[%environment%]_[%model%]"
EndSub
None of these solutions is working. Do you know what should be filled in the %SolutionName% variable?
Any well will be appreciated.
Best Regards,
Axel