cancel
Showing results for 
Search instead for 
Did you mean: 

SAP GUI History of log-in names not getting saved

Former Member
0 Kudos

Hi everyone!

Does anyone know how to turn on the saving of user names when logging in?

See:

Many thanks in advance for help!

Cheers,

Luke

Accepted Solutions (0)

Answers (2)

Answers (2)

jude_bradley
Advisor
Advisor
0 Kudos

Hello Lukas,

Please update your gui patch to patch 5 or higher,as there were some issues in previous patches.

Patch 7 is the most recent patch so we recommend this patch.

If the issue still persists, you might have to delete the .mdb file in the users workstation and a new one will be created with no entries.

If you wish to test the current .mdb file, you can try create this test program..(from note 1176026)

In this case the simple test program from the attachment to this note: history.exe can be tried. This small program just tries to create simple DB in C:\ with the name: SOMEDB.MDB.TMP. If the program output is "DB created", then the MDAC works fine for database creation. If the output of the program is "Error creating DB", then this is Microsoft problem and the issue has to be reported to Microsoft.

Here is the code of the program:

   HRESULT hr;

   ADOX::_CatalogPtr pCatalog = NULL;

   CoInitialize(NULL);

   try
   {
      hr = pCatalog.CreateInstance(__uuidof (ADOX::Catalog));
      if (SUCCEEDED(hr))
      {
         pCatalog->Create("Provider='Microsoft.JET.OLEDB.4.0';Data Source=C:\\SOMEDB.mdb.tmp");
      }
      // Release the catalog so that JRO can access the database
      pCatalog.Release();
      pCatalog = NULL;
   }
   catch(_com_error &e)
   {
      printf("Error creating DB\n");
      printf(e.Source());
      printf(e.Description());

      return FALSE;
   }
   printf("DB created\n");

// test the new ACE database driver

   try
   {
      hr = pCatalog.CreateInstance(__uuidof (ADOX::Catalog));
      if (SUCCEEDED(hr))
      {
         pCatalog->Create("Provider='Microsoft.ACE.OLEDB.12.0';Data Source=SOME_ACE_DB.mdb.tmp");
      }
      // Release the catalog so that JRO can access the database
      pCatalog.Release();
      pCatalog = NULL;
   }
   catch(_com_error &e)
   {
      printf("Error creating ACE DB\n");
      printf(e.Source());
      printf(e.Description());

      return FALSE;
   }
   printf("ACE DB created\n");

Please note that there still might be other errors in MDAC installation, even if the database can be created. Reading/writing to DB, etc. may fail because of that, however such cases have to be extremely seldom.

Regards,

Jude

jude_bradley
Advisor
Advisor
0 Kudos

This is in the same history file as last entries.

What SAPgui version and patchlevel are you using?

Please check

http://service.sap.com/sap/support/notes/931540

and

http://service.sap.com/sap/support/notes/1176026

Regards,

Jude

Former Member
0 Kudos

We use 740 Final Release, Patch Level 3.

Unfortunately, I am not able to see the links you sent me. There is an authentication page through which my log-in data are invalid.