SAP ABAP Data Element N2_REFKEY (Reference Key of a Referenced Object)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       NMED (Package) R/3MED: Medical documentation GSD
Basic Data
Data Element N2_REFKEY
Short Description Reference Key of a Referenced Object  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type CHAR20    
Data Type CHAR   Character String 
Length 20    
Decimal Places 0    
Output Length 20    
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 RefKey 
Medium RefKey 
Long RefKey 
Heading RefKey 
Documentation

Definition

The reference key (REFKEY) identifies the individual references within a document and in all documents of a client. The reference key is stored in the document tables and there represents a link to referencing integrated external data or linked objects.

The reference key creates a link to integrated external data or a linked object either directly or using a Reference Table. The system will use the direct link if the reference key is a key component of the external data or the linked object.

The indirect link will then be available if the key components of the integrated external data or the linked object are stored by the external data module or the link module according to the Document Key (REFDOK), the reference key (REFKEY) and with multiple external data of the line reference (LINEREF) in an individual Reference table.

For each documentation element to which an external data module or a link module is assigned, the name for the reference field will be created when the element list is created or updated, and a Reference Field will be created when document tables are generated. This will have to be supplied if the external data module is also a Reference Module.

The reference key must be determined by an external data module or a link module when integrating external data or link objects (e.g. when predefining a document, or with a later selection or entry when editing a document), and then transferred to the dialog application of the document to be edited. This will be allocated once, and then included in the transfer when you later call function modules (in the corresponding interface parameter) which belong to an external data module.

The number range object ISH_N2DOKR has been created for the allocation of reference keys. In customizing, you must create the number range 01 for this number range object.

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