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

EPM API

$
0
0

Hi Expert,

 

I can't seem to get some API work and wondering if I'm doing anything wrong.

 

GetActiveConnection and GetColumnAxisMembers both return strings, and I could show the string result of the first API in the message box while failed on the second.  Any idea?  The vba codes are:

 

Dim api as New EPMAddInAutomation

str = api.GetActiveConnection(Worksheets("Report"))

MsgBox str

==> This will correctly return the Connection Name in the message box

 

str = api.GetColumnAxisMembers(Worksheets("Report"), "000")

MsgBox str

==> this will prompt an error: Compile Error, Type mismatch.

 

Thanks in advance,

Ben


Viewing all articles
Browse latest Browse all 5414

Trending Articles



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