C_BSQPMSubscriptionOrder
Subscription Order Attribute
C_BSQPMSubscriptionOrder is a Consumption CDS View that provides data about "Subscription Order Attribute" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentEnhcd) and exposes 6 fields with key field ServiceDocument. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ServiceDocumentEnhcd | ServiceDocument | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | E_ServiceDocument | _Extension | _Extension.ServiceCategory = 'BUS2000265' and _Extension.ServiceOrder = ServiceDocument.ServiceDocument |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| EndUserText.label | Subscription Order Attribute | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceDocument | I_ServiceDocumentEnhcd | ServiceDocument | |
| NetAmount | I_ServiceDocumentEnhcd | ServiceDocNetAmount | ||
| TransactionCurrency | TransactionCurrency | |||
| ServiceDocumentStatus | I_ServiceDocumentEnhcd | ServiceDocumentStatus | ||
| ServiceDocumentStatusName | ||||
| PostingDate | I_ServiceDocumentEnhcd | PostingDate |
@AbapCatalog.viewEnhancementCategory: [#PROJECTION_LIST]
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@EndUserText.label: 'Subscription Order Attribute'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
dataClass: #MIXED,
serviceQuality: #C,
sizeCategory: #XXL
}
@VDM.viewType: #CONSUMPTION
define view entity C_BSQPMSubscriptionOrder
as select from I_ServiceDocumentEnhcd as ServiceDocument
association [0..1] to E_ServiceDocument as _Extension on _Extension.ServiceCategory = 'BUS2000265'
and _Extension.ServiceOrder = ServiceDocument.ServiceDocument
{
@UI.hidden: true
key ServiceDocument.ServiceDocument as ServiceDocument,
@Semantics: { amount : {currencyCode: 'TransactionCurrency'} }
ServiceDocument.ServiceDocNetAmount as NetAmount,
@UI.hidden: true
TransactionCurrency,
@ObjectModel.text.element: [ 'ServiceDocumentStatusName' ]
ServiceDocument.ServiceDocumentStatus,
@UI.hidden: true
@Semantics.text: true
_SrvcDocLifecycleStatus._ServiceDocumentStatusText[1: Language=$session.system_language].ServiceDocumentStatusName,
ServiceDocument.PostingDate as PostingDate
}
where
ServiceObjectType = 'BUS2000265'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SERVICEDOCUMENTENHCD",
"I_SRVCDOCLIFECYCLESTATUS",
"I_SRVCDOCLIFECYCLESTATUSTEXT"
],
"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