SAP Knowledge Base Article - Preview

3451833 - Activity not created in SAP B1 - Invalid contact person code [OCLG.CntctCode]

Symptom

  • An Activity was created in SAP Field Service Management, but it could not be created in SAP Business One due to the following error:
    • Invalid contact person code [OCLG.CntctCode].
  • Additionally, the "syncStatus" property on the Activity DTO is set to "ERP_ERROR" as observed through the Query API.
  • The SAP B1 Cloud Connector generates the following error messages:

ERROR|2024-04-01 22:01:06.7594||SAPB1Connector.DI.ObjectWriter|pid=20040|tid=21|tname=SAP B1 Connector Event Thread
ObjectWriter.SaveXml error
SAPB1Connector.DI.ObjectWriter.SaveXml SAPB1Connector.DI.DIObjectException: Invalid contact person code [OCLG.CntctCode]
   at SAPB1Connector.DI.Writers.Activity.ActivityWriter.SetFields(IContacts activity, XmlDocument doc)
   at SAPB1Connector.DI.Writers.Infrastructure.DiObjectWriter`1.Write(XmlBasedDownstreamEvent xmlBasedDownstreamEvent)
   at SAPB1Connector.DI.ObjectWriter.SaveXml(DownstreamEvent downstreamEvent)

ERROR|2024-04-01 22:01:06.8375||SAPB1Connector.Connector|pid=20040|tid=21|tname=SAP B1 Connector Event Thread
Could not save object to SAP B1.
ObjectType: ACTIVITY
TransactionId: 1870
GUID: 3E8966C317644A1FBCFC559CCA0ECEC8
Message: Invalid contact person code [OCLG.CntctCode]
Error: SAPB1Connector.DI.DIObjectException: Invalid contact person code [OCLG.CntctCode]


Read more...

Environment

  • SAP Field Service Management
  • SAP Busines One

Product

SAP Field Service Management 1.0 ; SAP Field Service Management 1.0, connector for SAP Business One

Keywords

SAP FSM, Activity, Service Call, Business Partner, Contact, creation, failed, error, SAP B1, DI API , KBA , CEC-SRV-FSM-BOC , FSM Business One Connector , CEC-SRV-FSM-ERP , FSM Connector for SAP ERP , Known Error

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.