Ansicht
Dokumentation

/XLSO/ACTIVATEUSER - RFC Is Executed After User Activates His/Her Account

/XLSO/ACTIVATEUSER - RFC Is Executed After User Activates His/Her Account

ROGBILLS - Synchronize billing plans   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This RFC is used to activate the user after registration.

After successful creation of the learner profile, the system sends a confirmation e-mail to the registered learner containing his/her account information (alias and password) and an activation link. The email also contains a request to accept terms and conditions and enter information, like interests and communication details. When the learner chooses the confirmation link, the system activates the newly created learner profile. This RFC is called to activate the user information.

Features

This function module takes the following input parameters:

  • IV_URL_CNXT_VALUE: (mandatory parameter) activation key mentioned in the URL sent to the user via email.
  • IV_VALIDITY: (optional parameter) validity of the registration. It checks the expiry date of the registration based on the validity and activates the user only if the registration has not expired.

The function module returns the parameter EV_RETURN_CODE.

Activities

You select the username from the activation key. The selection is done from the /XLSO/USR_STATUS table. This table stores the username and its respective activation key during registration.

  1. You check if the activation key exists and change the status of the record for the respective user.
  2. You unlock the user if the activation key is successfully found and user status is changed. There is a standard BAPI to unlock the user (BAPI_USER_UNLOCK).
  3. You commit the changes.

Example

Notes

Further information





Parameters

ET_MESSAGES
EV_RETURN_CODE
IV_URL_CNXT_VALUE
IV_VALIDITY

Exceptions

Function Group

O/SAPLUSER_REGISTRATION

CL_GUI_FRONTEND_SERVICES - Frontend Services   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 2222 Date: 20240425 Time: 014852     sap01-206 ( 44 ms )