2008 Mar 10 9:56 AM
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 ?
2008 Mar 10 9:14 PM
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
2008 Mar 10 10:20 AM
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
2008 Mar 10 9:14 PM
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