Quantcast
Channel: SCN : Discussion List - SAP Planning and Consolidation, version for SAP NetWeaver
Viewing all articles
Browse latest Browse all 5414

Call Report from other Model - Custom Menu BPC 10.1

$
0
0

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


Viewing all articles
Browse latest Browse all 5414

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>