cancel
Showing results for 
Search instead for 
Did you mean: 

Runtime Error When Processing a Changeset Request with Idempotency Framework Enabled in ECC

JFULGENCIO
Explorer
0 Kudos
449

Hi guys,

We are working on an app which sends a changeset request to ECC to create an order. We enabled the Idempotent Services framework in SAP following this document: https://help.sap.com/doc/saphelp_hba/1.0/en-US/67/8b5dcd6a5c41789b27b46eb34a6a86/frameset.htm to avoid duplicate requests being processed.

When we ran a test, the changeset call ends in a runtime error and upon checking, I saw an conflict with the commit call required by the IDP and the changeset processing.

In method IDP_STORE of class /IWBEP/CL_MGW_LOCAL_HANDLER, a COMMIT WORK for the IDP is supposed to be called only if the request is not part of a changset processing. The checked is done using a variable called MV_CHANGESET-PROCESSING.

Unfortunately, when I debugged the code, I noticed that the value of the variable is FALSE even if I am processing a changeset call. This means the COMMIT WORK is executed which results to a runtime error because the changeset processing does not expect the COMMIT WORK call.

Can anyone provide guidance on any available SAP Note or reference materials to understand and address this potential bug in the code?

Thanks,

Jeff Fulgencio

View Entire Topic
JFULGENCIO
Explorer
0 Kudos

Just to circle back to this question - note 2844385 is available to fix the issue we had