SAP ABAP Data Element /TDAG/CPE_IMPMAPANDSAVE (Map and Save)
Hierarchy
TDAGBCA (Software Component) TechniData Basic Components
   EHS (Application Component) Environment, Health and Safety
     /TDAG/CP (Package) Compliance for products
Basic Data
Data Element /TDAG/CPE_IMPMAPANDSAVE
Short Description Map and Save  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type FUNCNAME    
Data Type CHAR   Character String 
Length 30    
Decimal Places 0    
Output Length 30    
Value Table TFDIR    
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 MapSave 
Medium 15 Map and Save 
Long 20 Map and Save 
Heading 30 Map and Save 
Documentation

Definition

The following describes the process of mapping and saving:

  • Read mapping information.
  • Determine data provider.
  • Create substance headers.
  • Reduce data to the mapped data.
  • Read update mode.
  • Map data.
  • Save data for the following:
    • Identifiers
    • Properties
    • Components

Mapping

During the mapping process, the API structures of the specification are built. The specification data can be identified using the ExitID field.

Save

Saving the data is carried out for identifiers, properties, and components separately. The way data is to be updated is defined by the update mode. The update mode is maintained in table /TDAG/CPC_IMUMOD.

You must use the following interface for the function module:

*"----------------------------------------------------------------------
*" IMPORTING
*" REFERENCE(I_IMPTYP) TYPE /TDAG/CPE_IMPTYP
*" TABLES
*" XT_IM_DATA STRUCTURE /TDAG/CPS_IMPDATA
*" XT_IM_COMP STRUCTURE /TDAG/CPS_IMPCOMP
*" XT_IM_OBJECTS STRUCTURE /TDAG/CPS_IMPOBJ
*" ET_ERROR STRUCTURE /TDAG/CPS_IMERROR OPTIONAL
*" EXCEPTIONS
*" NO_MAPPING
*"----------------------------------------------------------------------

I_IMPTYP    =    incoming template

XT_IM_DATA    =    data table (table / field / value)

XT_IM_COMP    =    component table (ID, father ID, mean value, unit)

XT_IM_OBJECTS    =    object table (ID, identifier 1, identifier 2 ..)

ET_ERROR    =    error table

For information about identifying objects, see identification object.

History
Last changed by/on SAP  20141109 
SAP Release Created in 0207B0406C