Skip to Content
author's profile photo Former Member
Former Member

How to Test RFC to HTTP_AAE synchronous scenario in SAP PI 7.3

Dear Experts/Friends,

I am designing a technical document for RFC to HTTP_AAE scenario for one of my customer, I have decided to use HTTP_AAE adapter at receiver side because the third party is not capable to provide wsdl file. I need to import a custom RFC (payment req) from ECC (FI/CO) and PI converts to XML and then post this XML to a secure (HTTPS) target URL provided by bank, and bank will send the response back in XML format to PI, and PI will send it to ECC(FI/CO) to update the status about the each transaction.

Below are the detail steps I am considering to design this scenario, as per the above requirement please correct me if I am doing anything wrong here. I have few question as which I have posted at the end.

1- SDL configuration

  1. a- Create Product and software component
  2. b- Create one technical system of type (web as ABAP) and also the business system for sender side
  3. c- Create another technical system of type (third party) and business system for Receiver side

2- Configuration at ECC(R/3) side

Create an RFC destination of type TCP/IP in ECC and provide the host name service and program id etc and maintain the same in sender RFC adapter

2- ESR configuration

|-Receiver side (inbound)

  1. a- Create http request and response data types and message types
  2. b- Create service interface (synchronous)
  3. c- Create message mapping between HTTP response to RFC response
  4. d- Create operation mapping for the request and response

||-Sender side (outbound)

  1. a- import the custom RFC in PI
  2. b- Create message mapping between RFC request to HTTP request
  3. c- Operation mapping has been created

3- Integration directory Configuration

  • Create the RFC sender communication channel
  • Create HTTP_AAE receiver communication channel
  • Create sender agreement, receiver agreement, interface determination and receiver determination

Questions

1- How can I test this scenario? Any tool which can take the HTTP request and sends back the response for some dummy data. My actual scenario involves SSL configuratin but I want to just test over http only, I have followed the below link by William Li , but could not understand it fully how to utilize this.

http://scn.sap.com/people/william.li/blog/2007/09/07/posting-and-testing-using-xipi-http-adapter

2- Do I need to create 3 communication channel and 2 sets of sender agreement, receiver agreement, interface determination and receiver determination for this scenario? I have gone through the below thread, where it’s mentioned this scenario required 3 communication channel. Please clarify

http://scn.sap.com/thread/53784

Thanks,

Farhan

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Jul 28, 2013 at 02:55 PM

    Couple of things

    A) You dont need business sytem for http communication. you can still use business component

    B) Since you use AAE option you can go to adapter engine in RWB and use test message option. But it has limitation

    C) You can still create a moduel for HTTP client to test the third party system as below...

    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/66dadc6e-0a01-0010-9ea9-bb6d8ca48cc8?QuickLink=index&overridelayout=true&5003637166046

    This is just client tool irrespective of PI version..

    d) You can also use SOAP adapter without envelope option (simple http ) and use the payload as the target message.

    e) You need just two communication channels(sender RFC and receiver http or soap) and their respective sender and receiver agreements (total 2 agreements). That's it. Please go ICO scenario and check the configuration objects. Remember this is synchronous mode.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Farhan,

      Thanks for your prompt response, I'm doing one POC where I'm trying to call one public service (In my case it's currency converter provided by "CurrencyConvertor Web Service") using HTTP_AAE - GET method on receiver side.

      The problem here what I'm facing is am not sure about what need to configure in receiver CC parameter "Main Payload Parameter Name" in Request Details (Can see only when you choose Message Protocol as GET method), However I tried all the possibilities and when I am testing getting below error in message monitoring


      "com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.http.api.HttpAdapterException: STATUS_CODE_NOT_OK-Internal Server Error."

      Please find below channel configuration

      And also I tried using POST method, unfortunately my scenario is not working in both the cases getting same error when I'm testing.

      Kindly help me on this please.

      Thanks in advance

      Nagesh

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.