File LayoutThe file layout describes the structure of the export file, in particular the sequence and length of the field objects .
The
File Layout
function allows you to convert the export file format, which is known as the SAP export file format, into any user-defined file format. An
interface format
is assigned to each file layout.
The following graphic shows at which point the file layout generation takes place in the Interface Toolbox:
File Layout Types for the Export File
User-defined file layout
Note
The section on the file layout refers to the user-defined file layout.
Like the interface format, the file layout has hierarchical objects.
Objects in the File Layout and their Hierarchy
Object |
Hierarchy classification |
Example |
Block |
1 |
BEGIN_OF_FILE |
Structure |
2 |
MASTER_DATA |
Field |
3 |
P0002-NACHN |
You can define blocks , structures and fields in the file layout. When you create a file layout, use the following sequence:
Blocks
Assigned structures
Fields of the assigned structures
The blocks, structures and fields can have any name.
Fields
You can assign fields in the interface format to the defined fields belonging to the file layout.
You can also copy the characteristics and content of these interface format fields.
You can also define the fields to suit your requirements.
Structures
You can group a certain number of fields together in a structure. A structure corresponds to one line in the export file.
Blocks
Several structures are grouped together in a block. Blocks are not represented in the export file. They are only used to control the editing of the structures.
See also: