Skip to Content
avatar image
Former Member

S4 to C4C mapping Service Request creation

Hi everyone,

I'm trying to replicate Service requests from S4 to C4C but I'm facing a mapping problem.

For the C4C side I'm using ManageServiceRequestIn, but I cannot make it work.

I tried to force some values to test the communication, but it is ending the same way every time : with an error "Queue has not enough value in context" (See screenshot below).

Has anyone ever tried this ?

Best regards,

Julen.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Dec 16, 2016 at 10:11 AM

    Hi everyone,

    I managed to correct this problem.

    The WSDL file of my incoming IDOC had been generated by the FM SRT_IDOC_WSDL_NS and according to this post : https://blogs.sap.com/2015/05/06/handling-extendedcustom-idoc-in-hci-with-standard-content/ , some fields had to be changed to make it work.

    So I made the changes and now the binding works perfectly.

    Best regards,

    Julen.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 14, 2016 at 08:23 AM

    Hi everyone,

    I'm adding some info for my issue.

    I tested both the webservice ManageServiceRequestIn and the Idoc and they are perfectly working. I just cannot make them work together with HCI mapping.

    I also did some digging on SCN and found a post with the same issue, where it was explained that some mandatory field where not specified. The problem is that I can create Service Requests with the web service on SOAPUI, but I still get the error when I try it with HCI.

    Best regards,

    Julen.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 14, 2016 at 12:00 PM

    Hello Julen,

    If you are using XSD or WSDL in the mapping and the there are fields with occurrence 1 to many or 1 to 1 [ Which means mandatory ] then you have to check the XML which you are passing to that mapping. If the mandatory fields are not passed to mapping by default Message Mapping will through an error stating "queue has not enough values in the context ".

    If you have option to change the mapping [ Editable Standard content ] and as per your requirement you dont have to pass any values to that field then you can disable that field ] then mapping will not give any error.

    Also could you please let me know the integration pakage name and IFlow name which you are using.

    Regards,

    Sriprasad Shivaram Bhat

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 14, 2016 at 02:44 PM

    Hi Sriprasad Shivaram Bhat,

    First of all, thanks for the response.

    All the fields with occurrence 1 to 1 or 1 to many are specified in the XML I'm passing, and I hadded a fail-proof mapping has, if the field is empty, I provide some data to ensure that the field is not empty.

    I tried to disable some fields, but the problem is still there.

    I'm using the integration package SPA Hybris Cloud for Customer Integration with SAP S/4HANA, but my IFlow is purely specific as the Service Request replication is not provided. The version of C4C is 1611 and S/4 is on 1511.

    Best regards,

    Julen.

    Add comment
    10|10000 characters needed characters exceeded