SAP ABAP IMG Activity W_CM_MD_0005 (Define Function Module for Structuring a Master Data Hierarchy)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-MD (Application Component) Logistics Basic Data
     CM_WF (Package) Category Management: Workflow
IMG Activity
ID W_CM_MD_0005 Define Function Module for Structuring a Master Data Hierarchy  
Transaction Code S_AX8_68000134   (empty) 
Created on 20010807    
Customizing Attributes W_CM_MD_1000   Attributes for Category Management 
Customizing Activity W_CM_MD_0005   Define Function Module for Structuring a Master Data Hierarchy 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name W_CM_MD_0005    

In this IMG activity, you store the function module, which determines the values of the master data attributes that need to be transferred to a planning hierarchy in Merchandise and Assortment Planning.

You need to perform this IMG activity before you can use the function "Automatic Generation of the Planning Hierarchy using Master Data".

The function module is specified for each master data attribute (a planning level in the planning hierarchy) and for each set of characteristics, on which the attribute values to be determined depend.

To be able to automatically enrich other planning levels in the planning hierarchy, in addition to the planning levels belonging to the master data hierarchy, store the relevant function modules in this IMG activity.

Requirements

You have programmed the required function modules for determining the master data attributes.

Standard settings

The table to be filled in this IMG activity has separate namespaces for SAP deliveries (priority = SAP) and customer developments (priority = customer). If the other entries are the same (Attribute for the name of the master data attribute and Context for the characteristics on which the attribute values are dependent), the customer settings are used.

SAP already provides some function modules in the category management scenario 1_CM, which you can use directly to enrich attributes in Merchandise and Assortment Planning. The relevant Customizing entries in the SAP namespace are already entered in the table to be maintained.

Recommendation

Activities

If an attribute is not dependent on other characteristics, you do not need to enter the context structure.

Maintain the entry in the SPACE field as follows: It is conceivable that for a specific context, no valid values can be determined for an attribute. In this case, the function module has to return an entry that indicates exactly this situation. You cannot use the constant value SPACE as, depending on the data type of the attribute (for example, NUMC), this value is not possible. A type-relevant initial value (in the case "NUMC 0...0") does not automatically mean that a value was not found: so for example, 0000 is a possible value for the season. You can therefore define your own value that indicates the situation described above and store it here.

Further notes

Example

The following entry, among others, is already contained in the standard system:

  • Priority: SAP
  • Attribute: REGIO
  • Context: WISP_CM_CONTEXT_4_REGIO
  • Function module: CM_MAP_ATTR_REGIO_4_HIEID_LAND
  • Space: <SPACE>

The entry can be interpreted as follows:

  • Priority SAP indicates that it is a standard delivery.
  • REGIO (Region) is the name of the attribute for which the values are to be defined.
  • The context WISP_CM_CONTEXT_4_REGIO is a DDIC structure with the components HIER_ID (hierarchy ID) and CM_LAND1 (country). The values to be determined for the region should depend exactly on these characteristics.
  • The function module WISP_CM_CONTEXT_4_REGIO therefore has to determine the values of the relevant regions for a specified hierarchy ID and a specified country.
  • The initial entry in the Space field indicates that if no region is found, an initial entry will be returned.

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 1   Critical 
Country-Dependency A   Valid for all countries 
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
V_TWISPC_FBMDHIE V - View SM30  
History
Last changed by/on SAP  20020909 
SAP Release Created in 1999_1_46C