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: 

Capturing data back to SAP from web application

Gincyanto
Explorer
0 Kudos
62

I have to call a java application from SAPGUI.For that I can use the methods in the class CL_GUI_HTML_VIEWER.

In that Java application the user will be ordering the products and quantity.I have to capture this data back to SAP and update the order in SAP. How to capture the data from the called java application back to SAP ?

1 ACCEPTED SOLUTION

GrahamRobbo
Active Contributor
0 Kudos
37

Hi Gincy,

if you just need to call the web applications and then parse the result (i.e. you do not need to display the output) you can user the CL_HTTP_CLIENT class.

There is a sample program in the SAP Help at http://help.sap.com/saphelp_nw04/helpdata/en/1f/93163f9959a808e10000000a114084/frameset.htm

Cheers

Graham Robbo

2 REPLIES 2

athavanraja
Active Contributor
0 Kudos
37

thats going to be tricky. instead what you could do is collect the required information (for the java web app to process it) from normal sapgui dialog and then use cl_htt_client class to call the java web app and pass these details and get the results back from the same in your abap.

on how to use cl_htt_client you can search the weblog area of sdn and do a where used list in your system

GrahamRobbo
Active Contributor
0 Kudos
38

Hi Gincy,

if you just need to call the web applications and then parse the result (i.e. you do not need to display the output) you can user the CL_HTTP_CLIENT class.

There is a sample program in the SAP Help at http://help.sap.com/saphelp_nw04/helpdata/en/1f/93163f9959a808e10000000a114084/frameset.htm

Cheers

Graham Robbo