cancel
Showing results for 
Search instead for 
Did you mean: 

Design Clarification : ABAP Proxy (Asynch) --->PI (Synch) <-->Mainframe(DB)

Former Member
0 Kudos

Hi PI Experts,

We have the following flow: ABAP Proxy (Asynch) ->PI (Synch) <> Mainframe(DB2)

1. Client ABAP Proxy sends the data to PI. It is Asynchronous communication. PI validates few mandatory fields, if any mandatory fields are missing then PI will generate the <Error> in PI with custom information. A custom monitoring tool developed using the Webdynpro and configured with PI7.1 to monitor the interfaces.

2. PI validates few mandatory fields, if successful then triggers the Stored Procedure on DB2 side using JDBC adapter.

3. PI expects successful or failure or warning message from Stored Procedure on DB2 .

4. Whatever the response received in PI from Stored Procedure, should not send back the message to ECC. The process should complete in PI after response message is received from Stored Procedure.

My Questions are:

1. Do we need to go with BPM for above requirement?

2. Can Stored Procedure respond with successful or failure or warning message?

3. Is it possible to design without BPM?

4. Can we go with the design: Client ABAP Proxy (Asynch) ---> PI (Asynch: SOAP Receiver Adapter calling SOAP Sender Adapter(QOS:BE) ) > PI <> Mainframe(DB2).

Thank you in advance.

Regards

Masthan

Accepted Solutions (0)

Answers (3)

Answers (3)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

>>> 1. Do we need to go with BPM for above requirement?

No need

>>>. Can Stored Procedure respond with successful or failure or warning message?

Yes. Use JDBC RECEIVER on the target side and read the response. Plenty of blogs available to create jdbc synchronous

>>> PI expects successful or failure or warning message from Stored Procedure on DB2 .

yes it is possible.

>>>> Is it possible to design without BPM?

yes

>>>> 4. Can we go with the design: Client ABAP Proxy (Asynch) ---> PI (Asynch: SOAP Receiver Adapter calling SOAP Sender Adapter(QOS:BE) ) > PI <> Mainframe(DB2).

No. Just need to do Client proxy to JDBC synchronous .

Former Member
0 Kudos

Thank you for your responses.

Client requirment is to log all the errors and monitoring is done in PI7.1, using Custom monitoring tool developed using Webdynpro and configured in PI7.1.

This scenario is not Synchronous from Client ABAP Proxy.

PI receive the successful/error/warning response from Stored Procedure.

First Half is Asynchronous that is Client ABAP Proxy to PI.

Second Half is Synchronous that is PI to Stored Procedure(DB2).

To Avoid BPM,

Can i go with the below steps:

1. Client ABAP Proxy to PI --> Asynchronous call

2. PI to PI ---> Synchronous call

3. PI to Stored Procedure (DB2) ---> Synchronous call

Thank you.

Regards

Masthan

baskar_gopalakrishnan2
Active Contributor
0 Kudos

>> 1. Client ABAP Proxy to PI --> Asynchronous call

Proxy sends data to PI.. PI is just middleware. It will not store information. Where do that async call end?

Suggestion: Proxy can send the data to PI and PI can validate data during mapping and if the validation goes through success , it can trigger a stored procedure call and get the response from jdbc. You have to decide how you are going to store the stored procedure response.

If your client proxy is not synchronous then you might have to do async sync bridge pattern using BPM. Suppse if you want to store the response via some resource like File then

client proxy(async) --> JDBC(sync) ---> File(async)

stefan_grube
Active Contributor
0 Kudos

just send the data from proxy to database, use alerting for errors.

There is no need for over complicating the scenarios.

Former Member
0 Kudos

In your case, sender set whole scenario as Async, however, PI acts as Sync with Receiving system, I believe that this have to be done with BPM, normal scenario can not achieve this.

If sender is file adapter, probably you can use A/S bridge on adapter level, there is a documents on SDN.

Regards

Liang

Edited by: Liang Ji on Jan 25, 2011 7:43 PM