Hi
in NW 7.3 we use a own user mapping application, where users can handle their SAP ERP (Systemtype SAP_R3) account (username / password).
When a user enter the account data, we check if a connection to SAP ERP is possible.
For this check we use this code snippet:
IDestinationsService destinationsService = ServicesFactory.getDestinationService();
IConnection connection=null;
try {
connection = destinationsService.getConnection(user, SAPSYSTEMALIAS);
} catch (PortalDestinationsServiceException e) {
//error message
}
when a user enter his wrong password !once!, he gets in the SAP ERP System !!two!! failed login attempts.
Now, i wonder why?
My coding ist correct and runs just one time.
So i tried to use the SAP standard application.
system administration -> system landscape -> choose the system and click on "configure" -> there i used the "Connection Tests"
when i give here a correct username and a wrong password, i get in SAP ERP two failed login attempts.
We use the Logon Method UIDPW.