P_StoreStkAdjmtSchemaForStore
Stock adjustment Default schema
P_StoreStkAdjmtSchemaForStore is a Basic CDS View that provides data about "Stock adjustment Default schema" in SAP S/4HANA. It reads from 1 data source (I_RetailStoreUserAssignment) and exposes 2 fields with key field Store. It has 2 associations to related views. Part of development package RFM_STORE_STOCK_ADJUSTMENT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_RetailStoreUserAssignment | RetailStoreUserAssignment | from |
Associations (2)
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PSTRSTKADJSCHEMA | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Store | I_RetailStoreUserAssignment | Store | |
| RetailStoreSchemaID |
@AbapCatalog.sqlViewName : 'PSTRSTKADJSCHEMA'
@AbapCatalog.compiler.compareFilter : true
@AbapCatalog.preserveKey : true
@AccessControl.authorizationCheck : #NOT_REQUIRED
@AccessControl.personalData.blocking : #NOT_REQUIRED
@ObjectModel.usageType: { serviceQuality : #A, dataClass: #CUSTOMIZING, sizeCategory: #M }
@VDM.viewType : #BASIC
@VDM.private : true
@ClientHandling.algorithm : #SESSION_VARIABLE
define view P_StoreStkAdjmtSchemaForStore
as select from I_RetailStoreUserAssignment as RetailStoreUserAssignment
association [0..1] to twicscmf as _StoreSchema on RetailStoreUserAssignment.Store = _StoreSchema.werks
and _StoreSchema.cstobj = '0250'
association [0..1] to twicscm as _DefaultSchema on _DefaultSchema.cstobj = '0250'
and _DefaultSchema.flag_strd = 'X'
{
key RetailStoreUserAssignment.Store,
coalesce(_StoreSchema.cstscm, _DefaultSchema.cstscm ) as RetailStoreSchemaID
}
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