Manual
Mapping ListInstall, work, configure
einvoice4s / Manuals / Mapping List

Mapping List

Applies to version of 18 September 2026. As of 10 November 2026.

1 · What it does

The Mapping List shows a mapping file from the SAP Mapping Studio as a readable text list. It answers two questions, depending on the direction:

  • SAP → BT: Which SAP fields are read, and into which field of the e-invoice does each of them flow?
  • BT ← SAP: Where does each field of the e-invoice according to EN 16931 get its value from?

The list can be saved as text, as Markdown and as a CSV file, and it can be printed. This makes it possible to discuss a mapping with the business department, development or auditors without anyone having to open the Mapping Studio.

The tool works according to these principles:

  • It is a single HTML file. You open it in the browser; there is no installation.
  • It only reads. The mapping file is displayed and not changed.
  • Your data stays in the browser. The tool reads the mapping file from your own computer and sends no content to a server.

Note: The user interface is in German. This manual quotes the labels as they appear on screen and gives their meaning in English in brackets.

2 · Requirements

WhatRequirement
BrowserA current browser.
Mapping fileA JSON file created with the SAP Mapping Studio. The tool rejects other JSON files.

3 · Opening a mapping file

If the tool cannot use the file, the status bar at the bottom states the reason:

MessageMeaning
„Die Datei ist kein gültiges JSON.“ ( not valid JSON )The file cannot be read.
„Das ist eine Tabellendefinition, keine Mapping-Datei.“ ( a table definition, not a mapping file )The file describes SAP tables for the Mapping Studio and contains no mapping.
„Unbekanntes Format.“ ( unknown format )The file is JSON, but not a mapping file.

A newly opened file replaces the previous one. The tool does not remember any file; after reloading the page you open the file again.

4 · The user interface

AreaContent
Header barThe name of the mapping and below it the header source and the number of access paths. On the right are the switch ◑ for light and dark, „Datei öffnen …“ and the buttons „Text“, „Markdown“, „CSV“ and „Drucken“ ( print ).
ToolbarThe direction with „SAP → BT“ and „BT ← SAP“, the search field, the switches „nur zugeordnete“ ( mapped only ), „Regel anzeigen“ ( show rule ) and „Verknüpfungsfelder“ ( join fields ), and on the right the number of entries shown.
ListThe entries in the selected direction.
Status barWhich file is loaded, or an error message.

The switch ◑ changes between light and dark display. The browser remembers the choice.

In front of each field of the e-invoice, a small dot shows the status that the mapping has in the Mapping Studio:

DotStatus
empty circleoffen ( open )
orangein Arbeit ( in progress )
greenfertig ( done )
greyentfällt ( not applicable )

5 · Direction SAP → BT

In this direction there is one block for each SAP source. The blocks are sorted by table name. If the mapping reads the same table via two different access paths, two blocks are created.

Each block shows:

  • in its heading the table name and, if the table is read via an access path, the name of the path,
  • under „Weg:“ ( route ) the whole chain of tables with their conditions, for instance for the path „Rechnungsempfänger (RE)“ in the sample „SD-Faktura (VF01)“ of the demo version BKPF → VBRK [VBELN = BKPF-AWKEY] → VBPA [VBELN = VBRK-VBELN, POSNR = '000000', PARVW = 'RE'] → KNA1 [KUNNR = VBPA-KUNNR],
  • one line per field with the field name and the fields of the e-invoice into which it flows, each with number and name.

A field with ⚿ and the remark „Verknüpfung“ ( join ) serves to connect one table with the next. If it has no target in addition, „keine Zuordnung“ ( no mapping ) appears there.

Values without an SAP field are in blocks of their own with the remark „ohne SAP-Feld“ ( without SAP field ): „(feste Werte)“ for constants, „(Funktionen)“ for function calls and „(berechnet)“ for other rules without a field reference. Fields that determine a document variable show the name of the variable as their target, in the form {{name}}.

The number on the right of the toolbar reads „… Quellen · … Felder“ ( sources, fields ) in this direction.

6 · Direction BT ← SAP

In this direction the list follows the order of the standard. For each group ( BG ) there is a block with number, name and cardinality. If the group has a repetition, a line „Wiederholung …:“ ( repetition ) names the route to it.

Each line shows the status, the number of the field ( BT ), its name and its source. Attributes such as scheme identifiers are listed with └ directly below their field.

Shown as sourceMeaning
TABLE-FIELDThe field is read from this SAP field. Below follow the rule and, for each access path, its name and route.
Rule without table fieldThe field gets a constant or the result of a function.
„beim Erzeugen gesetzt (…)“ ( set on generation )The value is created when the e-invoice is generated and needs no source in SAP.
„entfällt“ ( not applicable )The field is not needed for this document type. If the field has a note in the mapping, it follows.
„offen“ ( open )No source has been defined for the field yet. If the field has a note in the mapping, it follows.

The number on the right of the toolbar reads „… EN-Felder“ ( EN fields ) in this direction.

7 · Searching, filtering and rules

The search field „Tabelle, Feld, BT-Nummer oder Text suchen …“ filters the list while you type. Upper and lower case do not matter. The search covers table and field names, names of access paths, numbers and names of the fields of the standard and, in the direction „BT ← SAP“, also rules and routes. If the search finds nothing, „Kein Treffer“ ( no match ) appears.

SwitchEffect
„nur zugeordnete“ ( mapped only )In the direction „BT ← SAP“, hides the fields without a source and without a rule. Fields with the status „entfällt“ remain visible.
„Regel anzeigen“ ( show rule )Shows the rule when it is more than simply reading a field.
„Verknüpfungsfelder“ ( join fields )In the direction „SAP → BT“, shows the fields that connect tables with each other, marked with ⚿.

The rules are shown in a short notation. The examples come from the sample „SD-Faktura (VF01)“ of the demo version:

NotationMeaning
'EM'a fixed value
SUM(VBRP-NETWR)a sum over several rows
VBRK-FKDAT · DATEa field with a conversion, here into the date format
VERKETTEN(ADRC-NAME1, ADRC-NAME2)several parts in sequence ( VERKETTEN means concatenate )
WENN … DANN … SONST …a condition ( if … then … else )
FALL …: 'A' → …, sonst …a case distinction ( case …, otherwise … )
(VBRK-NETWR + VBRK-MWSBK)a calculation
READ_TEXT('VBBK', VBRK-VBELN)a function call with its parameters

8 · Saving and printing

ButtonResult
„Text“A text file with the extension .txt.
„Markdown“A Markdown file with the extension .md, with a heading per source or group and lists per field.
„CSV“A CSV file with the extension .csv, one line per mapping.
„Drucken“ ( print )The print dialogue of the browser.

All files are delivered through the browser's download. The output follows the selected direction and the switches „nur zugeordnete“ and „Regel anzeigen“. It does not take the search term into account; the files therefore always contain the whole list.

The file name is derived from the name of the mapping. If the name contains an abbreviation in brackets, that abbreviation is used. „FI-Beleg (MRRL) → EN 16931 · automatische WE-Abrechnung“, for example, becomes mrrl-liste-sap-bt.txt in the direction „SAP → BT“ and mrrl-liste-bt-sap.txt in the direction „BT ← SAP“.

The columns of the CSV file

The CSV file separates the columns with a semicolon, puts every value in quotation marks and begins with a UTF-8 marker ( BOM ). The column headings are German.

DirectionColumns
SAP → BTTabelle ( table ), Zugriffspfad ( access path ), Feld ( field ), Schlüssel ( key ), BT, BT-Bezeichnung ( BT name ), Status, Regel ( rule )
BT ← SAPBG, BG-Bezeichnung ( BG name ), BT, BT-Bezeichnung ( BT name ), Status, Quelle ( source ), Pfadname ( path name ), Zugriffspfad ( access path ), Regel ( rule )

The column „Schlüssel“ contains X for a join field. The column „Status“ contains the values offen, entwurf for „in Arbeit“, fertig or entfaellt. If a field of the e-invoice reads from several SAP fields, it gets one line per SAP field in the direction „BT ← SAP“.

Printing

When printing, the tool hides the header bar, the toolbar and the status bar. Where possible, a block is not split across two pages.

9 · The demo version

A demo version of the Mapping List is available for trying out on einvoice4s.de. It differs from the full version in the following points:

PointDemo version
SamplesThe selection „Beispiel laden …“ ( load sample ) in the header bar loads one of two built-in mappings: „SD-Faktura (VF01)“ or „FI-Ausgangsrechnung (FB70)“. At start-up the first one is loaded.

Everything else works as in the full version: you can open your own mapping files, change the direction, search, save and print.

Tip: If you append ?beispiel=fi-fb70 to the address of the demo version, it starts directly with the sample „FI-Ausgangsrechnung (FB70)“.