SAP ABAP IMG Activity OLQU-L (List Definition)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       QI (Package) QM IMG and area menu
IMG Activity
ID OLQU-L List Definition  
Transaction Code S_ALR_87004732   IMG Activity: OLQU-L 
Created on 19981222    
Customizing Attributes OLQU-L   Define list variants 
Customizing Activity    
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name OLQU-L    

This section contains instructions on how to define variants for selection lists.
You can control the list display, in which SAP objects are available for selection with the help of the list view function. This function is used in the following sections in QM:

Type and Use of Variants

There are the following variant types:

  • Selection Variants for initial screens (report variants)
    You use the selection variants to determine the length of the list by specifying field values on a selection screen that control object selection.
  • Layouts (Display Variants)
    You use the layout to determine the width and structure of lists by defining the fields that are displayed in the columns. As well as specifying column layout, you can specify selection criteria and how the list can be filtered.

These 2 variant types are subdivided into the following categories:

  1. Standard Variants (General Setting)
  2. User Variants (User-Related Setting)
  3. General Variants (Only possible with selection variants)

When you call an object list (for example, worklist) from the application menu, a screen for selecting objects appears. The system first tries to select a user variant. If it cannot find one, it searches for a standard variant. If the system cannot find a standard variant, it displays a screen for manual selection of the objects. You can then make manual entries, or use existing general variants and add entries manually, if required.
You must also enter a layout on the selection screen.

As the next step, you start the object search using the default values on the selection screen and the system creates the object list (worklist). To display the list, the system selects the layout specified on the selection screen. Users can choose another layout directly from the displayed object list and define their own layouts, by adapting existing ones.

You maintain the standard variants in a similar way in Customizing.

Maintaining Variants

Selection Variants

  • Standard variants
    The standard system contains one standard variant "SAP&TCODE_xxxx". "xxxx" is the transaction code that creates the relevant list. The system chooses this variant, if no other preferred variant exists.
    You can define one standard variant for data selection in Customizing for each list. The system saves this standard variant with the name "SAP_TCODE_xxxx".
    This variant takes precedence in the system over the standard variant "SAP&TCODE_xxxx" and has an automatic transport link. Note: In a client with a documentation requirement, the dialog box for the transport request appears when you leave the editing mode and not when you save the variant (as is usually the case).
  • User variants
    In the application transaction, you can define a user-specific variant for each list and user. The system stores these variants under the name "U_<user name>". This variant is chosen in preference to the standard variant, but does not have a transport link.
  • General variants
    In addition, you can create any number of miscellaneous variants for each list and store these under your own, freely-defined names. Such variants are not automatically chosen by the system and do not have a transport link.

Layouts

  • Standard layout
    In the standard system, there are one or more standard variants available for displaying each list. SAP has reserved name space 1* for these pre-defined variants. You can also define any number of your own standard variants for each list. SAP has reserved name space /* for these user-defined standard variants.
    You can maintain such standard variants in Customizing, as well as in the application transaction. However, you can use the authorization object S_ALV_LAYO to ensure that only certain users can maintain standard layouts. To do this, you enter the value 23 in the ACTVT field of the authorization profile for the user.
    Such variants have a manual transport link. Note: You can find the transport link as follows. First, from the maintenance function, choose Settings -> Layout -> Administration. The screen "Layout: Administration ". The system displays the list of all standard layouts. Select the entries to be transported, and then choose Layout -> Transport
  • User-layout
    In the application transaction, you can define any number of layouts for each list and save them with any number of names. These layouts have no transport link. Although these variants are called user-layouts, the system does not choose them first in the QM component, dependent on the user. Instead it chooses the layout that is proposed in the selection variant.

You can copy layouts from other clients. This applies to both standard and user layouts. To do this, on the "Layout: Administration" screen, choose Environment -> Import layout.

Procedure

When defining the selection variant, you can propose a layout. We therefore recommend that you define the variants in the following order:

  1. Define standard layouts in Customizing.
    It is usually adequate to use one preferred standard layout. If you define additional standard layouts, you can use these to define user variants subsequently.
  2. Define standard selection variant in Customizing.
    You can only define one standard selection variant. When defining this variant, enter the standard layout that you previously defined as the default.
  3. Define general selection variants in the transaction.
    Different user groups usually have different responsibilities and therefore require different selection variants. When defining these variants, reference the standard layouts that you have defined previously in Customizing. Note: Since these general selection variants do not have a transport link, you must create them in the productive system.
  4. Define user variants in the transaction.
    The variants that have already been defined are usually sufficient for your needs. You can, however, define additional selection variants and layouts in the transaction. You can define your own selection variant and create a reference in this variant to any other layout. In this case, when you call up the transaction, the system chooses this user-defined variant containing your proposal for the layout. Note: Since these user variants do not have a transport link, you must create them in the productive system.
  5. Define selection criteria
    When the function is called, a screen appears with all or some of the following selection options:
    • List for selection screen: Display mode
    • List for selection screen: Change mode
    • Maintain list for field selection

      Once you have chosen the selection screens, an intermediate screen appears for screen assignment. This screen is not relevant for the QM component and can be skipped.

      The selection screen now appears, on which you make entries to select your objects. Note of the information available on this screen:

    • General help for the selection screen (i-icon)
    • Report documentation (-> Help -> Application help)
    • Field help (F1)

      By choosing "Continue" a screen appears, on which you can enter specific attributes for the selection screens. On this screen, find out about the meaning of the attributes by checking the information related to the variant attributes (i-icon).

      Save the selection variant.

  6. Select fields

    Once you have chosen this function, a general selection screen appears. To access the field selection for the list, execute the report and then choose the "Layout" function from the list. You can find this function by choosing Settings -> Layout.

    Define the fields contained in the list columns and save the layout.

Further notes

There are various settings available for the individual lists. These functions are either self-explanatory or can be learned by testing. Determine which functions are available and which you want to use.

You can use a predefined selection profile as part of the selection criteria. Refer to the section Status Management for additional information.

Business Attributes
ASAP Roadmap ID 207   Establish Reporting 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG OLQU-L 0 HLA0009542 O HLA0006218  
Maintenance Objects
Maintenance object type    
History
Last changed by/on SAP  19981222 
SAP Release Created in