Skip to Content
avatar image
Former Member

ERMS SR is only getting created if contact person exists

Hello experts,

As the title of the discussion says, in our system, the ERMS SR is only getting created if the contact person e-mail address is assigned to a contact person and or BP.

I thought it might have been the partner determination procedure we have assigned to the ERMS SR but that was not it. I tried changing the sold to party minimum to 0 which did not work.

Here are both the direct and indirect services we have assigned to our service manager profile:

And here is the PDP we have assigned to our ERMS SR transaction.

Could it possibly have to do with the access sequence assigned to these partner functions?

Thank you for your help!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Oct 27, 2015 at 02:34 AM

    Hi,

    Do you mean you want transactions get created even the sender's email is not assigned to any BPs in CRM?

    In SPRO->CRM->Basic Functions->Rule Modeler->Define Services, display the service AH_CREATE_SR, we can find that assigned service class is CL_CRM_ERMS_AH_CREATE_SREQ.

    In T-code SE24, display method CL_CRM_ERMS_AH_CREATE_SREQ->IF_CRM_ERMS_SERVICE~EXECUTE, there are statements:

      bp_number

    = service_manager->get_bp_number( ).

      IF bp_number IS INITIAL.

        lv_error_text = 'No business partner found; transaction was not created'(002).

        RAISE EXCEPTION TYPE cx_crm_erms_service_failed EXPORTING shorttext = lv_error_text.

      ENDIF.

    Maybe you have to create your own ERMS service and your own service class to fulfil your requirement. In standard, many information needed when creating a transaction will be retrieved from the BP which is assigned to the sender's email address. Now you must take care of these information in your ways now since email address is not assigned to any BP.

    Best Regards, Corrine

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Corrine,

      Thank you for that insight!

      I've discussed this with our support team and seems like we indeed will have to create our own ERMS service class.

      Thanks for your help in investigating!