P_CustomerSupplierSH
Search Help View for Customers and Suppliers for Country
P_CustomerSupplierSH is a Composite CDS View that provides data about "Search Help View for Customers and Suppliers for Country" in SAP S/4HANA. It reads from 2 data sources (I_Customer, I_Supplier) and exposes 6 fields with key fields CustomerSupplier, FinancialAccountType, FinancialAccountType. Part of development package GLO_FIN_IS_RO_ACCOUNTCARD.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_Customer | I_Customer | from |
| I_Supplier | I_Supplier | union_all |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CustomerSupplier | |||
| KEY | FinancialAccountType | |||
| CustomerSupplierName | ||||
| KEY | FinancialAccountType | |||
| CustomerSupplierName | ||||
| Country | Country |
@VDM.private:true
@VDM.viewType: #COMPOSITE
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel: {
usageType.sizeCategory: #L,
usageType.serviceQuality: #D,
usageType.dataClass: #MIXED
}
@AccessControl.personalData.blocking: #NOT_REQUIRED
@Metadata.ignorePropagatedAnnotations: true
define view entity P_CustomerSupplierSH
as select from I_Customer
{
key cast( Customer as bu_partner ) as CustomerSupplier,
key cast( 'D' as koart ) as FinancialAccountType,
cast( CustomerName as business_partner_name ) as CustomerSupplierName,
Country as Country
}
union all
select from I_Supplier
{
key cast( Supplier as bu_partner ) as CustomerSupplier,
key cast( 'K' as koart ) as FinancialAccountType,
cast( SupplierName as business_partner_name ) as CustomerSupplierName,
Country as Country
}
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