A_CreditMemoRequestSimulation

DDL: A_CREDITMEMOREQUESTSIMULATION Type: view_entity COMPOSITE

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)

SourceAliasJoin Type
I_CreditMemoRequest CreditMemoRequest from

Associations (3)

CardinalityTargetAliasCondition
[0..*] A_CreditMemoReqItemSimulation _Item
[0..*] A_CreditMemoReqPartnerSimln _Partner
[0..*] A_CreditMemoReqPrcgElmntSimln _PricingElement

Annotations (9)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
KEY CreditMemoRequest CreditMemoRequest
CreditMemoRequestType CreditMemoRequestType Sales Doc. Type
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
OrganizationDivision OrganizationDivision Org. Division
SalesGroup SalesGroup Sales Group
SalesOffice SalesOffice Sales Office
SalesDistrict SalesDistrict Sales District
SoldToParty SoldToParty Sold-to Party
PurchaseOrderByCustomer PurchaseOrderByCustomer Purchase Order Number
CustomerPurchaseOrderType CustomerPurchaseOrderType
CustomerPurchaseOrderDate CustomerPurchaseOrderDate Purchase Order Date
CreditMemoRequestDate CreditMemoRequestDate Document Date
TotalNetAmount TotalNetAmount Total Net Amount
TransactionCurrency TransactionCurrency Transaction Currency
SDPricingProcedure SDPricingProcedure Pric. Procedure
SDDocumentReason SDDocumentReason Order Reason
PricingDate PricingDate Pricing Date
CustomerTaxClassification1 CustomerTaxClassification1
CustomerTaxClassification2 CustomerTaxClassification2
CustomerTaxClassification3 CustomerTaxClassification3
CustomerTaxClassification4 CustomerTaxClassification4
CustomerTaxClassification5 CustomerTaxClassification5
CustomerTaxClassification6 CustomerTaxClassification6
CustomerTaxClassification7 CustomerTaxClassification7
CustomerTaxClassification8 CustomerTaxClassification8
CustomerTaxClassification9 CustomerTaxClassification9
CustomerAccountAssignmentGroup CustomerAccountAssignmentGroup AccAssmtGrpCust
HeaderBillingBlockReason HeaderBillingBlockReason Billing Block
IncotermsClassification IncotermsClassification Incoterms
IncotermsTransferLocation IncotermsTransferLocation Incoterms 2
IncotermsLocation1 IncotermsLocation1 Inco. Location1
IncotermsLocation2 IncotermsLocation2 Inco. Location2
IncotermsVersion IncotermsVersion Inco. Version
CustomerPaymentTerms CustomerPaymentTerms Pyt Terms
PaymentMethod PaymentMethod Pymt Meth.
BillingDocumentDate BillingDocumentDate Billing Date
ServicesRenderedDate ServicesRenderedDate Services Rendered Date
ReferenceSDDocument ReferenceSDDocument Reference Doc.
_Item _Item
_Partner _Partner
_PricingElement _PricingElement

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view A_CreditMemoRequestSimulation.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW A_CreditMemoRequestSimulation AS
SELECT
  CreditMemoRequest,
  CreditMemoRequestType,
  SalesOrganization,
  DistributionChannel,
  OrganizationDivision,
  SalesGroup,
  SalesOffice,
  SalesDistrict,
  SoldToParty,
  PurchaseOrderByCustomer,
  CustomerPurchaseOrderType,
  CustomerPurchaseOrderDate,
  CreditMemoRequestDate,
  TotalNetAmount,
  TransactionCurrency,
  SDPricingProcedure,
  SDDocumentReason,
  PricingDate,
  CustomerTaxClassification1,
  CustomerTaxClassification2,
  CustomerTaxClassification3,
  CustomerTaxClassification4,
  CustomerTaxClassification5,
  CustomerTaxClassification6,
  CustomerTaxClassification7,
  CustomerTaxClassification8,
  CustomerTaxClassification9,
  CustomerAccountAssignmentGroup,
  HeaderBillingBlockReason,
  IncotermsClassification,
  IncotermsTransferLocation,
  IncotermsLocation1,
  IncotermsLocation2,
  IncotermsVersion,
  CustomerPaymentTerms,
  PaymentMethod,
  BillingDocumentDate,
  ServicesRenderedDate,
  ReferenceSDDocument
FROM I_CreditMemoRequest AS CreditMemoRequest
LEFT OUTER JOIN A_CreditMemoReqItemSimulation AS _Item ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN A_CreditMemoReqPartnerSimln AS _Partner ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN A_CreditMemoReqPrcgElmntSimln AS _PricingElement ON /* condition not available in parsed metadata */  -- association [0..*]
;