SAP ABAP Data Element PPU12_IMPORT_MAKRO (Import macro)
Hierarchy
SAP_HRRXX (Software Component) Sub component SAP_HRRXX of SAP_HR
   PY-XX-TL (Application Component) Tools
     PC_PU12 (Package) Development of Interface Toolbox
Basic Data
Data Element PPU12_IMPORT_MAKRO
Short Description Import macro  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type SYCHAR20    
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 Imp.macro 
Medium 12 Import macro 
Long 12 Import macro 
Heading  
Documentation

Definition

Special programs in payroll that process cluster data (for example, RX) do not access the cluster independently. The data in a cluster is accessed using a defined interface. This interface is created using macros.

  • Import macros read data from a cluster.
  • Export macros write data to a cluster.

The use of macros within the interface toolbox guarantees that the same conditions are always used for accessing the cluster data.

Use

When processing cluster data, the interface toolbox retrieves the available existing import macros in the SAP system. If the table objects for data import have been changed in the import macros (for example, if a table object has been deleted, or inserted) this change is automatically passed on to the interface toolbox without the need for manual intervention.

The interface toolbox checks whether the import macro is valid. You may use macros that meet the following conditions:

  • Reading the data from a cluster
    • The import macro uses the IMPORT ABAP command.
  • Accessing the cluster in the database object

Naming conventions for export and import macros

The structure of the name is as follows:

RP-aaa-bb-cc

Where

  • aaa is the type of macro
    • IMP import macro
    • EXP export macro
  • bb specifies the database table where the data is saved
    • C1 database object PCL1
    • C2 database object PCL2
    • C3 database object PCL3
    • C4 database object PCL4
  • cc names the cluster object
    • RX cluster object RX
    • RD cluster object RD
    • B2 cluster object B2, and so on.

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