cancel
Showing results for 
Search instead for 
Did you mean: 

Sync Proxy to JDBC

Former Member
0 Kudos

Hi all,

I am working on a scenario where SAP ECC needs to query some database via PI.

I have created a sync proxy - which calls the interface on PI, the request is send and then via JDBC I perform the SELECT statement and now I want to capture the response. I used the request response bean and all other configuration. Still I am getting an error:

No sender agreement configured that matches the message's header fields (sender

party: "", sender service: "DEV_DB_SYSTEM", interface: "http://test.com/db_select

LocationID_In", receiver party: "", receiver service: "DEV_ECC")

I have read the blogs about the request/ response bean and the config of that is ok. I checked if there is a sender agreement for above error and this is also the case. Someone else some idea's?

I also tried to look for example blogs for request/ response bean on JDBC adapter but alot of links seems to be broken?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

why are you using request response bean.. receiver JDBC supports sync communication and your sender proxy also...so create a simple sync scenario

Answers (2)

Answers (2)

former_member184681
Active Contributor
0 Kudos

Hi,

You don't have to use RequestResponseBean for this purpose. It is only designed for special sort of sync scenarios that use typical non-sync adapters (i.e. file adapter), so for instance for file-RFC-file scenarios.

In your case, what you need to do is to create a synchronous service interface for Proxy, that will include request message and response message, then implement the proxy client in ECC, prepare separate mappings for request and response, and so on. Have a look at a similar thread here: http://scn.sap.com/thread/1837208.

Hope this helps,
Greg

Shabarish_Nair
Active Contributor
0 Kudos