Skip to Content
0
May 02, 2023 at 09:01 AM

Closure date format issue

275 Views

Hi Everyone,

I'm working on one scenario where the date field I'm getting as empty or 00000000 formats. if the date is coming as 00000000 then after mapping it is converting as 0002-11-30 which is not the correct requirement. If the date is coming as empty, then it is showing the below error.

Inbound processing in endpoint at /testing failed with message "Fault:Sequential processing failed for number 0. Exchange[ID-vsa11222575-1682142720829-1941-7]. Caused by: [com.sap.xi.mapping.camel.XiMappingException - Runtime exception during processing target field mapping /entityset/root/ClosureDate. The root message is: Exception:[com.sap.aii.mappingtool.tf7.rt.BehaviorInvocationException: Cannot cast "" to decimal number.] in class com.sap.aii.mappingtool.flib7.Arithm method equalsA[, , com.sap.aii.mappingtool.tf7.rt.Context@3bf80c2] Cannot cast "" to decimal number.]", caused by "NumberFormatException:null".

So please help me out to solve this.