SAP ABAP IMG Activity LGEBS42 (Maintain Selection Profile)
Hierarchy
ECC-DIMP (Software Component) DIMP
   IS-AD-LBK (Application Component) R/3 Log Book
     DIACL_GUI_AD (Package) Logbook: presentation layer (A&D)
IMG Activity
ID LGEBS42 Maintain Selection Profile  
Transaction Code S_ALI_97000040   (empty) 
Created on 20040316    
Customizing Attributes LGEBS42   Maintain Selection Profile 
Customizing Activity LGEBS42   Maintain Selection Profile 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name LGEBS42    

Use

In this activity, you can define selection profiles to specify status combinations for selecting objects (for example, orders or operations). A selection profile is useful if you repeatedly select a large number of objects based on the same selection conditions (for example, orders to print shop papers for collective release or to create order valuations).

Selection procedure

The selection conditions are evaluated top-down and the following rules apply:

  • Several lines following one another that are linked by an OR are combined and evaluated together. At least one selection condition must be fulfilled in the block.
  • AND links blocks or individual conditions. All the blocks or individual conditions linked by AND must be fulfilled. An order is no longer part of the evaluation when a block or individual condition is not fulfilled. This means that with every newly inserted AND, a bracket is inserted around the preceding expressions (conjunctive normal form). To select the desired status combinations, the selection conditions must be reformatted.

Example

You want to define a selection profile in which orders with the following status combinations are selected:

  • REL (released)
  • CRTD UND MACM (created and material committed)

To do this, formulate:

REL OR (CRTD AND MACM)

But the system interprets:

(REL OR CRTD) AND MACM

Orders with the following status combinations are selected:

  • REL AND MACM
  • CRTD AND MACM

Therefore, the original formulation must be reformulated by "multiplying out" to:

(REL OR CRTD) AND (REL OR MACM)

"Active", "Inactive", or "Never active" Status

You can also define the state of a status based on which of the following options is selected:

  • If you select the "active" state, the system searches for objects where the status is currently active.
  • If you select the "inactive" state, the system searches for objects where the status is currently inactive.
  • If you select the "never active" state, the system searches for orders where the status was never active.

Example

The following is an example of a selection profile that should select all released orders with a missing material or a missing PRT.

link status state

REL (released) active

AND MMAT (missing material availability) active

OR MPRT (missing PRT availability) active

The selection is carried out in tthe following way:

  1. All released operations ( orders with the active status "REL") are selected.
  2. From this group, the system selects all the orders with missing material or PRT availability (orders with the active status of "MMAT" or "PRT").

All the orders are selected with the following status combinations:

  • RELEASED and MMAT
  • RELEASED and MPRT
  • RELEASED and MMAT and MPRT

The "not" Indicator

In specific cases, you can use the "not" indicator to reduce the effort required to maintain selection conditions. Many status conditions can be represented more simply by setting the indicator to "not".

Example

Selection conditions without the "not" indicator:

link not state
<Status> _ inactive
OR <Status> _ never active

The same selection condition with the "not" indicator:

link not state
<Status> X inactive

Recommendation

For performance reasons, conditions that strictly imit the selection should be placed at the beginning of the selection profile.

System status/user status

You can enter system status and user status in a selection profile. To select objects based on a user status, enter the appropriate status profile.

If you maintained a status profile in the status selection profile, assign the status profile to all objects. Selection is restricted by the status selection profile only if you assigned the status profile to the objects. If you enter a system status, in addition to entering a status profile, the system ignores it unless it has been assigned to the status profile.

The status profile is assigned to the objects using the:

  • Project profile for the project definition and the WBS elements
  • Network type for the network header and the activities

Language dependence of a selection profile

If a selection profile has been created in a language, it can be used in all languages defined in the system. If user statuses are defined in a selection profile, ensure that the user statuses are translated in the corresponding status profile. If no translation exists, enter the user status in the language in which it was created.

Action

Define your own selection profiles if necessary.

Requirements

Standard settings

Activities

Example

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
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 LGEBS42 0 KA50002490 R/3 Log Book 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
VCCOSS C - View cluster BS42 03 Status Selection 
History
Last changed by/on SAP  20040429 
SAP Release Created in 500