Hi Experts,
I am trying to trigger a data manager package using visual basic behind a command button. The data manager package is a BW process chain and it doesn't need any prompts. The code behind the command button is as below.
Dim pkge As New FPMXLClient.ADMPackage
Dim autoDM As New FPMXLClient.EPMAddInDMAutomation
Dim inFileName As String
Set pkge = New ADMPackage
'Declare package variable
With pkge
.GroupId = "Master Data"
.PackageType = "Process Chain"
.PackageDesc = "Master Data on Fly Process Business Need"
.PackageId = "Master Data on Fly Process Business Need"
.UserGroup = "0011"
.FileName = "ZUJDX_PROCESS_RBUSNEED"
.TeamId = ""
End With
inFileName = "C:\ResponseFile.xml"
Call autoDM.CreateLocalResponseFile(pkge, inFileName)
Call autoDM.RunPackage(pkge, inFileName)
But somehow the local response file is not being created. And the run package function fails with error "File doesn't exists". The package parameters are exact copy of the entry from UJD_PACKAGES2. Am i missing anything?
Thanks in advance.
Bindu