SAP ABAP Data Element /TDAG/CPE_IMPPREPROCESS (Preprocessing)
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_IMPPREPROCESS
Short Description Preprocessing  
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 Preproc. 
Medium 15 Preprocessing 
Long 20 Preprocessing 
Heading 30 Preprocessing 
Documentation

Definition

Specifies a pre-processing function module that is executed after the incoming template identification step and before the process step.

Use

During preprocessing, data can be deleted or modified. For example, the AIAG import changes the sequence of the segment.

You must use the following interface for the function module:

*"----------------------------------------------------------------------

*" IMPORTING

*" REFERENCE(I_FILENAME) TYPE /TDAG/CPE_FILENAME OPTIONAL

*" REFERENCE(I_IMPTYP) TYPE /TDAG/CPE_IMPTYP

*" EXPORTING

*" VALUE(E_PACKET) TYPE ESP1_BOOLEAN

*" TABLES

*" IT_LINES STRUCTURE /TDAG/CPS_IMPFILE1000

*" ET_LINES STRUCTURE /TDAG/CPS_IMPFILE

*" ET_ERROR STRUCTURE /TDAG/CPS_IMERROR OPTIONAL

*" EXCEPTIONS

*" FILE_NOT_FOUND

*"--------------------------------------------------------------------

I_FILENAME = Path and data file

I_IMPTYP = Incoming template

E_PACKET = Packet processing 'X'

IT_LINES = Input - lines of a data file

ET_LINES = Output - lines of a data file with segments

ET_ERROR = error table

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