SAP ABAP IMG Activity SIMG_CFMENUOFDISTAID (Maintain Selection ID per Object Status)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       FVVI (Package) R/3 appl.dev. for Financial Assets Management: Real estate
IMG Activity
ID SIMG_CFMENUOFDISTAID Maintain Selection ID per Object Status  
Transaction Code S_ALR_87007183   IMG Activity: SIMG_CFMENUOFDISTAID 
Created on 19981222    
Customizing Attributes SIMG_CFMENUOFDISTAID   Create Selection ID per Object Status 
Customizing Activity SIMG_CFMENUOFDISTAID   Create Selection ID per Object Status 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name SIMG_CFMENUOFDISTAID    

When calling up evaluations, you can specify a status selection profile.

This enables you to select Real Estate objects with a certain system or user status in a report.

In this step you define status selection profiles which you use to specify status combinations for the selection of objects. A status selection profile is especially useful when you repeatedly select a large number of objects according to the same selection criteria, for example, requests for printing documents, for collective release or for the creation of request evaluations.

Selection procedure

The selection conditions are evaluated topdown. The following rules apply:

  • Several consecutive lines joined with OR become a block and are evaluated together. The block must fulfil at least one selection condition.
  • AND links this type of block as well as individual conditions. All blocks linked with AND or individual conditions must be fulfilled. An object is rejected as soon as a block or an individual condition is not fulfilled. This means that each AND that is inserted causes parentheses to be placed around the preceding statements. In order to select the required status combinations you may have to adjust the selection conditions.
  • To summarize: OR is stronger than AND!

Example

You want to define a status selection profile for selecting rental units with the following status combinations:

  • REL (released)
  • PROP AND ACRA (for own use and active rental agreement exists)

You use the following formulation:

REL OR (PROP AND ACRA)

However, the system interprets it in the following way:

(REL OR PROP) AND ACRA

This results in the selection of the rental units with the following status combinations:

  • REL AND PROP
  • CRTD AND ACRA

Therefore, you have to adjust the formulation in the following way:

(REL OR PROP) AND (REL OR ACRA)

State of status "Active", "Inactive", "Never active"

You can also carry out the selection according to a specific status state:

  • If you set the state to Active, the system searches for objects whose status is currently active.
  • If you set the state to Inactive, the system searches for objects whose status is currently inactive.
  • If you set the state to Never active, the system searches for requests whose status has never been active.

Example

The following is an example of a status selection profile that is to select all released rental units which are either for own use or used by a corporate group:

Link    Status    Status

    REL (released)    active

AND    PROP (for own use)    active

OR    GRPR (used by group)    active

The selection is carried out in two steps:

  • First, all released rental units are selected (rental units with the active status "REL").
  • Then, the system selects from this list all rental units with the PROP or GRPR status.

"Not" indicator

You can use this indicator to simplify the maintenance of selection conditions in certain cases. Some status conditions are easier to display when the "Not" indicator is set.

Example

Selection condition without "Not" indicator:

Link    Not    State

    <Status>    _    Inactive

OR    <Status>    _    Never active

Same selection condition with "Not" indicator:

Link    Not    State

    <Status>    X    Inactive

Recommendation

To minimize selection time, conditions which greatly limit the selection should be placed at the beginning of the status selection profile.

System status / User status

In a status selection profile; you can specify both the system status and the user status. If you wish to select objects according to user status you have to specify the corresponding status profile.

Once you have maintained a status profile; in the status selection profile you have to assign this status profile to all objects; the selection will only be limited by the status selection profile if the status profile is assigned to all the objects. Any system status that you assign in addition to the status profile will not be considered by the system if the status profile is not assigned.

Language dependency of the selection profile

Once a selection profile is created in a language it can be used in all languages defined in the system. If user statuses are defined in a selection profile, make sure that they are translated in the corresponding status profile. If no translation exists, you have to enter the user status in the language in which it was created.

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 SIMG_CFMENUOFDISTAID 0 I090004650 Information System 
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
STATSELSCM C - View cluster SM34 IMMO Define Status Selection Schema for Status objects 
V_TIVB5 V - View SM30 V_TIVB5 Default Values for Selection acc. to Status of Object 
History
Last changed by/on SAP  20000126 
SAP Release Created in