Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Changing Manage Account WS

Hi all,

I want to use the Manage Account WS in order to integrate data from external ERP system.

I created a new extension field "ERP ID" under account, and want to use it in order to identify the relevent account when the ERP system invoke the WS.

However, as far as I can tell, Manage Account WS allows only Internal ID or UUID as identifiers.

Is there any way to change this and allow identification by ERP ID?

Thanks,

Dror.

Former Member
replied

Hi Dror,

You can use the Manage Account Web Service to create/update the Account in C4C.

This web services is synchronous WS and will return the internal ID/UUID of the Account created/updated in the response.

Optional: There is a tag <ObjectNodeSenderTechnicalID> in the message that is returned in the response. You can pass the ERP-id here so you can tie up the ERP-id and C4C-id in the response.

<Contact actionCode="04">

   <ObjectNodeSenderTechnicalID>ERP-id</ObjectNodeSenderTechnicalID>


You can then use your ERP-id and the C4C-id (from the Manage Account response or a separate Query Account service) to call the Manage Object Identifier Mapping service to update the external id in C4C.

<ObjectIdentifierMapping actionCode="04">
  <ObjectNodeSenderTechnicalID>01</ObjectNodeSenderTechnicalID>
  <RemoteIdentifierType>888</RemoteIdentifierType>
  <LocalIdentifierType>888</LocalIdentifierType>
  <RemoteObjectID>ERP-id</RemoteObjectID>
  <LocalObjectID>C4C-id</LocalObjectID>
  <OriginTypeCode>5</OriginTypeCode>
  <RemoteBusinessSystem>
    <BusinessSystemID>TSTCLNT005</BusinessSystemID>
  </RemoteBusinessSystem>
</ObjectIdentifierMapping>

Hope this help.

Regards,

Shashank Gokhale

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question