‎2008 Jul 19 11:56 PM
Hi everyone,
I am trying to use JCO to call an custom BAPI. But the BAPI uses the class: cl_gui_frontend_services, which JCO cannot handle.
I only need to use two methods of cl_gui_frontend_services:
1. get_platform: Return Operating System Platform
2. gui_download: Download Data to Client PC
I wonder if there are other existing classes or programs which can replace these methods of cl_gui_frontend_services?
Any ideas and suggestions are highly appreciated.
Best,
Bing
‎2008 Jul 20 12:49 AM
Try to use
1. To get OS of presentation server (local system)
http://help.sap.com/saphelp_46c/helpdata/en/fc/eb3db7358411d1829f0000e829fbfe/content.htm
2. Try to fm DOWNLOAD or WS_DOWNLOAD or GUI_DOWNLOAD. If these are not RFC enabled then write wrapper function module around one of these and use it.
I think CL_GUI_FRONTEND_SERVICES Some methods of this class are not functional using SAP GUI for Java because they are not appropriate for a Java application (like "current directory"), required resources (like the Windows Registry) or Java APIs are not available.
These above said are ONLY alternative solutions
a®
‎2008 Jul 20 12:49 AM
Try to use
1. To get OS of presentation server (local system)
http://help.sap.com/saphelp_46c/helpdata/en/fc/eb3db7358411d1829f0000e829fbfe/content.htm
2. Try to fm DOWNLOAD or WS_DOWNLOAD or GUI_DOWNLOAD. If these are not RFC enabled then write wrapper function module around one of these and use it.
I think CL_GUI_FRONTEND_SERVICES Some methods of this class are not functional using SAP GUI for Java because they are not appropriate for a Java application (like "current directory"), required resources (like the Windows Registry) or Java APIs are not available.
These above said are ONLY alternative solutions
a®
‎2008 Jul 20 9:47 PM
‎2008 Jul 21 4:38 AM