Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Urgent: Data from external website

Former Member
0 Kudos

Hi All,

I have posted this same question earlier also but at that time, it was not as urgent as it is now, i want to know how can i get data from an external website, i have netweaver Studio , WebAS 6.40 installed, R/3 is ECC 5.0.

I want the data which is entered in that website to be continuously sent back to R/3 and i will schedule batch jobs to process those data according to its priority and content.

Is it at all possible with the products that i have? Or do i have to install any other product. If yes, then what is that? and how to configure?

Regards

Siddhartha Sengupta

4 REPLIES 4

GrahamRobbo
Active Contributor
0 Kudos

Hi Sid,

of course this is possible. How else could the WAS consume a web service.

Look at this <a href="http://help.sap.com/saphelp_nw04/helpdata/en/1f/93163f9959a808e10000000a114084/frameset.htm">example</a> in SAP Help.

Cheers

Graham

0 Kudos

Hi Graham,

thanks for your prompt reply, but unfortunately i was not able to quite figure out anything from the example link. will it possible for you to explain the procedure or probably give an overview of the steps required.

And one more thing i need to add is i am using a standalone machine, in which all those are implemented.

regrads

Siddhartha Sengupta

0 Kudos

Hi Sid,

the example code shows how you can perform a HTTP request from an ABAP program.

Therefore your ABAP program can send a HTTP request to your web server and retrieve the HTTP response payload and process it. If the response is XML you can use the iXML library to parse it, but if it is HTML you will probably need to use string handling to extract the required data.

Cheers

Graham

Former Member
0 Kudos

SAP WAS supports a number of ways to get data from external sources - but you will need code at the external source to supply the data in a format suitable for the input mechanism you choose.

Incoming data can be Web Service called from the web page or SAP can read a Web service supplied by the page. Look in SDN Blogs for lots of examples of how to do this this way or using many other mechanisms (HTTP, JCO, etc - take a look in the sap-->bc tree in transaction SICF for lots of ideas of possibilities).

You could also have the web page hosted by SAP as a BSP or WEB Dynpro page. Again - see SDN Blogs for examples.

Andrew