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