_BATCH

_BATCH is an SAP database table in S/4HANA. It contains 7 fields.

Fields (7)

KeyField CDS FieldsUsed in Views
KEY Batch ARunSupplySelRuleAttribVal,Batch 3
KEY StockSegment ARunSupplySelRuleAttribVal,StockSegment 2
BatchBySupplier BatchBySupplier 3
CountryOfOrigin CountryOfOrigin 1
DefinitionOfBatchLevel DefinitionOfBatchLevel 2
ManufactureDate ManufactureDate 1
ShelfLifeExpirationDate ShelfLifeExpirationDate 1

Derived SQL schema, reconstructed from the indexed DDIC field metadata (field names, types, lengths and key flags) — a functional representation, not the verbatim SAP source.

-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE _BATCH (
    BATCH,
    STOCKSEGMENT,
    BATCHBYSUPPLIER,
    COUNTRYOFORIGIN,
    DEFINITIONOFBATCHLEVEL,
    MANUFACTUREDATE,
    SHELFLIFEEXPIRATIONDATE,
    PRIMARY KEY (BATCH, STOCKSEGMENT)
);