REASON

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

Fields (4)

KeyField CDS FieldsUsed in Views
KEY alignid PurReqnAlignmentID 1
KEY ebeln PurchasingDocument 1
KEY ebelp PurchasingDocumentItem 1
reason_code ReasonCode,RFMAlgnmtRunRsnCode 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 REASON (
    ALIGNID,
    EBELN,
    EBELP,
    REASON_CODE,
    PRIMARY KEY (ALIGNID, EBELN, EBELP)
);