on 2018 Aug 13 3:23 PM
Dear Team,
We need to delete an existing ID Mapping once we create id mapping from second system.
For Example,
Account ID ( C4C ) : 239239 Now go to Admin -> ID mapping Select ERP account
Add ID : 239239
System : CRM.1 (Old)
You will get an exteranal id linked to it.
Now just change the System to NewERP. You will get another external id linked to 239239 C4C ID.
The first ID mappiing happened via migration of prospect and second id mapping happens from a non SAP ERP once prospect is turned in to customer.
Hence we want to delete the earlier ID Mapping.
For the above purpose we identified Web service :"CommunicationServicesManagementMaintainObjectIdentifierMappingIn" , However this webservice always gives us error message
: "Query result not unique; BO OBJECT_IDENTIFIER_MAPPING, Node ROOT, Query QUERY_BY_ELEMENTS : = 5368 ; = 147 ; = 00163E32B1001ED798947344C412E685 ; = 00163E2BC5671ED78A9D7A9FB16C5950"
And we are not able to understand the same.
We use another SOAP service to make a Query :
"CommunicationServicesManagementQueryObjectIdentifierMappingIn"
which works fine to get us the desired data but , this WS doesnt have a Delete action code as Maintain ( and rightly so).
Looking forward for your support on how to use WS to delete existing ID mapping.
Request clarification before answering.
ID mapping deletion via ODATA :
Very simple!
First GET :
https://myxxxxxxx.crm.ondemand.com/sap/byd/odata/v1/c4codataapi/ObjectIdentifierMappingCollection?$f... eq 'xxxxxx' %26%26 RemoteBusinessSystemID eq 'xxx'
Get ID in response with below :
https://myxxxxx.crm.ondemand.com/sap/byd/odata/v1/c4codataapi/ObjectIdentifierMappingCollection('UUIDorGUID whatever u calls it')
Call Delete for above with csrf token and you are done!
Short and simple!
BR
Dhruvin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Dhruvin,
I am trying to replicate Functional location from ECC to C4C, earlier the connection was established for another client, not the connection from ECC to C4C is changed to different client.
I followed the steps you mentioned to delete the mapping for previous ECC client, but still i am getting an error in webservice.
Please find the error log.
<ERROR_CONTEXT>
<ERROR_INFO>
<EXCEPTION_INFO>
<TYPE>CM_MBF_IPA_COMMON_TASK</TYPE>
<ERROR_TEXT>Solve Configuration Issue in ID Mapping for Element SalesOrganisationID with ID 2000</ERROR_TEXT>
<CX_PROXY_INBOUND_APP_ERROR>
<ERROR_PART href="#o949"/>
<ID>APPLICATION_ERROR</ID>
<RETRY_MODE>A</RETRY_MODE>
<ERROR_CLASS_NAME>CX_APC_STANDARD_FAULT_MESSAGE</ERROR_CLASS_NAME>
</CX_PROXY_INBOUND_APP_ERROR>
<CX_APC_STANDARD_FAULT_MESSAGE>
<ADDITION>
<LOG>
<ITEM>
<APC_S_LOG_ITEM>
<TYPE_ID>002(/MBF_IPA_COMMON_TASK/)</TYPE_ID>
<CATEGORY_CODE>
<CONTENT>BPR.TUR</CONTENT>
</CATEGORY_CODE>
<SEVERITY_CODE>3</SEVERITY_CODE>
<NOTE>Solve Configuration Issue in ID Mapping for Element PARTY_ID-CONTENT with ID 2000</NOTE>
</APC_S_LOG_ITEM>
<APC_S_LOG_ITEM>
<TYPE_ID>002(/MBF_IPA_COMMON_TASK/)</TYPE_ID>
<CATEGORY_CODE>
<CONTENT>BPR.TUR</CONTENT>
</CATEGORY_CODE>
<SEVERITY_CODE>3</SEVERITY_CODE>
<NOTE>Solve Configuration Issue in ID Mapping for Element PARTY_ID-CONTENT with ID 69000006</NOTE>
</APC_S_LOG_ITEM>
<APC_S_LOG_ITEM>
<TYPE_ID>002(/MBF_IPA_COMMON_TASK/)</TYPE_ID>
<CATEGORY_CODE>
<CONTENT>BPR.TUR</CONTENT>
</CATEGORY_CODE>
<SEVERITY_CODE>3</SEVERITY_CODE>
<NOTE>Solve Configuration Issue in ID Mapping for Element SalesOrganisationID with ID 2000</NOTE>
</APC_S_LOG_ITEM>
</ITEM>
</LOG>
</ADDITION>
<AUTOMATIC_RETRY>X</AUTOMATIC_RETRY>
<CONTROLLER/>
<NO_RETRY/>
<STANDARD>
<FAULT_TEXT>Solve Configuration Issue in ID Mapping for Element SalesOrganisationID with ID 2000</FAULT_TEXT>
</STANDARD>
<WF_TRIGGERED/>
<IF_AI_APPLICATION_SPLIT.SPLIT_RETRY/>
<IF_AI_APPLICATION_SPLIT.SPLIT_BLACK_LIST/>
</CX_APC_STANDARD_FAULT_MESSAGE>
<CM_MBF_IPA_COMMON_TASK>
<MESSAGE_ATTRIBUTE_01>SalesOrganisationID</MESSAGE_ATTRIBUTE_01>
<MESSAGE_ATTRIBUTE_02>2000</MESSAGE_ATTRIBUTE_02>
<MESSAGE_ATTRIBUTE_03/>
<MESSAGE_ATTRIBUTE_04/>
<SENDER_TECHNICAL_ID/>
<SYSTEM_INSTANCE_ID>REQCLNT400</SYSTEM_INSTANCE_ID>
</CM_MBF_IPA_COMMON_TASK>
</EXCEPTION_INFO>
</ERROR_INFO>
<PROVIDER_INFO>
<PROCESSING_UNIT>Sector 4: Provider</PROCESSING_UNIT>
<PROCESSING_MODE>Asynchronous</PROCESSING_MODE>
<PROCESSING_TYPE>Remote</PROCESSING_TYPE>
<WORK_PROCESS_NUMBER>59</WORK_PROCESS_NUMBER>
<WORK_PROCESS_PID>84094</WORK_PROCESS_PID>
</PROVIDER_INFO>
</ERROR_CONTEXT>
Any support will be much appreciated.
- Saurabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.