P_HU_AUDITREPORT
P_HU_AUDITREPORT is a CDS View in S/4HANA. It contains 17 fields. 3 CDS views read from this table.
CDS Views using this table (3)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| P_HU_MM_AuditReport | view | from | COMPOSITE | |
| P_HU_MMInvoiceConsignment | view | from | COMPOSITE | |
| P_HU_SD_AuditReport | view | from | COMPOSITE |
Fields (17)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | AccountingDocument | AccountingDocument,OriginalReferenceDocument | 3 |
| KEY | CompanyCode | CompanyCode | 3 |
| KEY | TaxCode | TaxCode | 3 |
| AccountingDocumentItem | AccountingDocumentItem | 3 | |
| AuthorizationGroup | AuthorizationGroup | 1 | |
| CompanyCodeCurrency | CompanyCodeCurrency | 3 | |
| DocumentCurrency | DocumentCurrency | 3 | |
| DocumentDate | DocumentDate | 3 | |
| FiscalYear | FiscalYear | 1 | |
| OriginalReferenceDocument | DocumentNumber | 1 | |
| PostingDate | PostingDate | 3 | |
| ReferenceDocument | ReferenceDocument | 1 | |
| ReferenceDocumentType | ReferenceDocumentType | 3 | |
| TaxAmountInCoCodeCrcy | TaxAmountInCoCodeCrcy | 1 | |
| TaxBaseAmountInCoCodeCrcy | NetPriceAmount,TaxBaseAmountInCoCodeCrcy | 3 | |
| TaxBaseAmountInTransCrcy | NetPriceAmount | 1 | |
| TaxRate | TaxRate | 3 |
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 P_HU_AUDITREPORT (
ACCOUNTINGDOCUMENT,
COMPANYCODE,
TAXCODE,
ACCOUNTINGDOCUMENTITEM,
AUTHORIZATIONGROUP,
COMPANYCODECURRENCY,
DOCUMENTCURRENCY,
DOCUMENTDATE,
FISCALYEAR,
ORIGINALREFERENCEDOCUMENT,
POSTINGDATE,
REFERENCEDOCUMENT,
REFERENCEDOCUMENTTYPE,
TAXAMOUNTINCOCODECRCY,
TAXBASEAMOUNTINCOCODECRCY,
TAXBASEAMOUNTINTRANSCRCY,
TAXRATE,
PRIMARY KEY (ACCOUNTINGDOCUMENT, COMPANYCODE, TAXCODE)
);
Learn More
- Understanding Data Lineage in SAP S/4HANA
- SAP Tables vs CDS Views — Key Differences
- Understanding the SAP S/4HANA Data Model
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA