cancel
Showing results for 
Search instead for 
Did you mean: 

Proxy to Web Services

Former Member
0 Kudos

Hallo @ All,

i configured successfuly a scenario (Proxy to Web-Services) in synchron mode. Now my target is to save the Response(from WS) into an ABAP PSA-Table.

Backend ( SAP BW- Proxy Outbound Synchronous) <--> (Web Service Server).

What is the best way to do this?

Thanks very much.

Accepted Solutions (1)

Accepted Solutions (1)

former_member181962
Active Contributor
0 Kudos

Hi,

Since it is a synchronous interface, the proxy would receive the response from the web service (you have to do a response level mapping in the Message mapping and operation mapping).

Then in your backend (BW system) you have to receive this information and update the required table.

Best Regards,

Ravikanth Talagana

Former Member
0 Kudos

Hi thanks for your answer. What do you mean with LEVEL MM and OM.

our Porxy is based on a own SI, that not generated from a table.

kind Regards

Edited by: Abdeljalil Labrache on Feb 13, 2012 11:06 PM

former_member181962
Active Contributor
0 Kudos

Hi ,

So, how is your SI defined in ESR?

I assume that it is defined as Synchronous type.

If it is a synchronous one, then you will have a request and response (just like a webservice having request and response).

On that assumption, your mapping will have two sections, Request mapping and response mapping.

You have to map the request from SAP(proxy) to the webservice request and map the response from webservice to the response message of your proxy.

Best Regards,

Ravikanth Talagana

Former Member
0 Kudos

Hi again,

Of course i did it in the Response level. But i don´t have any connection to the table. because our Service Interface is modelled in ESR and not from the intern ABAP Table. that is the problem.

Thanks again

Edited by: Abdeljalil Labrache on Feb 13, 2012 11:14 PM

former_member181962
Active Contributor
0 Kudos

Hi Abdel,

SO, after you have defined the service interface in ESR, you might have "Implemented" it in BW isn't it?

The program which calls the client proxy, will receive the response in the importing section of the proxy.

You have to do explicit ABAP coding to populate the tables from there.

pseudo logic:

On BW side

Program

call class-method
   exporting
itab1
importing
itab_results
< move the itab_results to update the table>

Please let me know if i did not understand your question.

Best Regards,

Ravi

Former Member
0 Kudos

Hi Ravi,

i am not so familiar with ABAP Programming.but i have to write a Program to trigger the request of the proxy. It is advisable to write in the same report the coding for updating the table or separately?

and how can i make the mapping between the Table elements and this of the proxy?

Thanks very much

Edited by: Abdeljalil Labrache on Feb 13, 2012 11:53 PM

Answers (0)