‎2014 Apr 14 2:18 PM
Hi all,
did anyone ever get a "DUPREC on ESOURCE table" short dump while using the ISU_S_PROFHEAD_CREATE function module?
ESOURCE (Source of Object) is a table with the only one field: SOURCE (NUMC18).
A weird thing is that the above mentioned FM and its wrapper code had been working fine for weeks, but now it is failing due to a duplicate entry in ESOURCE table, whose key is provided by some standard code logic.
But the weirdest thing of all, is that if I test twice the FM directly in SE37 with the same input parameters, it MAY fail at the first time and succeed at the second, and vice versa.
Any hint is highly appreciated...
‎2014 Apr 14 2:38 PM
Fixed, the issue was in the Number Range ISU_EDM_SC.
There are multiple number ranges defined for the above object, and the standard code was dynamically retrieving which one to use through a very weird logic in the common ISU_NUMBER_GET function module.
‎2014 Apr 14 2:38 PM
Fixed, the issue was in the Number Range ISU_EDM_SC.
There are multiple number ranges defined for the above object, and the standard code was dynamically retrieving which one to use through a very weird logic in the common ISU_NUMBER_GET function module.