Thursday, June 2, 2022

VBS script to login to SAP 


 Set WshShell = CreateObject("WScript.Shell")


Set proc = WshShell.Exec("C:\Program Files (x86)\SAP\FrontEnd\SAPgui\saplogon.exe")


WScript.Sleep 4000


Set SapGui = GetObject("SAPGUI")


Set application = SapGui.GetScriptingEngine


Set connection = application.OpenConnection("SAP System Name as per GUI", True)


Set Session = connection.children(0)


session.findById("wnd[0]/usr/txtRSYST-BNAME").text = "USERID"


session.findById("wnd[0]/usr/pwdRSYST-BCODE").text = "PASSWORD"


session.findById("wnd[0]").sendVKey 0

Thursday, July 15, 2021

SAP User Types

 The following are the different user types −

  • Dialog user − This user is used for interactive system access from GUI.

  • System user − This user is used for background processing, communication within a system.

  • Communication user − This user is used for external RFC calls.

  • Service user − This user is created for a larger and anonymous group of users.

  • Reference user − It is not possible to log on to the system with this user type. User type for general, non-person related users that allows the assignment of additional authorizations.

Friday, May 7, 2021

Remove Duplicate Roles in SAP Users.

https://arisndlangu.wordpress.com/2019/02/21/delete-duplicate-role/

Program :

PRGN_COMPRESS_TIMES



Tuesday, February 9, 2021

 GRAC_CHECK_BROLE_ASSIGNMENT  :  GRC Report to display Business role assignment to users via GRC request.


Thursday, April 30, 2020




GRAC_FFID_LOGIN_STATUS_UPDATE to unlock FFID and then delete assignment.

SAP note 2035815

Wednesday, November 27, 2019

English Tenses

  Present
Indefinite I eat Apple
Continues I am eating Apple
Perfect I have eaten Apple
Perfect Continues I have been eating Apple
  Past
Indefinite I ate Apple
Continues I was eating Apple
Perfect I had eaten Apple
Perfect Continues I had been eating Apple
  Future
Indefinite I shall eat Apple
Continues I shall be eating Apple
Perfect I shall have eaten Apple
Perfect Continues I shall have been eating Apple
  Future in Past
Indefinite I should eat Apple
Continues I should be eating Apple
Perfect I should have eaten Apple
Perfect Continues I should have been eating Apple

Wednesday, September 4, 2019

SAP Auto Login Script

Set SapGui = GetObject("SAPGUI")

Set application = SapGui.GetScriptingEngine

Set connection = application.OpenConnection("System Name as per Logon Pad", True)

Set Session = connection.children(0)

session.findById("wnd[0]/usr/txtRSYST-MANDT").text = "ClientNumber"

session.findById("wnd[0]/usr/txtRSYST-BNAME").text = "UserName"

session.findById("wnd[0]/usr/pwdRSYST-BCODE").text = "Password"

session.findById("wnd[0]").sendVKey 0