SAP Knowledge Base Article - Public

2615343 - Service Ticket Fails in ERP When Having a Contact Which is Not Assigned to the Account Maintained in the Ticket

Symptom

You create a service ticket in Cloud for Customer (C4C) with a contact which is not assigned to the account. You release the ticket to your ERP system, the message leaves C4C successfully, however, it failes in ERP with the following error:

'Error during processing of BAPI methods'

'Partner maintenance: Partner number missing for an entry with role'

Environment

SAP Hybris Cloud for Customer

SAP ERP

Reproducing the Issue

Pre-requisites: you have a working service ticket follow-up integration scenario between C4C and ERP.

  1. Go to the Service work center in C4C.
  2. Go to the Tickets view and open a ticket.
  3. Under the Overview tab add a customer and also add a contact which is not assigned to the account.
  4. Save your changes and click on the Release to ERP button.
  5. Go to the Administrator work center.
  6. Under the General Settings view open Web Service Message Monitoring.
  7. Observe the outgoing message for the above ticket: the message is successful, however, the <RecipientPartyID> tags are missing.
  8. Open your ERP system and observe the incoming Idoc in transaction WE02 (or WE05).

Result: the idoc is failing in ERP with the following errors:

'Error during processing of BAPI methods'

'Partner maintenance: Partner number missing for an entry with role'

Cause

Adding contact in a service ticket which is not assigned to the account is not a supported scenario for integration. The ERP contact is mapped to the C4C contact relationship. Therefore, if there is no relationship, it is not possible to determine the ERP contact ID.

As the contact is not assigned to the account, valid ID mapping entry is not getting determined and <RecipientPartyID> tag is missing in the payload.

Resolution

You need to select a contact in the service ticket which is assigned to the account to correct this error.

Keywords

service ticket, contact, BAPI methods, Partner Maintenance, Partner number missing, CO_APCRM_SRQ_SUCC_CREATION_OUT , KBA , LOD-CRM-INT-ERP , Integration of C4C with ERP , How To

Product

SAP Cloud for Customer 1211 ; SAP Cloud for Customer 1302 ; SAP Cloud for Customer 1305 ; SAP Cloud for Customer 1308 ; SAP Cloud for Customer 1311 ; SAP Cloud for Customer 1402 ; SAP Cloud for Customer 1405 ; SAP Cloud for Customer 1408 ; SAP Cloud for Customer 1411 ; SAP Cloud for Customer 1502 ; SAP Cloud for Customer 1505 ; SAP Cloud for Customer 1508 ; SAP Cloud for Customer 1511 ; SAP Cloud for Customer 1602 ; SAP Cloud for Customer add-ins 1802 ; SAP Cloud for Customer add-ins 1805 ; SAP Cloud for Sales 3.0 ; SAP Hybris Cloud for Customer add-ins 1605 ; SAP Hybris Cloud for Customer add-ins 1608 ; SAP Hybris Cloud for Customer add-ins 1611 ; SAP Hybris Cloud for Customer add-ins 1702 ; SAP Hybris Cloud for Customer add-ins 1705 ; SAP Hybris Cloud for Customer add-ins 1708 ; SAP Hybris Cloud for Customer add-ins 1711 ; SAP Sales OnDemand 1.0 ; SAP Sales OnDemand 2.0 ; SAP Sales OnDemand 4.0