on 04-07-2015 7:24 AM
Hello Mayuri
Please also provide:
* The service you are calling
* Screenshot of the SOAP UI call with the parameters you are passing.
, - what are the tricks you know or calling our A2X services?
- I know Tim has given advice on passing parameters for our service - check the forum questions he has answered already.
-ginger
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ginger,
Below is the screen shot of the iflow which I am using.
The above highlighted functions in the message mapping use Standard UDF provided by SAP.
Below is the screenshot from SOAP UI
Using those two standard UDF I need that the message ID and UUID should get generate while I trigger the message from SOAP UI to SAP HCI but I am getting error : Inbound processing in endpoint at https://iflmaptr102h0162avtaiot-h0162.intaas.hana.ondemand.com/cxf/ERP/COD/customers failed with message "com.sap.aii.mappingtool.tf7.
MessageMappingException: Runtime exception during processing
target field mapping /ns0:BusinessPartnerERPBulkReplicateRequest/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_BusinessPartnerERPBulkReplicateRequest_test_ method getMessageID[com.sap.aii.mappingtool.tf7.rt.Context@2d561850]",
caused by "NullPointerException:while trying to invoke the method java.lang.String.toUpperCase() of a null object loaded from local variable 'MessageID'" in HCI . Which Implies that those UDF are not working in this scenario but when we replicate customer from ERP to COD via DEBMAS idoc, the same UDF works completely fine.
Moreover for testing purposes if have provided the message ID and UUID from SOAP UI, in that case the message is completed in HCI but fails in C4C with the message initially posted by me.
So I want to know why these standard UDF do not work when triggered from SOAP UI and how can I make it work?
HI Mayrui
I'm confused - I thought you said you aren't integrating with SAP ERP - is that correct? From the screenshot it looks like you are using the SAP ERP service. This is not recommended.
There are A2X services you can use. You'll see them in the Administrator work center - and in the scoping select integration to non-SAP.
Does that make sense?
-ginger
Hi Ginger,
In performing some tests we were getting some strange results from the A2X service. When the C4C API(Manage Accounts) is called directly from SOAP UI we get a response message back for any functional error and then once resolved a customer is created in which we can check in C4C. Works as expected.
Response from API Call directly
However when we call the A2X service via HCI we are getting the same customer number being returned over and over again. When checking C4C the customer cannot be found. The A2X service will show a functional error and the fact it returns a number shows the API is being called.
Response from API Call via HCI
Now this could be a known problem with SAP and due to a setting within either HCI or C4C, if not can we get someone on a call so we can go through this?
Thanks,
Mayuri
Hi Mayuri
If you can't upload the payload - then send me the xml at ginger.gatling@sap.com - but we'll keep all conversation on this thread.
Thanks
Ginger
Hi Ginger ,
Thank you so much for your quick response.
We're integrating ERP and C4c and during BP replication, we're encountering the same issue 'agent class is CL_BUPA_ERP_REPL_IPA.
Please help me out how to resolve issue , we are very critical stage , please let me know how to resolve the issue .
Issue : Exception: Error in message header mapping; agent class is C
Step : 1 when I trigger a message from SOAP UI to C4C via PI
We are getting the below error in C4C system
Exception: Exception: Error in message header mapping; agent class is C
Please have a look in to my Payload .
<?xml version="1.0" encoding="UTF-8" ?>
</SenderParty>
</RecipientParty>
</MessageHeader>
</ContactPerson>
</PartnerFunction>
</PartnerFunction>
</PartnerFunction>
</PartnerFunction>
</BlockingReasons>
</SalesArrangement>
</BlockingReasons>
</BusinessPartner>
</BusinessPartnerERPReplicateRequestMessage>
</ns0:BusinessPartnerERPBulkReplicateRequest>
We are very critical stage , please help me out .
Thanks ,
santosh.seera
Hi Mayuri, Ginger. We're integrating ERP and C4S and during BP replication, we're encountering the same issue 'agent class is CL_BUPA_ERP_REPL_IPA'. Were you able to solve this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.