P_CN_CADESupplier
CADE Supplier
P_CN_CADESupplier is a Consumption CDS View that provides data about "CADE Supplier" in SAP S/4HANA. It reads from 2 data sources (I_Supplier, I_SupplierCompany) and exposes 8 fields with key fields CompanyCode, Supplier. Part of development package GLO_FIN_CADE_CN.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_Supplier | Supplier | inner |
| I_SupplierCompany | SupplierCompany | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.sqlViewName | PCNCADESUPPLIER | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | I_SupplierCompany | CompanyCode | |
| KEY | Supplier | |||
| BusinessPartner | ||||
| PersonNumber | ||||
| AuthorizationGroup | I_Supplier | AuthorizationGroup | ||
| AddressID | I_Supplier | AddressID | ||
| SupplierName | I_Supplier | SortField | ||
| SupplierFullName |
@AbapCatalog.preserveKey: true
@AbapCatalog.sqlViewName: 'PCNCADESUPPLIER'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #CONSUMPTION
@VDM.private: true
define view P_CN_CADESupplier
as select from I_SupplierCompany as SupplierCompany
inner join I_Supplier as Supplier on Supplier.Supplier = SupplierCompany.Supplier
{
key SupplierCompany.CompanyCode as CompanyCode,
key ltrim(SupplierCompany.Supplier,'0') as Supplier,
Supplier._SupplierToBusinessPartner._BusinessPartner.BusinessPartner as BusinessPartner,
Supplier._SupplierToBusinessPartner._BusinessPartner.PersonNumber as PersonNumber,
Supplier.AuthorizationGroup,
Supplier.AddressID,
Supplier.SortField as SupplierName,
concat(rtrim(Supplier.BusinessPartnerName1,' '),ltrim(Supplier.BusinessPartnerName2,' ')) as SupplierFullName
}
//where
// (
// SupplierCompany.IsBusinessPurposeCompleted is null
// or SupplierCompany.IsBusinessPurposeCompleted = ''
// )
// or(
// Supplier.IsBusinessPurposeCompleted is null
// or Supplier.IsBusinessPurposeCompleted = ''
// )
//
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