SAP ABAP Data Element TDD_ROOT_ITEM (Item Number of the Root Item)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   SD (Application Component) Sales and Distribution
     ERP_SD_ANALYTICS_CORE_TR (Package) Sales, Billing and Delivery Analytics - Translation Relevant
Basic Data
Data Element TDD_ROOT_ITEM
Short Description Item Number of the Root Item  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type POSNR    
Data Type NUMC   Character string with only digits 
Length 6    
Decimal Places 0    
Output Length 6    
Value Table VBUP    
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 10 Root Item 
Medium 15 Root Item 
Long 20 Root Item 
Heading 15 Root Item 
Documentation

Definition

So that you can allocate contracts/quotation items and their corresponding sales order items within ODP-based queries, the contract/quotation item needs a self-reference and the referenced sales order item needs to reference the original contract/quotation item. This cannot be covered by the existing fields VBELN, POSNR, ERDAT, VGBEL, and VGPOS.

To achieve this, we therefore need three new fields: ROOT_HEAD, ROOT_ITEM, and ROOT_DATE. This data element corresponds to the ROOT_ITEM field.

Use

The ROOT_ITEM field contains the item number of the root item. It is filled with values during statistical data enrichment at application runtime (function module MCV_STATISTICS_ORDER) or at direct access data retrieval (method FILL_MC11VA0ITM of class CL_SD_ANLY_CORE_SERVICES).

Dependencies

The following rules apply:

  • In the case of a contract or quotation item, the ROOT_ITEM field contains self-reference data from POSNR.
  • In the case of a sales order item with reference to a contract or quotation item, the ROOT_ITEM field contains original data from VGPOS.

Example

History
Last changed by/on SAP  20110901 
SAP Release Created in 606