P_COUNTOFSAMETAXINVDOC

CDS View

Private View for counting Same Inv Doc

P_COUNTOFSAMETAXINVDOC is a CDS View in S/4HANA. Private View for counting Same Inv Doc. It contains 3 fields. 2 CDS views read from this table.

CDS Views using this table (2)

ViewTypeJoinVDMDescription
P_CountOfSameTaxInvDoc2 view from CONSUMPTION
P_DueTaxItemCountAndWhdgTaxItm view left_outer CONSUMPTION

Fields (3)

KeyField CDS FieldsUsed in Views
KEY CompanyCode CompanyCode 1
KEY FiscalYear FiscalYear 1
KEY TaxInvoiceNumber TaxInvoiceNumber 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.

-- Private View for counting Same Inv Doc
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE P_COUNTOFSAMETAXINVDOC (
    COMPANYCODE,
    FISCALYEAR,
    TAXINVOICENUMBER,
    PRIMARY KEY (COMPANYCODE, FISCALYEAR, TAXINVOICENUMBER)
);