P_APLineItem_5
P_APLineItem_5 is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (I_Supplier) and exposes 2 fields with key field Debtor.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_Supplier | I_Supplier | from |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PAPLINEITEM5 | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Debtor | Customer | ||
| Supplier |
@AbapCatalog.sqlViewName: 'PAPLINEITEM5'
@VDM.viewType: #BASIC
@VDM.private:true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
// aggregation avoids redundant credit items when joining via supplier number to get a corresponding customer
define view P_APLineItem_5
as select from I_Supplier
{
key Customer as Debtor,
min(Supplier) as Supplier
}
where
Customer != ''
group by
Customer
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SUPPLIER"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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