Quantcast
Channel: SCN: Message List - SAP GUI
Viewing all articles
Browse latest Browse all 6448

auto-login for SAP GUI Java 7.20 on Linux

$
0
0

Hello All,

 

I'm using SAP GUI for Java 7.20 on Linux/Rhel6.3, and I'm trying to find some way to automatically log onto SAP systems, something similar to sapshcut that exists for SAPGUI Windows.

I've been looking into the possibility of SAPGUI supported scripts, I went through all documents in here  http://scn.sap.com/docs/DOC-8971 but with no luck of.

With the scrpting record window I was able to record some simple stuff like

 

application.findById("/app/con[0]/ses[0]/wnd[0]/usr/txtRSYST-MANDT").text = "000";

application.findById("/app/con[0]/ses[0]/wnd[0]/usr/txtRSYST-BNAME").text = "USER";

// The text of a password field is not recorded. Either enter a valid password or delete the following line

application.findById("/app/con[0]/ses[0]/wnd[0]/usr/pwdRSYST-BCODE").text = "****";

application.findById("/app/con[0]/ses[0]/wnd[0]/usr/txtRSYST-LANGU").text = "en";

application.findById("/app/con[0]/ses[0]/wnd[0]/usr/txtRSYST-LANGU").setFocus();

application.findById("/app/con[0]/ses[0]/wnd[0]/usr/txtRSYST-LANGU").caretPosition = 2;

application.findById("/app/con[0]/ses[0]/wnd[0]").resizeWorkingPane(193,31,false);

application.findById("/app/con[0]/ses[0]/wnd[0]").sendVKey(0);

 

but when I try to run it via command line in : $guilogon -f skript, nothing happens

 

I know that I'm missing something, but I can't find what.

 

Could someone please push me into the right direction ?

 

cheers,

michal


Viewing all articles
Browse latest Browse all 6448

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>