cancel
Showing results for 
Search instead for 
Did you mean: 

Can we call another environment "DataManager Package " on InputForm data save?

ramjee_gupta
Participant
360

Hi ,

Can we call another environment "DataManager Package " on InputForm data save?

Can anyone suggest how to achieve it.

Thanks,

Ramjee

View Entire Topic
ramjee_gupta
Participant

We can’t directly call “DM Package” of one Environment from another Environment.

To achieve it, we have some alternate solution –
Solution:
Step i) – Create a process chain in BW and insert the DM Package (Copy data from cons model to planning model. This DM package will be a copy of existing import DM package).
Step ii) – Create DM Package (say DMPACK1) in Consolidation Model which can trigger the BW process chain created in step i).
Step iii) – Implement VB macros in the input form (in the existing SAVE button macro) to run the DMPACK1.
--------------------
Macro -

Sub Run_DM()
Dim EPM As New FPMXLClient.EPMAddInAutomation
EPM.DataManagerRunPackage "CALL_BW_PC", "Data Management", ""
End Sub
--------------------------
Code of DM Package :
TASK(/CPMB/EXECUTE_BW_CHAIN,CHAIN_ID,ZBPC_COPY)

---------------------------

*CALL_BW_PC --- "Data Manager package name "
*ZBPC_COPY --- "BW process chain name"

former_member186338
Active Contributor
0 Kudos

Sorry, but to my mind the proposed solution looks very strange!

If you want to copy data from one model to another then simple script logic with DESTINATION_APP will do the job!

If you want to launch this script logic from target model the RUNLOGIC_PH will do the job.

Unable to understand why do you need the mentioned chains...