cancel
Showing results for 
Search instead for 
Did you mean: 

How to check weather FM is Called by Migration Cockpit

master1980
Explorer

I have a Questen regarding SAP Migration Cockpit. How can I undoubtedly determine, weather a piece of Code (e.g. Function Module) is called from the Migration Cockpit Framework? E.G. SD_SALESORDER_CREATE_EEW can be called either from BAPI, CRM-Interfaces or Migration Cockpit. The SYST-Structure does not contain nothing at all during debugging.

We have 2 Problems, the solving of which needs me to create implicit Enhancements or Modifikations in which i have to check out if we deal currently with a Migration session or not.

I think there must be some kind of a "Singleton" of the migration Framework I could use:

Like This:

if CL_DMC_MIG_RUNNING=>GET_INSTANCE=>IS_MIGRATION_RUNNING( ) = APAB_TRUE.
do somesting different..........

endif.

View Entire Topic
prithvispandana
Advisor
Advisor
0 Kudos

Hello,

Please refer to the debugging guide which explains to set break point at API -Analyzing API Calls Triggered by the SAP S/4HANA Migration Cockpit

Thank you,

Prithvi