C_CustRetSubsqntCrdtMemo
Returns Order Subsequent Credit Memo
C_CustRetSubsqntCrdtMemo is a Consumption CDS View that provides data about "Returns Order Subsequent Credit Memo" in SAP S/4HANA. It reads from 1 data source (I_BillingDocumentItem) and exposes 11 fields with key fields CreditMemo, CreditMemoItem.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_BillingDocumentItem | CreditMemo | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Returns Order Subsequent Credit Memo | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CreditMemo | BillingDocument | ||
| KEY | CreditMemoItem | BillingDocumentItem | ||
| NetAmount | NetAmount | |||
| BillingQuantity | BillingQuantity | |||
| BillingQuantityUnit | BillingQuantityUnit | |||
| BillingQuantityInBaseUnit | BillingQuantityInBaseUnit | |||
| BaseUnit | BaseUnit | |||
| TransactionCurrency | TransactionCurrency | |||
| ReferenceSDDocument | ReferenceSDDocument | |||
| ReferenceSDDocumentItem | ReferenceSDDocumentItem | |||
| _BillingDocument | _BillingDocument |
@VDM.viewType: #CONSUMPTION
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Returns Order Subsequent Credit Memo'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #C,
sizeCategory: #L,
dataClass: #TRANSACTIONAL
}
define view entity C_CustRetSubsqntCrdtMemo
as select from I_BillingDocumentItem as CreditMemo
{
key BillingDocument as CreditMemo,
key BillingDocumentItem as CreditMemoItem,
@Semantics.amount.currencyCode: 'TransactionCurrency'
NetAmount,
@Semantics.quantity.unitOfMeasure: 'BillingQuantityUnit'
BillingQuantity,
//@Semantics.unitOfMeasure: true
BillingQuantityUnit,
@Semantics.quantity.unitOfMeasure: 'BaseUnit'
BillingQuantityInBaseUnit,
//@Semantics.unitOfMeasure: true
BaseUnit,
TransactionCurrency,
@UI.hidden: true
ReferenceSDDocument,
@UI.hidden: true
ReferenceSDDocumentItem,
_BillingDocument
}
where
_BillingDocument.SDDocumentCategory = 'O'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BILLINGDOCUMENT",
"I_BILLINGDOCUMENTITEM"
],
"ASSOCIATED":
[
"I_BILLINGDOCUMENT"
],
"BASE":
[
"I_BILLINGDOCUMENTITEM"
],
"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