on 2019 Jun 06 7:54 PM
Hi ,
Can we call another environment "DataManager Package " on InputForm data save?
Can anyone suggest how to achieve it.
Thanks,
Ramjee
Request clarification before answering.
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"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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...
User | Count |
---|---|
12 | |
12 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.