I_SubscrpnContrItmExtRef
Subscription Contract External Reference
I_SubscrpnContrItmExtRef is a Basic CDS View that provides data about "Subscription Contract External Reference" in SAP S/4HANA. It reads from 1 data source (crms4d_ext_ref) and exposes 3 fields with key fields SubscriptionContract, SubscriptionContractItem.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| crms4d_ext_ref | crms4d_ext_ref | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Subscription Contract External Reference | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SubscriptionContract | object_id | ||
| KEY | SubscriptionContractItem | number_int | ||
| SubscrpnContrItmRefType | reference_type |
@EndUserText.label: 'Subscription Contract External Reference'
@VDM: {
viewType: #BASIC,
lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@AccessControl: {
authorizationCheck: #NOT_REQUIRED,
personalData.blocking: #('TRANSACTIONAL_DATA')
}
@ObjectModel: {
usageType: {
dataClass: #TRANSACTIONAL,
serviceQuality: #B,
sizeCategory: #XL
}
}
@Metadata.ignorePropagatedAnnotations: true
/*+[hideWarning] { "IDS" : [ "KEY_CHECK" ] } */
define view entity I_SubscrpnContrItmExtRef
as select from crms4d_ext_ref
{
key object_id as SubscriptionContract,
key number_int as SubscriptionContractItem,
reference_type as SubscrpnContrItmRefType,
case
when reference_type = '0018' then reference_number
else ''
end as SbscrContrPrdcssrExtID,
case
when reference_type = '0019' then reference_number
else ''
end as SbscrContrSuccssrExtID,
case
when reference_type = '0022' then reference_number
else ''
end as LegalContractItemExtReference,
case
when reference_type = '0021' then reference_number
else ''
end as LegalContractExtReference
}
where
objtype_h = 'BUS2000266'
and reference_type = '0018'
or reference_type = '0019'
or reference_type = '0022'
or reference_type = '0021'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"CRMS4D_EXT_REF"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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