Im trying to automate the creation of multiple reports in BO using the analysis API. So far its working fine. I can:
- open a saved report
- change the filter values on every dimension
- change the variables / prompts of the report where needed
- save the refreshed report in a folder of my choice with a name of my choice.
and that as often as I want in one go.
that is all great! what I cannot control however is how HIERARCHIES are displayed.. when a user clicks through a hierarchy he/she can open the nodes he/she want to see. Is anyone aware of a SAP function that can automate this?
Example. Imagine this hierarchy:
ProdCat A
Brand A
Subbrand AA
Subbrand AB
Brand B
Subbrand BA
Subbrand BB
ProdCat B
Brand C
Subbrand CA
Subbrand CB
the user can find the report in this stage:
[+] ProdCat A
[+] ProdCat B
...and then click on ProdCat A and then brand B until:
[-] ProdCat A
[+] Brand A
[-] Brand B
Subbrand BA
Subbrand BB
[+] ProdCat B
Now, is there a way that I can set this in a programmatic way with the API? ie "open the report and expand Prodcat A and Brand B" ?
separately, is there a programmatic way to say "Expand node x in this hierarchy to level 6", just like you can do in the menu?
I tried SAVING the report in the expanded state and it opens OK, but when you start filtering in other dimensions the drilling down is reset every now and then in an unpredictable way!
help is appreciated!