Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8436

Re: BPC 10 NW - Run Package Macro

$
0
0

Hi Lucas, how are you?

I'm strugling to implement a macro to run a package with a custom Process Chain.

 

I'm using the following logic:

 

Sub Cash_Flow_Calculation()

   Dim PKGE As New FPMXLClient.ADMPackage

   Dim AUTO As New FPMXLClient.EPMAddInAutomation

   With PKGE

   .Filename = "ZGIF_RUNLOGIC4"

   .PackageId = "CRIST010"

   End With

      EPMObj = AUTO.RunPackage(PKGE, "ZGIF_RUNLOGIC4")

End Sub

 

When I execute it, it returns an error, telling that the variable EPMObj is not defined.

 

I tried putting the following sentence before the Sub:

 

Dim EPMObj As New FPMXLClient.EPMAddInAutomation

 

But it didn't work. Can you help me?

 

Yours,

 

Adriano Frossard.


Viewing all articles
Browse latest Browse all 8436

Trending Articles



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