Communication User SAPJSF Locate the document in its SAP Library structure

Use

The communication user SAPJSF is used during the user authentication that takes place between the JEEE Security service and the SAP Web Application Server by RFC communication.

During the installation of the SAP Web Application Server and/or the activation of the J2EE Engine, the communication user is automatically created and received the role SAP_BC_JSF_COMMUNICATION_RO. This means that the user has only read access to all user data and can. The role contains the authorization with which the communications user can authenticate the end user.

During the installation or activation of the SAP J2EE Engine, the system prompts you to specify a password for the communication user. The communication user is then automatically created.

Prerequisites

You have user administrator authorization in the SAP Web Application Server (use of transaction SU01). If you want to use the function module, you require the authorizations for testing function modules.

Checking the Communication User

After the installation/activation, check whether the communication user, its role, and the generated profile were created correctly.

  1. Choose Tools ® Administration ® User Maintenance ® User (transaction SU01).
  2. The system displays the screen User Maintenance: Initial Screen.

  3. Enter the user name SAPJSF and choose Display.
  4. On the Logon Data tab page, check whether the user type Communication (in older release, CPIC) is selected.
  5. On the Roles tab page, check that the role SAP_BC_JSF_COMMUNICATION_RO is entered.
  6. On the Profiles tab page, check that the generated profile for the role SAP_BC_JSF_COMMUNICATION_RO is entered.

Creating the Communication User Manually

If you discovered errors when checking the communication user, you have two options for creating the user and the role.

With Role Maintenance Transaction PFCG and User Maintenance Transaction SU01

You can create the Structure linkrole and the communication user manually in the SAP Web Application Server.

  1. Choose Tools ® Administration ® User Maintenance ® User (transaction SU01).
  2. The system displays the screen User Maintenance: Initial Screen.

  3. Enter the user name SAPJSF and choose Create.
  4. Assign the communication user an initial password and the user type Communication (in older releases, CPIC) on the Logon Data tab page.
  5. On the Roles tab page, assign the communication uesr the role SAP_BC_JSF_COMMUNICATION_RO with the Structure linkgenerated profile.
  6. Save your entries.

With a Function Module

  1. In transaction SE37, call the function module PRGN_J2EE_CREATE_SERVICE_USER.
  2. Specify the import parameter IF_PASSWORD. If you want to deactivate the password logon for the communication user and want to use SNC logon instead, leave the field blank.
  3. Choose Execute.
  4. The system displays the screen Test Function Module: Initial Screen.

  5. In the Result row of the table parameter ET_RETURN, check that no errors occurred during the execution.

 

Note

If you are using multiple logical systems (clients) of the SAP system, create a separate communication user in each of these logical systems.