Hello,
we have a WebDynpro-Java Application dealing with orders. The orders itself are managed by an ERP 6.0 System.
What we want to do now is to start SAPGUI on the Front-End PC and to control SAPGUI by the Scripting-API.
To achieve this the Web-Dynpro-Application triggers a Java-Server-Bean to collect the business-data, the Bean than calls an JAVA-Application on the Client-Side with RMI.
This communication works great so far. But now we want SAPGUI-scripting invoked from that local Java-Application.
As far as i know, Scripting can be controlled via COM-Interface. For using COM-Objects we use the Library COM4J. This creates Java-Stub-Objects for the com-object to access it.
We used this way of accessing a com-object also for a different component successfully.
But with SAPGUI i get lost.
Does anybody know how to use SAPGUI-Scripting from within a Java-Application?
Regards
Matthias