Secondary Files

Definition

The secondary file contains information on each table object (tables, field strings, and infotypes) that you have assigned to the interface format. This is information that can be displayed when you edit the interface format by choosing the Information on table object function. The secondary file ensures that the export file can also be processed outside of the SAP System.

Structure

The secondary file, like the export file, can be found in the TemSe file. Each line in the secondary file contains specific information on a table object.

Line Format of Secondary File

No.

Field

Length

Type

Example

1

Name of table

10

Character

RT

2

Field name

10

Character

LGART

3

Data type

1

Character

D

4

Field length

6

Numeric

000008

5

Number of decimal places

6

Numeric

000000

6

Conversion indicator

1

Character

For internal use only

7

Conversion type

2

Numeric

For internal use only

8

Conversion modifier

6

Numeric

For internal use only

Data Types

Data type

Meaning

Example

C

Character

ABCD01

N

Numerical value

038472

D

Date in the form YYYYMMDD

19990101

T

Time in the form HHMMSS

105453

V

Floating point number (with +/- sign)

+0003450

 

1 byte is the sign (+ or -)

-003746543

 

The last bytes are the decimal places (according to the value in the Number of decimal places field.)

 

Example Example

The following example shows a characteristic section of a secondary file. The blank characters are represented by periods.

RT........LGART.....C000004000000000000000

RT........ANZHL.....V000016000002100000000

RT........BETRG.....V000016000002100000000

P0002.....NACHN.....C000025000000000000000

P0002.....VORNA.....C000025000000000000000

End of the example.

See also:

Example: Structure of the Secondary File (Formatted)