SAP ABAP Data Element WISP_SELFLAG (Indicator: Plan Characteristic is a Selection Key Figure)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-MAP (Application Component) Merchandise and Assortment Planning
     WIS_PLAN (Package) Retail: Planning
Basic Data
Data Element WISP_SELFLAG
Short Description Indicator: Plan Characteristic is a Selection Key Figure  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type XFELD    
Data Type CHAR   Character String 
Length 1    
Decimal Places 0    
Output Length 1    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short SK 
Medium 15 SelectIndicator 
Long 20 Selection key figure 
Heading
Documentation

Definition

Selection key figures are characteristics that are not key fields of the database table / infostructure. It is sometimes necessary to use selection key figures because the planning levels for a planning scenario are subject to the following restrictions:

  1. The planning hierarchy of the scenario must be regular.
  2. When using planning steps with infostructures, these can have a maximum of nine "full" planning levels (that is, key fields of the infostructure). This is due to the restriction that only nine user-defined key fields or characteristics can be defined for information structures.
  3. Each individual partial branch of the planning hierarchy can contain a maximum of fifteen planning levels (= key fields), as database tables (planning hierarchy tables) can have a maximum of sixteen key fields (one key field is occupied by the planning hierarchy version)

Therefore when creating information structures, characteristics have to be defined as selection key figures, if more than nine characteristics are required.

Note that in Merchandise and Assortment Planning, the following restrictions apply for selection key figures:

  • You cannot use selection key figures in manual planning
  • Plan data can only be saved correctly if the combinations of all planning characteristics are unique, even if you are not taking the selection key figures into account, since these are not key fields in the database table. This affects the choice of selection key figures (see below). If the combinations are not unique, there is a risk of loss of data when saving plan data (see example 3)

Use

Use selection key figures if you want to use more than nine planning levels in one partial branch of the planning hierarchy, in order to keep the planning hierarchy regular.

Dependencies

Example

Choice of selection key figures:

In a planning step, the selection key figures with "normal" planning levels should form a hierarchy, so that the characteristics combinations are guaranteed to be unique. The following example is based on the planning scenario 1_SAP.

  • Example 1:

You are planning at material group level. The planning levels are material group hierarchy level 1 and material group hierarchy level 2. These are determined uniquely using the material group. If you do not require the planning levels, material group hierarchy level 1 and material group hierarchy level 2, (for example, in data selection) you can define them as selection key figures (compare scenario 1_SAP, planning step 1_SAP_6 and 1_SAP_7). The hierarchy stays regular and by using the two selection key figures, you do not need any of the nine "full" planning levels.

  • Example 2:

You have a branching planning hierarchy with planning steps that use different information structures (1_SAP_2/1_SAP_3 with S202 and 1_SAP_4 with S207). Planning characteristics, which are only used in a subtree of the planning hierarchy (EKORG in 1_SAP_2 and 1_SAP_3), can be used in the other as selection key figures (1_SAP_4). The hierarchy will then stay regular. By using the selection key figure, you still have nine "full" planning characteristics available. The data remains unique because the purchasing organization results uniquely from the store.

Example 3:

In this example there is an unfavourable choice of selection key figures available. You have the planning levels VKORG (purchasing organization) and MATKL (material group). VKORG is defined as a selection key figure . When saving plan data, data records for the combination VKORG=R100, MATKL=01 and VKORG=R300, MATKL=01 should be posted. As only MATKL is a key field of the database table, either the record with VKORG=R100 or the record with VKORG=R300 can be stored. The two cannot be used together as this would lead to loss of data.

History
Last changed by/on SAP  19991209 
SAP Release Created in