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

BPC 10 NW: Macro AFTER_EXPAND

$
0
0

Hi all,

 

I'm trying to trigger a macro when the user expand a node (double-click) in the hierarchy of the report. I thought that the event AFTER_EXPAND would have accomplished this scenario but the event isn't triggered.

 

This is the basic code:

 

Function AFTER_EXPAND()

Dim ps As New FPMXLClient.EPMAddInAutomation

ps.Refresh

AFTER_EXPAND = True

End Function

 

I can trigger the refresh event with BEFORE/AFTER_REFRESH.

 

Anyway my problem is this: I have created a local member with the function EPMRetrieveData and when I expand a node the function EPMRetrieveData for the just expanded members show #RFR:


2015-09-16 10_30_53-Microsoft Excel - Remote.jpg


and so I have to click on Refresh again which is pretty annoying. If I can put an auto-refresh in the macro after the user-triggered expand I can avoid the user-refresh.


Any suggestion ?


Thanks,

Michele


Viewing all articles
Browse latest Browse all 5414

Trending Articles



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