Selection 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.
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.
In Customizing for QIM under , open the POWL Administrator Cockpit
(transaction POWL_COCKPIT
).
Select Standard POWL
.
Select the personalization application QIM_GQIA_POWL
and choose Register Query
.
Choose Maintain Query
.
Open the query in which you want to use a variable and choose Query Parameters
.
Enter the corresponding variable in a user or business partner field.