Show TOC

Function documentationSelection According to Variable User or Business Partner

 

You can define a default query for a worklist that shows for each individual user which QIM issues or QIM activities he or she is assigned to. This is possible if you enter a variable in the respective selection field, which is then replaced by the current user or business partner who opens the worklist.

You can use the following variables:

<USER2UNAME> – is replaced by the current user ID

<USER2BP> – is replaced by the business partner ID for the current user

You can also use the variables in the front end during user-specific creation of a new worklist. This is useful, for example, if the business partner has to be entered in a field but the current user does not know the business partner assigned to him or her. The user can then enter the variable <USER2BP> in the respective selection field.

Prerequisites

  • You have assigned the conversion class CL_QAM_MAP_USER2PARTNER to the user or business partner search field in SMT mapping (see also Structure Mapping).

  • If you want to use the variable <USER2BP>, the business partner for the user must exist.

Activities

  1. In Customizing for QIM under Start of the navigation path Worklists for Quality Issues and Activities Next navigation step Make Settings in POWL Cockpit End of the navigation path, open the POWL Administrator Cockpit (transaction POWL_COCKPIT).

  2. Select Standard POWL.

  3. Select the personalization application QIM_GQIA_POWL and choose Register Query.

  4. Choose Maintain Query.

  5. Open the query in which you want to use a variable and choose Query Parameters.

  6. Enter the corresponding variable in a user or business partner field.