cancel
Showing results for 
Search instead for 
Did you mean: 

SAPGUI-Scripting from Java-Application

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I would first recommend writing the code in a microsoft language and get it working correctly.

Once that is done, then you translate it to your Java COM library line by line.

former_member218672
Active Contributor
0 Kudos