PURCHDOC

PURCHDOC is an SAP database table in S/4HANA. It contains 11 fields.

Fields (11)

KeyField CDS FieldsUsed in Views
KEY PurchasingDocument PurchasingDocument 1
KEY PurchasingDocumentItem PurchasingDocumentItem 2
DocumentCurrency DocumentCurrency 1
Material Material 1
MaterialGroup MaterialGroup 1
Plant Plant 1
PurchasingDocumentCategory PurchasingDocumentCategory 2
PurchasingDocumentItemUniqueID PurchasingDocumentItemUniqueID 1
PurchasingGroup PurchasingGroup 1
PurchasingOrganization PurchasingOrganization 1
Supplier Supplier 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 PURCHDOC (
    PURCHASINGDOCUMENT,
    PURCHASINGDOCUMENTITEM,
    DOCUMENTCURRENCY,
    MATERIAL,
    MATERIALGROUP,
    PLANT,
    PURCHASINGDOCUMENTCATEGORY,
    PURCHASINGDOCUMENTITEMUNIQUEID,
    PURCHASINGGROUP,
    PURCHASINGORGANIZATION,
    SUPPLIER,
    PRIMARY KEY (PURCHASINGDOCUMENT, PURCHASINGDOCUMENTITEM)
);