Show TOC

User-Specific ChangesLocate this document in the navigation structure

Use

To change the layout and the logon process according to your special requirements, you can make user-specific changes in addition to the settings that are possible on the configuration screen.

Process
  • Create a new class that is a subclass of CL_ICF_SYSTEM_LOGIN.

  • You change the layout of the logon screen by overwriting the htm_login method in the new class.

  • To modify the screen for the password change, overwrite the htm_change_passwd method.

    Note

    To ensure that the entries made are forwarded to the relevant screens and to trigger the corresponding events for the transfer of the results, it is necessary for you to use default constants and attributes for form names, input field names, event names and script functions. The constants and attributes that should be used depend on the logon functionality to be implemented.

Constants

Below is a list of all constants used by the system, which are necessary for changes to the process and layout of logging on and changing passwords:

Logon

Constant

Description

CO_SAP_USER

Name and ID of the input field for the user name

CO_SAP_PASSWORD

Name and ID of the input field for the password

CO_SAP_CLIENT

Name and ID of the input field for the client

CO_SAP_LANGUAGE

Name and ID of the input field for the language

CO_FORM_LOGIN

Form name

CO_JS_SUBMIT_LOGIN

Name of the JavaScript function to be called when a pushbutton is pressed on the logon screen

CO_EVENT_LOGIN

Event to be triggered when the logon pushbutton is pressed

CO_EVENT_CHANGE_PASSWORD

Event to be triggered when the Change password pushbutton is pressed

CO_EVENT_BASIC_AUTHENTICATION

Event to be triggered when the Basic Authentication pushbutton is pressed

M_SAP_APPLICATION

Value of the action form attribute

Password change

Constant

Description

CO_PASSWORD

Name and ID of the input field for the current password

CO_PASSWORD_NEW

Name and ID of the input field for the new password

CO_PASSWORD_REPEAT

Name and ID of the input field for repeating the new password

CO_FORM_CHANGE_PASSWORD

Form name

CO_JS_SUBMIT_CHANGE_PASSWORD

Name of the JavaScript function to be called when a pushbutton is pressed on the change password screen

CO_EVENT_DO_CHANGE_PASSWORD

Event to be triggered when the Change pushbutton is pressed

CO_EVENT_CANCEL_PASSWORD

Event to be triggered when the Cancel pushbutton is pressed

CO_EVENT_CONTINUE_PASSWORD

Event to be triggered when the Continue pushbutton is pressed after successfully changing the password

M_SAP_APPLICATION

Value of the action form attribute

You can use the following classes as a reference to implementation additional functions:

  • CL_ICF_BASIC_LOGIN

  • CL_ICF_IDES_LOGIN

  • CL_ICF_NW04_LOGIN

Example

You can find a sample implementation in the system in the CL_ICF_EXAMPLE01_LOGIN class and in the following simple example.