P_CoCodeCrcyByStore_F4674
Stores enriched by their company code currency
P_CoCodeCrcyByStore_F4674 is a Consumption CDS View that provides data about "Stores enriched by their company code currency" in SAP S/4HANA. It reads from 4 data sources (I_CompanyCode, I_RetailStoreUserAssignment, I_Site, I_ValuationArea) and exposes 2 fields with key field Store. Part of development package RFM_STORE_MY_STORE_OVERVIEW.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| I_CompanyCode | CompanyCode | inner |
| I_RetailStoreUserAssignment | I_RetailStoreUserAssignment | from |
| I_Site | Store | inner |
| I_ValuationArea | ValuationArea | inner |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PCCCRCYBYSTF4674 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Store | I_RetailStoreUserAssignment | Store | |
| CompanyCodeCurrency | I_CompanyCode | Currency |
@AbapCatalog.sqlViewName: 'PCCCRCYBYSTF4674'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #CONSUMPTION
@VDM.private: true
define view P_CoCodeCrcyByStore_F4674
as select from I_RetailStoreUserAssignment
inner join I_Site as Store on Store.Site = I_RetailStoreUserAssignment.Store
and Store.SiteCategory = 'A'
inner join I_ValuationArea as ValuationArea on ValuationArea.ValuationArea = Store.ValuationArea
inner join I_CompanyCode as CompanyCode on CompanyCode.CompanyCode = ValuationArea.CompanyCode
{
key I_RetailStoreUserAssignment.Store,
CompanyCode.Currency as CompanyCodeCurrency
}
where
AssignedUser = $session.user
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