P_KZ_DATE_HELPER
P_KZ_DATE_HELPER is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_SAPClient) and exposes 1 field.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SAPClient | CompanyCode | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| ConverDate | dats |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PKZDATEHELPER | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.private | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view |
Fields (1)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| ConverDate14asResultDate |
@AbapCatalog.sqlViewName: 'PKZDATEHELPER'
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #COMPOSITE
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.usageType.dataClass: #MIXED
@VDM.private: true
@AbapCatalog.preserveKey: true
@AbapCatalog.compiler.compareFilter:true
define view P_KZ_DATE_HELPER
with parameters
ConverDate :dats
as select from I_SAPClient as CompanyCode
{
concat(substring($parameters.ConverDate, 7, 2),
concat('.',concat(substring($parameters.ConverDate, 5, 2),
concat('.',substring($parameters.ConverDate, 1, 4))))) as ResultDate
}
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