cancel
Showing results for 
Search instead for 
Did you mean: 

Order Confirmation from external-system to C4C using WebService

Former Member
0 Kudos

Hi All,

As we don't have standard A2X services for OrderConfirmation from an external system. Is there any possible way to implement it?

Though I have tried to send the same type of message which was received by C4C for OrderConfirmation from SAP ERP from SOAP UI to test if the same data can be reused for the external system.

I am getting error in HCI : Inbound processing in endpoint at https://iflmappe001p0005avtaiop-p0005.intaas.hana.ondemand.com/cxf/MFGPRO/COD/OrderConfirmation failed with message "SoapFault:faultstring=Authorization role missing for service

"ServiceInterface http://sap.com/xi/AP/CRM/Global CustomerQuoteProcessingSalesOrderRequestCreationIn <default> <default>", operation

"Operation http://sap.com/xi/AP/CRM/Global UpdateSalesQuoteBasedOnSalesOrderRequest" (UTC timestamp 20150512130826;

Transaction ID 00163E05B4C41ED4BE94FF39640D80D5); faultcode={http://schemas.xmlsoap.org/soap/envelope/}Server"

The data sent from SOAP UI is as in the picture where I am getting HTTP:500 internal server error, which I believe could be due to wrong data as in HCI I can see it hits the receiver.

Kindly help us solving this issue. Moreover If there is any other way out, please do mention it.

Thank You,

Mayuri

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Yes, your service has not be configured on the C4C side yet. Please follow the link below.

Regards,

Jannus Botha

Former Member
0 Kudos

Thanks Jannus

I am now facing problem with message ID and UUID when I am using the standard UDF provided by SAP. Is there any way we can see the content of the UDF of import them in PI to test it?

Inbound processing in endpoint at https://iflmappe001p0005avtaiop-p0005.intaas.hana.ondemand.com/cxf/MFGPRO/COD/OrderConfirmation failed with message "Fault:com.sap.aii.mappingtool.tf7.MessageMappingException: Runtime exception during processing target field mapping  /ns0:SalesOrderRequestMassConfirmation/MessageHeader/ID. The root message is: Exception:[java.lang.NullPointerException: while trying to invoke the method java.lang.String.toUpperCase() of a null object loaded from local variable 'MessageID'] in class com.sap.xi.tf._JC_ERP_COD_CustomerQuoteConfirmation_test_ method getMessageID[com.sap.aii.mappingtool.tf7.rt.Context@296dc781]", caused by "NullPointerException:while trying to invoke the method java.lang.String.toUpperCase() of a null object loaded from local variable 'MessageID'"

Former Member
0 Kudos

Hi,

It seems that you are sending might be incorrect, incomplete or missing.

Because if you see the error it Says Trying to convert a value to "UpperCase" and it fails for some reason.

Are these problem connected? And i know what the problem is and what that UDF does?

Regards,

Jannus Botha

Former Member
0 Kudos

Hi Jannus,

yes, these problems are related. After creating communication arrangement for this scenario when I am triggering the message again then I am getting this error in HCI.

For scenarios inbound to C4C get updated only if the message ID and UUID are proper, due to which we have standard UDF to get message ID for scenarios like material replication or customer replication have ID and UUID under Message header subnode.

For my scenario which confirms the order created in the external system, I have tried using the UDF where in I get this error.

My colleague has already raised an incident with SAP regarding this error due to standard UDF but we have not got any response yet.

Thanks

Mayuri

Answers (0)