Symptom
An ABAP user is locked which can be verified in transaction code SU01. When trying to logon the system with this locked user from AO's logon dialogue, the following error messages returns:
and the message "Name or password is incorrect (repeat logon)" is considered incorrect.
Logon attempt failed. Either the logon credentials are wrong or the user is locked, or the user account is not in valid date, or the password is expired or the desired language is not available. Please check user account in backend system.
Name or password is incorrect (repeat logon):
Logon attempt failed. Either the logon credentials are wrong or the user is locked, or the user account is not in valid date, or the password is expired or the desired language is not available. Please check user account in backend system.
Name or password is incorrect (repeat logon)
Name or password is incorrect (repeat logon)
However, when logon the same system with the locked user from SAP GUI, it returns more specific error message "User is locked; notify the person responsible.".
Environment
SAP Analysis for Microsoft Office 2.8
Reproducing the Issue
- Confirmed the ABAP user is already locked in T-code SU01.
- Go to Excel >Analysis >Insert Data Source >Select Data Source for Analysis... > Skip.
- Select the system entry in Select Data Source dialogue.
- Input correct user name and passwords to access the system.
- After clicking 'OK' button, incorrect errors occur.
Cause
Program error.
Resolution
Implement SAP Note 3628348 - RFC Logon- Improved error messages.
The correct messages are displayed in AO as below:
Logon attempt failed. Either the logon credentials are wrong or the user is locked, or the user account is not in valid date, or the password is expired or the desired language is not available. Please check user account in backend system.
User is locked. Please notify the person responsible:
Logon attempt failed. Either the logon credentials are wrong or the user is locked, or the user account is not in valid date, or the password is expired or the desired language is not available. Please check user account in backend system.
User is locked. Please notify the person responsible
User is locked. Please notify the person responsible
Keywords
RFC logon, Name or password is incorrect (repeat logon):, AFO, logon, locked user, backend, user maintenance, Lock/Unlock, User is locked; Please contact your system administrator., User or password is invalid. , KBA , BI-RA-AO-XLA , Excel Addin , BC-MID-RFC , RFC , Known Error
SAP Knowledge Base Article - Public