I_CustomCDSViewSourceOrigin
Custom CDS View Source Origin
I_CustomCDSViewSourceOrigin is a Basic CDS View that provides data about "Custom CDS View Source Origin" in SAP S/4HANA. It reads from 2 data sources (dd07l, dd07t) and exposes 2 fields with key field SourceOrigin. Part of development package SAPS_CCV_DB.
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Custom CDS View Source Origin | view | |
| ObjectModel.resultSet.sizeCategory | #XS | view | |
| ObjectModel.representativeKey | SourceOrigin | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| Search.searchable | true | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SourceOrigin | |||
| SourceOriginText | dd07t | ddtext |
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Custom CDS View Source Origin'
@ObjectModel : { resultSet.sizeCategory: #XS }
@ObjectModel.representativeKey: 'SourceOrigin'
@Metadata.ignorePropagatedAnnotations:true
@VDM.viewType: #BASIC
@ObjectModel.dataCategory: #VALUE_HELP
@Search.searchable: true
define view entity I_CustomCDSViewSourceOrigin
as select from dd07l
left outer join dd07t as text on text.domname = dd07l.domname
and text.as4local = dd07l.as4local
and text.as4vers = dd07l.as4vers
and text.valpos = dd07l.valpos
and text.ddlanguage = $session.system_language
{
@ObjectModel.text.element: ['SourceOriginText']
key cast(cast(rtrim(substring(dd07l.domvalue_l, 1, 3), ' ') as abap.numc(3)) as abap.int1) as SourceOrigin,
@Semantics.text:true
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
text.ddtext as SourceOriginText
}
where
dd07l.domname = 'DDDDLSRCORIGIN'
and dd07l.as4local = 'A'
and(
dd07l.domvalue_l = '0'
or dd07l.domvalue_l = '1'
or dd07l.domvalue_l = '3'
or dd07l.domvalue_l = '4'
or dd07l.domvalue_l = '5'
);
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