SAP ABAP Data Element SECPOL_MIN_PWDCHG_DIFFERENCE (Number of Different Characters When Changing)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SEC-LGN (Application Component) Authentication and SSO
     SECURITY_POLICY (Package) Security Policies
Basic Data
Data Element SECPOL_MIN_PWDCHG_DIFFERENCE
Short Description Number of Different Characters When Changing  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type SECPOL_MIN_PWDCHG_DIFFERENCE    
Data Type INT4   4-byte integer, integer number with sign 
Length 10    
Decimal Places 0    
Output Length 2    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short  
Medium  
Long 40 No. of Different Chars When Changing 
Heading  
Documentation

Definition

If a user wants to change his or her password (or is prompted to change his or her password by the system), he or she must enter both the current password and the new password. Having both passwords available as plaintext information allows the system to check the number of characters that are different in the two passwords.

The number of different characters is calculated as follows:

The two character strings are made to overlap as much as possible (by searching for the longest common string and rotating as necessary). The number of different characters (after comparing character-by-character) returns the number the system needs.

Use

Permissible values: 1 - 40
(If the profile parameter login/password_downwards_compatibility has been set to the value 5, the permissible value range is 1 - 8.)

This security policy attribute replaces profile parameter login/min_password_diff.

Dependencies

Example

Old Password    "BDAFAG" (6 characters)

New Password    "ABC DBA" (7 characters)

Rotated Password    "DBAABC " (7 characters)

Number of different characters = 4

History
Last changed by/on SAP  20110908 
SAP Release Created in 800