on 03-04-2011 3:09 PM
Hi experts,
as much as I understood it is possible to use a webservice as source for BW-data.
Let's say there's a webservice http://example.com/latestStockPrices which provides the latest stock prices.
And I would like to consume that service and load the data to a PSA-table.
I had some trouble do find matching ressources - or I had problems to understand them.
In most of them it seemed as if they were about publishing BW-data using a webservice (so the BW-system would be the server).
But I'm looking for a way to let the BW-system act as a client (which consumes the external webservice and saves the collected data to the psa-table).
Kind regards,
Marco
In the meanwhile I realized that WebService-Datasources are obviously designed as a push-service.
So in opposite to all the other datasource-types in this case it is not the BW-system that requests that data, but the external Datasource that pushes the Data (infrequently?!) to the BW-system. A WebSerive-Datasource allows you to publish a WebService on the BW-System which waits for incomming data-deliveries.
So this whould not be the way I'm looking for since I'd like to pull data from an external webservice to the BW-system (triggered by the last one).
Are there other ways to pick-up the data from the external webservice and push them to the PSA?
I could imagine that there's some kind of module that consumes the external webservice and pushes it to the local webservice.
I found the expression "proxy" in that context repeatedly - but did not manage to fill that with life so far.
Could you please gimme some hints/ideas/comments about that topic?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just check if the below link helps. http://help.sap.com/saphelp_nw04/helpdata/en/71/421640033ae569e10000000a155106/content.htm
Hi Marco,
Here is how to consume WebService in ABAP.
http://help.sap.com/saphelp_nw70/helpdata/EN/bf/d005244e9d1d4d92b2fe7935556b4c/frameset.htm
According to this help document, you can call external WebService in forms of Method in ABAP program.
I think your idea can be achived by 2 steps.
Step1. Call external WebService, sending a request message and recieving some data.
Step2. Call BW Datasource WebService, sending data to be stored in BW as a request message.
Regards,
Kazuhisa Kobayashi
That would mean that I'd have to parse the XML-document and convert it to a flat file.
If nothing else works that might be an option - but it does not sound very efficient to use the business-default-interface "WebService" and the business-default-protocol XML in order to breake them down to a flat file. One should think that there're already some more clever mechanisms.
Hi Marco,
I'm sorry but I don't have any experience to use WebService in ABAP program. I don't have any documents but SAP online help.
Does anyone else know something about this?
Regarding BW datasource WebService, I have created before according to online help. Yes, it's also online help only.
Regards,
Kazuhisa Kobayashi
Hi Federico,
thanks so a lot for this hint! That does at least half the way of my job!
Even if I did not understand in detail the idea behind this port-definition, but it is the solution for the first part of my task:
Step1. Call external WebService, sending a request message and recieving some data.
So I managed to consume the external WebSerive.
I'm a little bit in a lack of time, hence the step
Step2. Call BW Datasource WebService, sending data to be stored in BW as a request message
is still missing at the very moment. But I'll find the solution for that within the next few hours (or days).
I'll post further information as soon as I evaluated them.
Once again: Thanks for your support!
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.