P_AUDIT_AT_KNA1
P_AUDIT_AT_KNA1 is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (kna1) and exposes 31 fields with key fields bukrs, kunnr.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| kna1 | kna1 | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PAUDITATKNA1 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | bukrs | knb1 | bukrs | Value |
| KEY | kunnr | kna1 | kunnr | Stock customer |
| Customer | kna1 | kunnr | Stock customer | |
| land1 | kna1 | land1 | Trip Ctry/Reg | |
| name1 | kna1 | name1 | PA text | |
| name2 | kna1 | name2 | Name2/First nme | |
| ort01 | kna1 | ort01 | Province | |
| pstlz | kna1 | pstlz | Postal Code | |
| sortl | kna1 | sortl | Sort Term | |
| stras | kna1 | stras | Street/House | |
| adrnr | kna1 | adrnr | Sold-To Address | |
| mcod1 | kna1 | mcod1 | Search Term | |
| mcod2 | kna1 | mcod2 | Name 2 | |
| mcod3 | kna1 | mcod3 | City | |
| konzs | kna1 | konzs | Group | |
| lifnr | kna1 | lifnr | Vendor no. | |
| stkzu | kna1 | stkzu | Liable for VAT | |
| stceg | kna1 | stceg | VAT Reg. No. | |
| txjcd | kna1 | txjcd | Tax Jurisdict. | |
| ktokd | kna1 | ktokd | DefCusAcctGr | |
| DataControllerSet | kna1 | xdcset | Data Ctrlr. Set | |
| DataController1 | kna1 | data_ctrlr1 | Data Controller | |
| DataController2 | kna1 | data_ctrlr2 | Data Controller | |
| DataController3 | kna1 | data_ctrlr3 | Data Controller | |
| DataController4 | kna1 | data_ctrlr4 | Data Controller | |
| DataController5 | kna1 | data_ctrlr5 | Data Controller | |
| DataController6 | kna1 | data_ctrlr6 | Data Controller | |
| DataController7 | kna1 | data_ctrlr7 | Data Controller | |
| DataController8 | kna1 | data_ctrlr8 | Data Controller | |
| DataController9 | kna1 | data_ctrlr9 | Data Controller | |
| DataController10 | kna1 | data_ctrlr10 | Data Controller |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view P_AUDIT_AT_KNA1.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: PAUDITATKNA1
CREATE VIEW P_AUDIT_AT_KNA1 AS
SELECT
knb1.bukrs AS bukrs,
kna1.kunnr AS kunnr,
kna1.kunnr AS Customer,
kna1.land1 AS land1,
kna1.name1 AS name1,
kna1.name2 AS name2,
kna1.ort01 AS ort01,
kna1.pstlz AS pstlz,
kna1.sortl AS sortl,
kna1.stras AS stras,
kna1.adrnr AS adrnr,
kna1.mcod1 AS mcod1,
kna1.mcod2 AS mcod2,
kna1.mcod3 AS mcod3,
kna1.konzs AS konzs,
kna1.lifnr AS lifnr,
kna1.stkzu AS stkzu,
kna1.stceg AS stceg,
kna1.txjcd AS txjcd,
kna1.ktokd AS ktokd,
kna1.xdcset AS DataControllerSet,
kna1.data_ctrlr1 AS DataController1,
kna1.data_ctrlr2 AS DataController2,
kna1.data_ctrlr3 AS DataController3,
kna1.data_ctrlr4 AS DataController4,
kna1.data_ctrlr5 AS DataController5,
kna1.data_ctrlr6 AS DataController6,
kna1.data_ctrlr7 AS DataController7,
kna1.data_ctrlr8 AS DataController8,
kna1.data_ctrlr9 AS DataController9,
kna1.data_ctrlr10 AS DataController10
FROM kna1
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- 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
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA