Skip to Content
0

REG: REST Adapter configuration Error

Jan 05 at 11:54 AM

87

avatar image
Former Member

Hi All,

Requirement: Develop REST2REST sync interface

REST API is installed in SAP ECC system and we would like to host the REST service with SAP system and this is Pass through interface.

Error: 1)We are not able to see the source payload in PO

2) HTTP Error occurred: Internal server error(500),

MP: exception caught with cause com.sap.aii.adapter.rest.ejb.common.exception.HttpCallException: HTTP POST call to http://sap:2002blweb/rest/ac/document/checksap-client=100 not successful. Internal Server Error.

Would any one help us in providing the solution.Thanks in Advance.

10 |10000 characters needed characters left characters exceeded

Hello @kiran kiran,

As far as I understand your process you're having the following setup:

SAP ECC <-> SAP PRO <-> HTTP Client

Does this represent the technical setup? If so how are you sending data to the PO-System (RFC / HTTP ...)?

Regards

Frederick

0
Former Member

Hi Frederick,

Flow: REST <-> REST(SAP)

I am sending the data from REST services to SAP ECC where SAP is using REST services in receiving the data.

URL of SAP shared below and this is Pass through scenario.

Thanks & Regards,

Ravi.

0

Hi @kiran kiran,

have you been abled to call the SAP ERP API successfully using an direct request through POSTMAN e.g.?

Regards

Frederick

0
Former Member

Hi Frederick,

I am getting the below error when trying to post the data in SAP from Postman.

Error:

<HTML>
<HEAD>
<TITLE>500 SAP Internal Server Error</TITLE>
</HEAD>
<BODY>
<H1>500 SAP Internal Server Error</H1>
ERROR: Internal server error ... unable to determine HTTP calling object (termination: ABORT_MESSAGE_STATE)
<P>
</BODY>
</HTML>

One more question why we are not able to see the JSON payload in PO which has been processed from source(REST)? As this is pass through scenario and as there is no mapping, we need to see the payload in PO which is missing.

Thanks & Regards,

Kiran.

0

Hi Kiran,

You are not able to see the JSON payload means, the logging might have not enabled properly.

In REST sender communication channel, make sure the check box "Log JSON Message" is selected.

Also, in the ICO Advanced Settings tab, turn on scenario specific logging/staging for all the required steps to see the payload.

--Priyanka

0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member Mar 28 at 07:51 PM
0

I have this same issue. Did you resolve this?

Share
10 |10000 characters needed characters left characters exceeded