A_CreditMemoRequestSimulation
Credit Memo Request Simulation
A_CreditMemoRequestSimulation is a Composite CDS View that provides data about "Credit Memo Request Simulation" in SAP S/4HANA. It reads from 1 data source (I_CreditMemoRequest) and exposes 42 fields with key field CreditMemoRequest. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CreditMemoRequest | CreditMemoRequest | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | A_CreditMemoReqItemSimulation | _Item | |
| [0..*] | A_CreditMemoReqPartnerSimln | _Partner | |
| [0..*] | A_CreditMemoReqPrcgElmntSimln | _PricingElement | |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Credit Memo Request Simulation | view |
Fields (42)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CreditMemoRequest | CreditMemoRequest | ||
| CreditMemoRequestType | CreditMemoRequestType | |||
| SalesOrganization | SalesOrganization | |||
| DistributionChannel | DistributionChannel | |||
| OrganizationDivision | OrganizationDivision | |||
| SalesGroup | SalesGroup | |||
| SalesOffice | SalesOffice | |||
| SalesDistrict | SalesDistrict | |||
| SoldToParty | SoldToParty | |||
| PurchaseOrderByCustomer | PurchaseOrderByCustomer | |||
| CustomerPurchaseOrderType | CustomerPurchaseOrderType | |||
| CustomerPurchaseOrderDate | CustomerPurchaseOrderDate | |||
| CreditMemoRequestDate | CreditMemoRequestDate | |||
| TotalNetAmount | TotalNetAmount | |||
| TransactionCurrency | TransactionCurrency | |||
| SDPricingProcedure | SDPricingProcedure | |||
| SDDocumentReason | SDDocumentReason | |||
| PricingDate | PricingDate | |||
| CustomerTaxClassification1 | CustomerTaxClassification1 | |||
| CustomerTaxClassification2 | CustomerTaxClassification2 | |||
| CustomerTaxClassification3 | CustomerTaxClassification3 | |||
| CustomerTaxClassification4 | CustomerTaxClassification4 | |||
| CustomerTaxClassification5 | CustomerTaxClassification5 | |||
| CustomerTaxClassification6 | CustomerTaxClassification6 | |||
| CustomerTaxClassification7 | CustomerTaxClassification7 | |||
| CustomerTaxClassification8 | CustomerTaxClassification8 | |||
| CustomerTaxClassification9 | CustomerTaxClassification9 | |||
| CustomerAccountAssignmentGroup | CustomerAccountAssignmentGroup | |||
| HeaderBillingBlockReason | HeaderBillingBlockReason | |||
| IncotermsClassification | IncotermsClassification | |||
| IncotermsTransferLocation | IncotermsTransferLocation | |||
| IncotermsLocation1 | IncotermsLocation1 | |||
| IncotermsLocation2 | IncotermsLocation2 | |||
| IncotermsVersion | IncotermsVersion | |||
| CustomerPaymentTerms | CustomerPaymentTerms | |||
| PaymentMethod | PaymentMethod | |||
| BillingDocumentDate | BillingDocumentDate | |||
| ServicesRenderedDate | ServicesRenderedDate | |||
| ReferenceSDDocument | ReferenceSDDocument | |||
| _Item | _Item | |||
| _Partner | _Partner | |||
| _PricingElement | _PricingElement |
@VDM: {
viewType: #COMPOSITE,
lifecycle.contract.type: #PUBLIC_REMOTE_API
}
@AccessControl: {
authorizationCheck: #MANDATORY,
personalData.blocking: #('TRANSACTIONAL_DATA')
}
@ObjectModel: {
createEnabled: true,
usageType: {
dataClass: #TRANSACTIONAL,
serviceQuality: #C,
sizeCategory: #L
}
}
@Metadata.ignorePropagatedAnnotations: true
@EndUserText.label: 'Credit Memo Request Simulation'
define root view entity A_CreditMemoRequestSimulation
as select from I_CreditMemoRequest as CreditMemoRequest
composition [0..*] of A_CreditMemoReqItemSimulation as _Item
composition [0..*] of A_CreditMemoReqPartnerSimln as _Partner
composition [0..*] of A_CreditMemoReqPrcgElmntSimln as _PricingElement
association[0..1] to E_SalesDocumentBasic as _Extension on $projection.CreditMemoRequest = _Extension.SalesDocument
{
@ObjectModel.readOnly: true
key CreditMemoRequest,
CreditMemoRequestType,
SalesOrganization,
DistributionChannel,
OrganizationDivision,
SalesGroup,
SalesOffice,
SalesDistrict,
SoldToParty,
PurchaseOrderByCustomer,
@ObjectModel.sapObjectNodeTypeReference: 'PurchaseOrderTypeByCustomer'
CustomerPurchaseOrderType,
CustomerPurchaseOrderDate,
CreditMemoRequestDate,
@ObjectModel.readOnly: true
@Semantics.amount.currencyCode: 'TransactionCurrency'
TotalNetAmount,
@ObjectModel.sapObjectNodeTypeReference: 'Currency'
TransactionCurrency,
@ObjectModel.readOnly: true
SDPricingProcedure,
@ObjectModel.sapObjectNodeTypeReference: 'SalesDocumentReason'
SDDocumentReason,
PricingDate,
CustomerTaxClassification1,
CustomerTaxClassification2,
CustomerTaxClassification3,
CustomerTaxClassification4,
CustomerTaxClassification5,
CustomerTaxClassification6,
CustomerTaxClassification7,
CustomerTaxClassification8,
CustomerTaxClassification9,
@ObjectModel.sapObjectNodeTypeReference: 'CustomerAccountAssignmentGroup'
CustomerAccountAssignmentGroup,
@ObjectModel.sapObjectNodeTypeReference: 'BillingBlockReason'
HeaderBillingBlockReason,
@ObjectModel.sapObjectNodeTypeReference: 'IncotermsClassification'
IncotermsClassification,
IncotermsTransferLocation,
IncotermsLocation1,
IncotermsLocation2,
@ObjectModel.sapObjectNodeTypeReference: 'IncotermsVersion'
IncotermsVersion,
CustomerPaymentTerms,
PaymentMethod,
BillingDocumentDate,
ServicesRenderedDate,
ReferenceSDDocument,
// Make association public
_Item,
_Partner,
_PricingElement
}
where
CreditMemoRequest.CreditMemoRequest = '0'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CREDITMEMOREQUEST"
],
"ASSOCIATED":
[
"A_CREDITMEMOREQITEMSIMULATION",
"A_CREDITMEMOREQPARTNERSIMLN",
"A_CREDITMEMOREQPRCGELMNTSIMLN"
],
"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