Skip to Content

I want to start SAPGUI with JAVA Program. Somebody has an idea?

Hello dear forum users,

I would like to start and register me in immediately SAPGUI visible with a Java program. Somebody has an idea of how to do this or with which technology to do this?

Regards,

Hüdayi

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 22, 2008 at 07:00 AM

    Hi,

    To open SAPGUI from java program, use this code

    String []command={"cmd.exe","/c","Start","C:\WINDOWS\SAPwksta\setup\SAL\SapLogon.sal" };

    try {

    Runtime run=Runtime.getRuntime();

    Process proc=run.exec(command);

    } catch (IOException e)

    {

    }

    Add comment
    10|10000 characters needed characters exceeded