Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Analysis, edition for Microsoft Office
Viewing all articles
Browse latest Browse all 1521

In need of some real life examples on using SAP BO analysis in VBA

$
0
0

I have been creating a macro workbook that repeatedly can select a report, set filters and variables and then save them in Excel. This is saving me a lot of time.

One thing I struglle with though is the exact syntax of some of the commands like "SAPSetFilter". I can set filters in flat dimensions without a lot of issues. When w dimension is displayed in HIERARCHY mode however, my SAPSetFilter calls fail.

 

example. If you have a hierarchy like this:

Dimension CARS

[-] All

     [-] GermanCars

               BMW

 

then Run.Application("SAPSetFilter","DS_1","CARS", "BMW", "IINPUT_STRING") will work fine

How do I filter for GermanCars though? I can't seem to make it work. Help is appreciated! I read all the manuals with naming conventions, but I need some working examples to help me out here!

Remco


Viewing all articles
Browse latest Browse all 1521

Trending Articles



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