cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Proxy to SOAP Synchronous Scenario

Former Member
0 Kudos

Hi Experts,

I have an issue here in ABAP Proxy to SOAP Synchronous Scenario.

We have configured Synchronous Message Interfaces in SAP PI System and the Proxies are configured in ERP System. So when the data is triggered from ERP, would the Proxy wait for the Response from PI System? That means when ERP system sends 3 messages 1,2,3 will the responses be sent in same order 1,2,3 in Synchronous mode to ABAP Proxy?

Would the ABAP Proxy be able to relate to the requests and their responses accordingly?

Regards,

N. Jayanth Kumar.

Accepted Solutions (1)

Accepted Solutions (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi Jay,

Evry request treat as a different statefull tarsaction and there would be No dependency on other request.PI / ECC has a capability to send multiple requests in parllel way .

If you place 3 requests then every request executes separate trasaction and reponse serquece depends on target system, some requests take more time , some request completes in less time, but it depends on data.

Regards,

Raj

Former Member
0 Kudos

Hi Raja Sekhar,

Thanks for the details, that was helpful in understanding how the request and response messages correlate between each other. I wanted to know how to setup Synchronous ABAP Proxies in ECC

Regards,

N. Jayanth Kumar.

Former Member
0 Kudos

I wanted to know how to setup Synchronous ABAP Proxies in ECC  .

on pi :

you have to create one service interface is outbound and mode is synchronous so here we provide request and response messages .

on Abap:

generate proxy by using SPROXY t.c then automatically here created outbound(request) and inbound(response) messages  whatever you provided message types in service interface  on ESR  then you create object and rest of logic on report .

...........

for ex: refer SCN

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

Former Member
0 Kudos

Hello Sankar,

We have created 2 Service Interfaces both are Synchronous. We included both Request and Response structures in both Outbound and Inbound Interfaces.

Regards,

N. Jayanth Kumar.

Former Member
0 Kudos

okay ... i think u created Configuration (ID) also (communication channels) if created then follw the below steps

on sap abap :

you have to Generate proxy by using T.C SPROXY then create Report  for send the request and call back to the responce .

Pls refer SCN for how to write code on report for Synchronous process ...

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi All,

We have built the custom structures for both request and responses. Should the External Definitions be built in such a way that it has both request and response structures together? Does that help in creating the Synchronous Proxies?

You quick response is highly appreciated.

Regards,

N. Jayanth Kumar.

baskar_gopalakrishnan2
Active Contributor
0 Kudos

>Would the ABAP Proxy be able to relate to the requests and their responses accordingly?

Yes, that's the way synchronous interface works.. You basically associate the sender request to soap request as source and targer request  in mapping  and similarly the soap response to abap response are mapped. Those are referenced in your operation mapping.  Also i believe you set quality of service as best effort in the receiver soap channel.

Former Member
0 Kudos

Hi Baskar,

We have performed below steps.

1.     We have setup all Synchronous Interfaces in PI and included source and target structures in both Synchronous Outbound and Inbound Interfaces.

2.     Operation Mapping also has request and response Mappings.

When we triggered messages from RWB using QoS as Best Effort, we are getting the response back successfully.

I would like to know how do we configure the ABAP Proxy in Synchronous mode which means when the request is triggered from ABAP Proxy, it should wait for response back from PI, so that the corresponding response relates to its request.

Regards,

N. Jayanth Kumar.

Former Member
0 Kudos

Hi Baskar,

Does the PI setup requires two Services Interfaces setup in PI? As we require 2 Message Mappings (request and response) in a Single Operation Mapping. The Request and Response structures are custom built in PI only.

Regards,

N. Jayanth Kumar.