Special relative filters
There is a number of special primary arguments that enable you to define relative filters for specific purposes. For a description of these filters, see the table below.
Primary argument
Description
&DATASECTION
Can be used to define a relative filter on the current property set.
&CODEGEN
In Field definer, authorized users can use the &CODEGEN macro to automatically generate codes (with max. length of 10 characters). Codes can be generated for business objects such as properties, persons and addresses.
Tip For more information on using the &CODEGEN macro, refer to Field definer.
&USERNAME
Can be used to define a relative filter on the current user.
&USERID
Can be used to define a relative filter on the user ID code of the current user.
&PERSON
Can be used to define a relative filter on the person included in the Personnel Management TSI who is linked to the logged-on user.
Authorized users can link a user ID to a person from the Personnel TSI in Authorization > User groups.
&Person.Property
Use this macro to display or filter on the property of the user linked to the account that is used. This macro only works for a property reference field.
&Person.Space
Use this macro to display or filter on the space of the user linked to the account that is used. This macro only works for a space reference field.
&Person.Address
Use this macro to display or filter on the address of the user linked to the account that is used. This macro only works for an address reference field.
&Person.Department
Use this macro to display or filter on the department of the user linked to the account that is used. This macro only works for a department reference field.
&Person.CostCenter
Use this macro to display or filter on the cost center of the user linked to the account that is used. This macro only works for a cost center reference field.