cancel
Showing results for 
Search instead for 
Did you mean: 

How to trigger second interface depends upon the status of first interface in PO

AbdulHammed
Explorer
0 Kudos

Hi Experts,

I have one requirement which is ECC6.0 to JDBC scenario through SAP PO. when ever JDBC call fails based on that JDBC communication channel status like(Don't delivered, Wait...etc.,)  need to be triggered second interface which is ECC to FILE.

Main thing is how to call the status of JDBC comminucation channel in Second interface except delivered status.

please share your ideas on it & please reach me if any further details required.

regards

Accepted Solutions (1)

Accepted Solutions (1)

former_member182412
Active Contributor
0 Kudos

Hi Abdul,

You can request acknowledgments in outbound proxy from ECC, when the message failed to deliver the message via JDBC adapter then the adapter will send the acknowledgement back to the sender, when you receive the acknowledgement in ECC check is positive acknowledgement or negative acknowledgment based on that if negative then trigger the second outbound proxy which is proxy to file interface, if positive then don't trigger the second outbound proxy interface.

Regards,

Praveen.

Answers (2)

Answers (2)

AbdulHammed
Explorer
0 Kudos

Thank you so much Praveen & Bhavesh.

But the requirement is instead of proxy here we are using File at sender side which available in AL11 folders.

Regards

Abdul

former_member182412
Active Contributor
0 Kudos

Hi Abdul,

File to JDBC with async sync bridge using modules in the jdbc receiver channel as per this blog and get the response from the database, check if the response got error then call second interface sender channel using web service as per this blog , that means the response interface should be soap to soap interface, in the receiver soap adapter call the IChannelAdmin service for to pick up the second interface file.

Regards,

Praveen.

bhavesh_kantilal
Active Contributor
0 Kudos

Another option,

The JDBC Receiver adapter supports Synchronous Calls, which means, you can get the status of the JDBC call.

In your case, you can make the entire Interface a End to End Synchronous where you get the status of the call. If the Call Fails, you get a Fault / Error Message that can be thereafter be handled in your ABAP Proxy Code.

Regards,

Bhavesh