Skip to Content
avatar image
Former Member

REG: REST Adapter configuration Error

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.

Add comment
10|10000 characters needed characters exceeded

  • Hi @kiran kiran,

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

    Regards

    Frederick

  • 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.

  • 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

  • Get RSS Feed

1 Answer

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

    I have this same issue. Did you resolve this?

    Add comment
    10|10000 characters needed characters exceeded