SAP ABAP IMG Activity CMMENUOLMEOMERB_A (System Enhancements)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       ME0C (Package) Customizing R/3 Purchasing
IMG Activity
ID CMMENUOLMEOMERB_A System Enhancements  
Transaction Code S_ALR_87100745   (empty) 
Created on 19991126    
Customizing Attributes CMMENUOLMEOMERB_B   "System Enhancements": Attributes 
Customizing Activity    
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name SIMG_CMMENUOLMEOMERB    

If you have extended the field catalog to include your own fields, you must make the relevant fields accessible in the Purchasing transactions.
This section describes how to proceed.

Communication structures
The following communication structures are relevant to pricing:

  • KOMK (Price determination communication header)
  • KOMP (Price determination communication item)
  • KOMG (Allowed fields for condition structures)

    For technical reasons, the communication structure KOMG is used. This represents the total of KOMK and KOMP and contains all fields that can basically be used for price determination purposes. The inclusion of new fields in KOMK or KOMP automatically means that they are also included in KOMG.

INCLUDES
Fields for price determination are contained in the following INCLUDES:

  • Header data in KOMKAZ (INCLUDE in KOMK/KOMG)
  • Item data in KOMPAZ (INCLUDE in KOMP/KOMG)

USER EXITS
The new fields in the processing of purchasing documents are filled with the following USER EXITS:

  • Extension of LMEKO001 with function module EXIT_SAPLMEKO_001
    (for the header fields of table KOMK)

  • Extension of LMEKO002 with function module EXIT_SAPLMEKO_002
    (for the item fields of table KOMP)

    You must activate the USER EXITS with transaction CMOD.

Example

The example describes how to proceed in order to use the document field EKGRP (purchasing group) for price determination (in the standard system it is not defined for this purpose).

  1. First check whether there is a corresponding document field in the standard system.

    The purchasing group (= field EKGRP) is found in purchasing documents at header level.

  2. Check whether a header or item field is involved.

    Field EKGRP is stored in table EKKO and is therefore a header field.

  3. Include the field name ZZEKGRP in the communication structure KOMK (via the INCLUDE KOMKAZ) and assign the data element EKGRP to it.

    Note that new data fields must begin with the letters "ZZ" or "YY", because SAP keeps these name slots free in the standard system to protect them from being overwritten at the time of Release changeovers.

  4. Activate the structure.

    This causes those structures in which this INCLUDE structure is integrated also to be generated.

  5. Populate the new field in program ZXM06U14, which is used in the
    function module EXIT_SAPLMEKO_001, as follows:

    MOVE I_KOMK TO E_KOMK.
    MOVE I_EKKO-EKGRP TO E_KOMK-EKGRP.

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 3   Nonrequired activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type    
History
Last changed by/on SAP  19991126 
SAP Release Created in