eptos Classification Manager User Guide
Breadcrumbs

Export Warengruppen (Version 2.0)

Overview

Present import indicates how Purchasing Groups (Warengruppen) may be exported from the system.

The purpose and the scope of this document is to describe the file format specifications for the export of Purchasing Groups (Warengruppen).

/*<![CDATA[*/ div.rbtoc1770892095123 {padding: 0px;} div.rbtoc1770892095123 ul {list-style: disc;margin-left: 0px;} div.rbtoc1770892095123 li {margin-left: 0px;padding-left: 0px;} /*]]>*/ Overview Overall Conventions Software Worksheet Table Columns Column name Column Code Requirement of Contained Data Data types Column Description Translatability IN/OUT Identifiers (IDs) Export of Purchasing Groups (Warengruppen) Export of “Warengruppen” Export of “Warengruppen Bezeichnungen” Table structure Example Export of “Warengruppen-Hierarchie” Table structure Hierarchiestufe Example Export related requirements Export coded names separator

Overall Conventions

Software

Import filters file is composed of one XLSX sheet. Therefore, to build the file a program needs to be installed that can handle the XLSX format, such as Microsoft Excel. Documents which implement this file format specification need to be saved as .xlsx files.

Worksheet

An Excel file can be structured in multiple work sheets. Each work sheet has a name that must be adhered to.

Each sheet has two header lines and a data payload.

In row 1 the human readable column names are printed – the row will be ignored by import

Row 2 contains the column codes that are used by the import program to identify the content.

Then follow the data rows.

Table Columns

Column name

Each table column has a name which gives a human comprehensive short reference of the column's content.

Note: the column name is for convenience only and not used to interpret the file.

Column Code

In order to reference the column unambiguously each column gets a unique code within the worksheet.

The import program is relying on Column Codes. If Column orders are changed, the codes must be preserved.

Requirement of Contained Data

Each column of contained data can be either

  • Mandatory – values MUST be present

  • Optional – values MAY be present

  • Conditional – values MUST be present IF a condition applies

Data types

Each column has a defined data type, i.e. a restricted set of available values. For example the data type integer only allows whole numbers while the data type string allows any sequences of characters. Additionally the data type string can be syntactically further constrained by a grammar.

Data type

Description

Example

Integer

whole number (positive and negative)

-10, 20

Real

Rational numbers (positive and negative)
Exponential notation is allowed

10, 10.5, -12,44
2.1E10

String

Sequence of characters (excluding inverted comma)
Can be further constrained by a grammar

AbC

Column Description

Description of the content for each column.

Translatability

The content of each column can be either translatable of not. In case a column's content data are translatable, the column code in the header is suffixed by a locale code comprising of a language code, an underscore and a country code. Example of locale codes: "de_DE", "en_US".

IN/OUT

For each column it can be defined whether the contained data is relevant for import or only gives additional information to a human reader of the file.

Identifiers (IDs)

References within the exchange file are made by an ID. There are two kinds of IDs to be separated:

  • Transient ID

Any sequence of characters can be treated as a transient ID when it cannot be confused with a code or an IRDI. It is recommended to use 6 digits long zero padded running numbers, e.g. 000001. The running number must be unique within the file and will be replaced by a code during import.

  • Persistent ID

A persistent ID can be used for references during load of new entries and for updates of existing entries. For updates of data that are already stored in eptos using a persistent ID is mandatory. The format of the persistent ID in eptos is the international registration data identifier (IRDI). For classification classes also the coded name may be used.

When an import file contains more than one ID for the same entity, the following precedence is taken:

  • Persistent ID (IRDI)

  • Coded Name

  • Transient ID

Export of Purchasing Groups (Warengruppen)

Export of Purchasing Groups (Warengruppen) will be of type CSV file. The export file will contain 3 sheets exporting information of the Classification Classes Purchasing Groups: “Warengruppen”, “Warengruppen Bezeichnungen” and Warengruppen Hierarchie.

Export of “Warengruppen”

Table Structure

Column name

Column Code

Value Data Type

Translatable

Description

Satztyp

STYPE

String

N

Constant to „01“. Indicates we deal main table of warengroupe (T023)

Warengruppe

MATKL

String

N

Coded name of class

Sparte

SPART

String

N

Optional EA may be connected to that column

Warengruppen - Vorlagematerial

WWGDA

String

N

Optional EA may be connected to that column

Warengruppen - Wertmaterial

WWGPA

String

N

Optional EA may be connected to that column

Abteilungsnummer

ABTNR

String

N

Optional EA may be connected to that column

Berechtigungsgruppe

BEGRU

String

N

Optional EA may be connected to that column

Vorschlag für die Gewichtseinheit im Materialstamm

GEWEI

String

N

Optional EA may be connected to that column

Bewertungsklasse

BKLAS

String

N

Optional EA may be connected to that column

Einkaufswerteschlüssel

EKWSL

String

N

Optional EA may be connected to that column

Vorschlag: Anlagenklasse für Anlagenerzeugung

ANLKL

String

N

Optional EA may be connected to that column

Table 1 “Warengruppen”

Example

01;109004060;;;;;;;;;

Export of “Warengruppen Bezeichnungen”

Table structure

Column name

Column Code

Value Data Type

Translatable

Description

Satztyp

STYPE

String

N

Constant to „02“. Indicates we deal with translations

Sprachenschlüssel

SPRAS

String

N

SAP code of language (e.g D for German)

Warengruppe

MATKL

String

N

Coded name of class

Bezeichnung der Warengruppe

WGBEZ

String

N

Short name of class

Langtext zur Bezeichnung der Warengruppe

WGBEZ60

String

N

Preferred name of class

Table 2 “Warengruppen Bezeichnungen”

Example

02;D;109004060; Speicher; Speicher

02;E;109004060; Storage; Storage

Export of “Warengruppen-Hierarchie”

Table structure

Column name

Column Code

Value Data Type

Translatable

Description

Satztyp

STYPE

String

N

Constant to „03“. Indicates we deal with hierachy

Warengruppe

MATKL

String

N

Coded name of class

Hierarchiestufe

STUFE

String

N

See below

Stufenwert

STWRT 

Integer

N

See below

                                              Table 3 “Warengruppen-Hierarchie”              

Hierarchiestufe

Hierarchiestufe together with Stufenwert shows the decomposed coded name per level. 

Information is structured in the following way

Warengruppe

Hierarchiestufe (Hierarchy level)

Stufenwert (Coded name part corresponding to the selected level)

109004060

1

10

2

90

3

04

4

060

Example

03;109004060;1;10

03;109004060;2;90

03;109004060;3;04

03;109004060;4;060

Export related requirements

Only classes having “warengrouppe” flag set are exported

Export all tables in one CSV file

Export all tables in one CSV file – it seems SAP expects only one file

Export coded names separator

In this export coded names must be exported without separator. Reason: in SAP the MATKL is 9 characters and eClass coded name has already 8 characters – so the only way to fit into MATKL is to be exported without separator.