P_AUDIT_AT_LFA1
P_AUDIT_AT_LFA1 is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (lfa1) and exposes 31 fields with key fields bukrs, lifnr.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| lfa1 | lfa1 | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PAUDITATLFA1 | 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 | lfb1 | bukrs | Value |
| KEY | lifnr | lfa1 | lifnr | Vendor no. |
| Supplier | lfa1 | lifnr | Vendor no. | |
| land1 | lfa1 | land1 | Trip Ctry/Reg | |
| name1 | lfa1 | name1 | PA text | |
| name2 | lfa1 | name2 | Name2/First nme | |
| ort01 | lfa1 | ort01 | Province | |
| pstlz | lfa1 | pstlz | Postal Code | |
| sortl | lfa1 | sortl | Sort Term | |
| stras | lfa1 | stras | Street/House | |
| adrnr | lfa1 | adrnr | Sold-To Address | |
| mcod1 | lfa1 | mcod1 | Search Term | |
| mcod2 | lfa1 | mcod2 | Name 2 | |
| mcod3 | lfa1 | mcod3 | City | |
| konzs | lfa1 | konzs | Group | |
| kunnr | lfa1 | kunnr | Stock customer | |
| stkzu | lfa1 | stkzu | Liable for VAT | |
| stceg | lfa1 | stceg | VAT Reg. No. | |
| txjcd | lfa1 | txjcd | Tax Jurisdict. | |
| ktokk | lfa1 | ktokk | Vendor Group | |
| DataControllerSet | lfa1 | xdcset | Data Ctrlr. Set | |
| DataController1 | lfa1 | data_ctrlr1 | Data Controller | |
| DataController2 | lfa1 | data_ctrlr2 | Data Controller | |
| DataController3 | lfa1 | data_ctrlr3 | Data Controller | |
| DataController4 | lfa1 | data_ctrlr4 | Data Controller | |
| DataController5 | lfa1 | data_ctrlr5 | Data Controller | |
| DataController6 | lfa1 | data_ctrlr6 | Data Controller | |
| DataController7 | lfa1 | data_ctrlr7 | Data Controller | |
| DataController8 | lfa1 | data_ctrlr8 | Data Controller | |
| DataController9 | lfa1 | data_ctrlr9 | Data Controller | |
| DataController10 | lfa1 | 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_LFA1.
-- 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: PAUDITATLFA1
CREATE VIEW P_AUDIT_AT_LFA1 AS
SELECT
lfb1.bukrs AS bukrs,
lfa1.lifnr AS lifnr,
lfa1.lifnr AS Supplier,
lfa1.land1 AS land1,
lfa1.name1 AS name1,
lfa1.name2 AS name2,
lfa1.ort01 AS ort01,
lfa1.pstlz AS pstlz,
lfa1.sortl AS sortl,
lfa1.stras AS stras,
lfa1.adrnr AS adrnr,
lfa1.mcod1 AS mcod1,
lfa1.mcod2 AS mcod2,
lfa1.mcod3 AS mcod3,
lfa1.konzs AS konzs,
lfa1.kunnr AS kunnr,
lfa1.stkzu AS stkzu,
lfa1.stceg AS stceg,
lfa1.txjcd AS txjcd,
lfa1.ktokk AS ktokk,
lfa1.xdcset AS DataControllerSet,
lfa1.data_ctrlr1 AS DataController1,
lfa1.data_ctrlr2 AS DataController2,
lfa1.data_ctrlr3 AS DataController3,
lfa1.data_ctrlr4 AS DataController4,
lfa1.data_ctrlr5 AS DataController5,
lfa1.data_ctrlr6 AS DataController6,
lfa1.data_ctrlr7 AS DataController7,
lfa1.data_ctrlr8 AS DataController8,
lfa1.data_ctrlr9 AS DataController9,
lfa1.data_ctrlr10 AS DataController10
FROM lfa1
;
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