PURCHASINGDOCUMENT

PURCHASINGDOCUMENT is an SAP database table in S/4HANA. It contains 15 fields.

Fields (15)

KeyField CDS FieldsUsed in Views
CompanyCode CompanyCode 1
CreationDate OrderCreationDate 1
DocumentCurrency DocumentCurrency 1
IsCompletelyDelivered IsCompletelyDelivered 1
IsReturnsItem IsReturnsItem 1
Material Material 2
MaterialGroup MaterialGroup 1
NetAmount NetAmount 1
Plant Plant 1
PurchasingDocumentCategory PurchasingDocumentCategory 1
PurchasingDocumentOrderDate PurchasingDocumentOrderDate 1
PurchasingDocumentType OrderType,PurchasingDocumentType 2
PurchasingGroup PurchasingGroup 1
PurchasingOrganization PurchasingOrganization 1
Supplier Supplier 2

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 PURCHASINGDOCUMENT (
    COMPANYCODE,
    CREATIONDATE,
    DOCUMENTCURRENCY,
    ISCOMPLETELYDELIVERED,
    ISRETURNSITEM,
    MATERIAL,
    MATERIALGROUP,
    NETAMOUNT,
    PLANT,
    PURCHASINGDOCUMENTCATEGORY,
    PURCHASINGDOCUMENTORDERDATE,
    PURCHASINGDOCUMENTTYPE,
    PURCHASINGGROUP,
    PURCHASINGORGANIZATION,
    SUPPLIER
);