Skip to Content

ABAP Proxy-Sync. to PI and response back without a third system


I want to use a synchronous abap-proxy to send some data to pi and want pi to convert the data to xml format and response back to calling system which is ECC.

1-ECC---ABAP-Proxy-sync--request----> PI

2-PI does the operation mapping

3-PI sends back the output of operation mapping.

There is no other system other that ECC and PI.

I defined those objects : data type, message type, sync. outbound/inbound service interfaces , operation mapping and java mapping (imported archive).

I got back to ECC and generated the outbound-services interface's proxy class. I couldnt manage to configure this scenario. Actually I want to run a converter java mapping in PI and dont want to call any other system via PI, but just PI itself. ECC sends some data to PI and PI does the java mapping and sends the converted data back to ECC.

How can I run PI in such a loop-back scenario? I always used to run PI in the middle of at least 2 systems like :

A---> PI --->B (request)

A<--- PI <---B (response)

But now, I have to do :

A---> PI (request)

A<--- PI (response)

Best Regards

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on May 18, 2016 at 07:52 AM

    Hello Kerem,

    What type of conversion are being done @ PI?

    You can do the same @ ECC right?

    Add a comment
    10|10000 characters needed characters exceeded

    • Hello Raghuraman,

      It is a pdf to xml conversion. I designed the java mapping to do this. It cant be done in ECC in ABAP. It is not generated by ADS. So I had to use itext library to handle pdf2xml conversion.

      I just want to send pdf data to pi operation mapping and get back the result xml. There is no other system other than one ECC and one PI. PI must get binary data from the sync.abap proxy called by ECC and run the operation mapping and result payload must be send back to ECC.


  • Posted on May 18, 2016 at 07:53 AM

    Hi Kerem!

    Maybe I didn't catch the mean of your question, but in described scenario you just use the same business system both as sender and receiver with according interfaces.

    In your scenario you can use asynchronous connection

    Business System A (Async outbound interface) -> PI -> Bysiness System A (Async Inbound interface).

    In sync scheme you just send response from System A to itself.

    Regards, Evgeniy.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hello Evgeniy,

      I dont want to use ccBPM in this case. There are 2 reasons for that :

      1-considering the performance ccBPM is not so good.

      2-we use PI 7.11 abap+java. In the future, we are planning to upgrade to a single-java stack PO 7.4. During the upgrade I will have to re-design this scenario because in single-java stack PO it will not work. ccBPM works in the ABAP side.

      I investigated the "Direct Connection" methodoly for such a P-to-P communication (ECC to PI only). However, this method is not going to work because it doestn use Integration Server of PI. Because I have to run an operation mapping (OM) and OM runs only in integration server, I cant use Direct Connection methodology.

      Best Regards

  • Posted on May 18, 2016 at 08:36 AM

    There must be a simple way to implement a loop-back or an echo after running the operation mapping, but I couldnt find a way.

    Add a comment
    10|10000 characters needed characters exceeded

    • So this is what I mean,

      • On your Receiver Side, create a Inbound Synchrnous Service Interface that has the output of your mapping as the request and response structure
      • Generate a ABAP Server Proxy for this.
      • In the implementation of this ABAP Server proxy return the request as-is as the response.

      Overall your scenario will become ECC --> ABAP Proxy ( Client ) --> PI ---> ABAP Proxy (Server) --> ECC



  • Posted on May 18, 2016 at 10:49 AM

    create normal synchronous scenario.

    Sender and receiver should be ECC. ECC-->PI-->ECC

    Generate proxy for inbound and outbound interfaces.

    Any issue in doing that?

    Add a comment
    10|10000 characters needed characters exceeded

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.