cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Asset Manager 2110 - RFC Error "Value loss during allocation"

aelsiar
Explorer
0 Kudos

Hello Expert,

As part of the SAP Asset manager 2110 standard application setup, we are getting the error RFC Error "Value loss during allocation". This error occurs when the entity set 'EmployeeAddress' is getting downloaded as part of the SAM 2110 onboarding process?

Did anyone face this issue? please advice on this.

Accepted Solutions (0)

Answers (1)

Answers (1)

e_goff
Member
0 Kudos

The "Value loss during allocation" mostly is caused by the runtime error CONVT_DATA_LOSS, which was raised by a CX_SY_CONVERSION_DATA_LOSS exception. You should be able to see this in ST22. I expect this exception was thrown by the SAP Gateway.

Based on what Note 2235525 reports, the problem might be fixed in the oData Model configuration within the ConfigPanel by lengthening the Max Length of property PersonnelNum on the EmployeeAddress entity to 20. The explanation here is there's an HCM customizing switch within table T77S0 that can lengthen the “Person ID”. The coding fix for the Note above was to increase the length to 20. There may be an analogous problem for SAM. If so, it could be resolved via this config step.

You can do further debugging, as well. Try looking at the method /IWBEP/CL_MGW_DATA_HELPER->MOVE_CORRESPONDING. Compare the <ls_target_data> with <ls_source_data>. This should clarify the guilty property.

If this doesn't help, you can raise a support ticket with SAP.