HI Guys,
I am getting below error in a mapping ERP_COD_BusinessPartnerERPBulkReplicateRequest.
This is a HCI process to replicate business partner from SAP ERP
Error Details
com.sap.xi.mapping.camel.XiMappingException: com.sap.aii.mappingtool.tf7.MessageMappingException: Runtime exception during processing target field mapping /ns0:BusinessPartnerERPBulkReplicateRequest/MessageHeader/ID. The root message is: Exception:[com.sap.aii.mappingtool.tf7.rt.BehaviorInvocationException: while trying to invoke the method java.lang.String.toUpperCase() of a null object loaded from local variable 'MessageID'] in class com.sap.xi.tf._ERP_COD_BusinessPartnerERPBulkReplicateRequest_ method getMessageID[com.sap.aii.mappingtool.tf7.rt.Context@6a42bf25] while trying to invoke the method java.lang.String.toUpperCase() of a null object loaded from local variable 'MessageID', cause: java.lang.NullPointerException: while trying to invoke the method java.lang.String.toUpperCase() of a null object loaded from local variable 'MessageID'
This is the HCI flow.
This is the mapping where it has issue as per the error message.
I even tried to test the mapping in HCI and it works there, however does not works in runtime. :)
Can you guys help.
Thanks
Yatan