cancel
Showing results for 
Search instead for 
Did you mean: 

SAP MDG-M Snapshot overwrites changed values of reuse active area post activation - How to stop it?

vikas8190
Explorer

Hi Experts,

We have a scenario where business process changes values of certain fields in the backed ECC during material is under change request in MDG. Post MDG activation, business requires to continue with latest value where as MDG is overwriting latest value with an old value.

We tried to implement below SAP NOTEs:

  1. 2063542 - Function for updating snapshot
  2. 1797009 - Activation despite snapshot difference overwrites data

also doc: https://assets.cdn.sap.com/sapcom/docs/2015/07/e8408259-5b7c-0010-82c7-eda71af511fa.pdf

Above notes have helped us to avoid error messages by refreshing snapshot, however it still overwriting changed data as same entities are changed under current change Request.

Example:

Material 'MAT01' is already available for Plant 'P001' with Moving Price = '100'.
Now, MAT01 is initiated in MDG Change Request for new plant extension say 'P002'. It is still under governance, meanwhile someone has change Moving price of Plant 'P001' to '200' from '100'.
Post refreshing snapshot as guided in above notes, it doesn't show data missmatch errors but since same entities are also changed for other plant, it is overwriting old value in ECC post activation.

Please advise to this issue on priority.

Thanks and regards,

Vikas Patel

Accepted Solutions (0)

Answers (5)

Answers (5)

a6unraj
Explorer
0 Kudos

Hi Vikas,

Snapshot refresh is the solution to your problem.
SAP initially said that the snapshot function works as expected( Snapshot refresh only refreshes active record and will not refresh inactive record making the value entered in MDG to overwrite backend changes after CR activation), refer this note https://me.sap.com/notes/0003041055
And now they have extended this snapshot refresh functionality to inactive records as well https://launchpad.support.sap.com/#/notes/3262032

So the solution to your problem is
1) Implement Steps 4.4 Enhance Workflow With ‘Refresh CR Step' from the below document
https://www.sap.com/documents/2023/02/3c473506-637e-0010-bca6-c68f7e60039b.html
This basically calls snapshot refresh method(cl_usmd_snapshot_tools=>refresh_snapshot_for_cr) automatically as a background task before CR activation

2) Then implement the below note if this is not implemented in your system yet: https://launchpad.support.sap.com/#/notes/3262032
This basically includes inactive records while updating snapshot using report USMD_CREQUEST_SNAPSHOT_REFRESH or method cl_usmd_snapshot_tools=>refresh_snapshot_for_cr

Regards,
Arun Raj.

former_member630767
Discoverer
0 Kudos

Kavita S: Is this issue resolved ? because same it is not working in our scenario as well. But our MDG is Co-deployed one.

former_member218472
Participant
0 Kudos

Hi Vikas,

Did you got the solution ?. Would love to hear your answer.

Thanks,

Mahesh

former_member190949
Active Participant
0 Kudos

I am not sure why it is not working in your case.

But if you have Parallel CR for diff entities etc then data for 1 plant can be maintained independently of other .

Thanks.

vikas8190
Explorer
0 Kudos

We are facing this even for single plant where parallel CRs are out of scope.
We have tried to customize a workflow with additional task as shown in SAP Note 1797009 but still not able to stop overwriting of old values in ECC.

former_member190949
Active Participant
0 Kudos

Hello Vikas,

Is your MDG on a Hub or is co-deployed? I am asking as MAP in a Hub Scenario would ideally be out of governance .

Thanks

Kavita

vikas8190
Explorer
0 Kudos

Hi Kavita,

It is co-deployed.