Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix SR142 - Change of logon data; set new password


SAP Error Message - Details

  • Message type: E = Error

  • Message class: SR - RFC utilities

  • Message number: 142

  • Message text: Change of logon data; set new password

  • Show details Hide details
  • What causes this issue?

    A password has already been saved in the specified destination. The user
    or client used for the logon to the target system was changed when the
    function module was called, but you want to retain the old password
    (KEEP_PASSWORD = 'X').
    The password cannot be retained in this situation, for security reasons.

    System Response

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    How to fix this error?

    When the function module is called, the password must be specified (in
    the parameter PASSWORD) or initialized (KEEP_PASSWORD = SPACE ).

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message SR142 - Change of logon data; set new password ?

    The SAP error message SR142, which states "Change of logon data; set new password," typically occurs when a user attempts to log in to the SAP system and their password has expired or needs to be changed for security reasons. This is a common security measure in many organizations to ensure that passwords are updated regularly.

    Cause:

    1. Password Expiration: The user's password has reached its expiration date as defined by the system's password policy.
    2. Password Change Requirement: The system may require users to change their passwords after a certain number of logins or after a specific time period.
    3. Security Policies: Organizational security policies may enforce regular password changes or require users to change their passwords after a certain event (e.g., first login, after a security breach).

    Solution:

    To resolve the SR142 error, the user needs to change their password. Here are the steps to do so:

    1. Log in to SAP: When prompted with the SR142 message, you will typically be directed to a password change screen.
    2. Enter Current Password: Input your current password in the designated field.
    3. Set New Password: Enter a new password that meets the system's password requirements (e.g., length, complexity).
    4. Confirm New Password: Re-enter the new password to confirm it.
    5. Save Changes: Submit the changes to update your password.

    Related Information:

    • Password Policy: Check with your SAP administrator or IT department for the specific password policy in your organization, including requirements for password length, complexity, and expiration.
    • User Profile: If you are unable to change your password or if the issue persists, it may be necessary to contact your SAP administrator to check your user profile settings.
    • SAP GUI: Ensure you are using the correct version of the SAP GUI, as older versions may have different interfaces for password management.
    • Security Settings: If you are an administrator, you can review and modify the password policies in the SAP system using transaction codes like RZ10 (for profile parameters) or SU01 (for user management).

    If you continue to experience issues after following these steps, it may be beneficial to consult your organization's SAP support team for further assistance.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author