I_CreditMemoRequestItem

DDL: I_CREDITMEMOREQUESTITEM SQL: ISDCRDMEMOREQITM Type: view BASIC

Credit Memo Request Item

I_CreditMemoRequestItem (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

CreditMemoRequestItem · Sales

I_CreditMemoRequestItem is a Basic CDS View (Dimension) that provides data about "Credit Memo Request Item" in SAP S/4HANA. It reads from 1 data source (I_SalesDocumentItem) and exposes 209 fields with key fields CreditMemoRequest, CreditMemoRequestItem. It has 9 associations to related views.

SAP Help Documentation

CategoryCredit Memo Requests
Data CategoryDimension
StatusReleased
Purpose
This CDS view provides the prerequisites for answering questions about credit memo requests at item level. Example business questions could include the following: What is the net price of a given item of a credit memo request? Which material did the customer order in a given item of a credit memo request? What is the requested quantity of a material in a given item of a credit memo request?

Prerequisites
You have authorizations to access the relevant credit memo requests. You have authorizations to access the relevant sales organizations.

Structure
Object Types This view relates to the following SAP object type: Credit memo request The key fields are CreditMemoRequest and CreditMemoRequestItem . Measures and attributes Some important measures and attributes are: Material ( Material ) Requested quantity ( RequestedQuantity ) Net value of the credit memo request item in document currency ( NetAmount )

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessSales
Application ComponentSD-SLS-CMR
CapabilitiesAssociation Target for Defining CDS Entities, Data Source for Defining CDS Entities, Analytical Dimension, Data Source in SQL Select, Data Source for Data Extraction
PackageSales for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides the prerequisites for answering questions about credit memo requests at item level.</p> <p>Example business questions could include the following:</p> <ul> <li><p>What is the net price of a given item of a credit memo request?</p></li> <li><p>Which material did the customer order in a given item of a credit memo request?</p></li> <li><p>What is the requested quantity of a material in a given item of a credit memo request?</p></li> </ul>

Documentation

Data Sources (1)

SourceAliasJoin Type
I_SalesDocumentItem SalesDocumentItem from

Associations (9)

CardinalityTargetAliasCondition
[0..*] I_BusinessAreaText _BusinessAreaText $projection.BusinessArea = _BusinessAreaText.BusinessArea
[0..*] I_MaterialText _MaterialText $projection.Material = _MaterialText.Material
[0..*] I_ProductText _ProductText $projection.Product = _ProductText.Product
[0..*] I_MaterialText _OrigMaterialText $projection.OriginallyRequestedMaterial = _OrigMaterialText.Material
[1..1] I_CreditMemoRequest _CreditMemoRequest $projection.CreditMemoRequest = _CreditMemoRequest.CreditMemoRequest
[0..1] I_CreditMemoRequestType _CreditMemoRequestType $projection.CreditMemoRequestType = _CreditMemoRequestType.CreditMemoRequestType
[0..*] I_CreditMemoReqItemPartner _Partner $projection.CreditMemoRequest = _Partner.CreditMemoRequest and $projection.CreditMemoRequestItem = _Partner.CreditMemoRequestItem
[0..*] I_CreditMemoReqItemPrcgElmnt _PricingElement $projection.CreditMemoRequest = _PricingElement.CreditMemoRequest and $projection.CreditMemoRequestItem = _PricingElement.CreditMemoRequestItem
[0..1] E_SalesDocumentItemBasic _Extension SalesDocumentItem.SalesDocument = _Extension.SalesDocument and SalesDocumentItem.SalesDocumentItem = _Extension.SalesDocumentItem

Annotations (14)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey CreditMemoRequestItem view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
EndUserText.label Credit Memo Request Item view
Metadata.allowExtensions true view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #MANDATORY view
AbapCatalog.sqlViewName ISDCRDMEMOREQITM view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.sapObjectNodeType.name CreditMemoRequestItem view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view

Fields (209)

KeyFieldSource TableSource FieldDescription
KEY CreditMemoRequest Credit Memo Request
KEY CreditMemoRequestItem Credit Memo Request Item
CreditMemoRequestItemCategory SalesDocumentItemCategory Sales Document Item Category
CreditMemoRequestItemType SalesDocumentItemType Item Type
IsReturnsItem IsReturnsItem Returns Item
CreatedByUser CreatedByUser Name of Person Responsible for Creating the Object
CreationDate CreationDate Record Created On
CreationTime CreationTime Time at Which Record Was Created
LastChangeDate LastChangeDate Last Changed On
Division Division Internal Division ID
Material Material Material Number
Product Product Product Number
OriginallyRequestedMaterial OriginallyRequestedMaterial Material Entered
MaterialByCustomer MaterialByCustomer Material Number Used by Customer
Batch Batch Batch Number
ProductHierarchyNode ProductHierarchyNode Product Hierarchy
ProductCatalog ProductCatalog Product Catalog Number
MaterialGroup MaterialGroup Material Group
ProductGroup ProductGroup Product Sold Group
MaterialPricingGroup MaterialPricingGroup Product Price Group
ProductTaxClassification1 ProductTaxClassification1 Tax Classification for Material
ProductTaxClassification2 ProductTaxClassification2 Tax Classification for Material
ProductTaxClassification3 ProductTaxClassification3 Tax Classification for Material
ProductTaxClassification4 ProductTaxClassification4 Tax Classification for Material
ProductTaxClassification5 ProductTaxClassification5 Tax Classification for Material
ProductTaxClassification6 ProductTaxClassification6 Tax Classification for Material
ProductTaxClassification7 ProductTaxClassification7 Tax Classification for Material
ProductTaxClassification8 ProductTaxClassification8 Tax Classification for Material
ProductTaxClassification9 ProductTaxClassification9 Tax Classification for Material
MatlAccountAssignmentGroup MatlAccountAssignmentGroup Account Assignment Group for Material
AdditionalMaterialGroup1 AdditionalMaterialGroup1 Material Group 1
AdditionalMaterialGroup2 AdditionalMaterialGroup2 Material Group 2
AdditionalMaterialGroup3 AdditionalMaterialGroup3 Material Group 3
AdditionalMaterialGroup4 AdditionalMaterialGroup4 Material Group 4
AdditionalMaterialGroup5 AdditionalMaterialGroup5 Material Group 5
Plant Plant Plant (Own or External)
CreditMemoRequestItemText SalesDocumentItemText Short text for sales order item
PurchaseOrderByCustomer PurchaseOrderByCustomer Purchase Order Number
BaseUnit BaseUnit Base Unit of Measure
TargetQuantity TargetQuantity Target Quantity in Sales Units
TargetQuantityUnit TargetQuantityUnit Target Quantity UoM
TargetToBaseQuantityDnmntr TargetToBaseQuantityDnmntr Factor for Converting Sales Units to Base Units (Target Qty)
TargetToBaseQuantityNmrtr TargetToBaseQuantityNmrtr Factor for Converting Sales Units to Base Units (Target Qty)
RequestedQuantity RequestedQuantity Requested Quantity
RequestedQuantityUnit RequestedQuantityUnit Unit of the Requested Quantity
RequestedQuantityInBaseUnit RequestedQuantityInBaseUnit Requested Order Quantity in Base Unit
ItemGrossWeight ItemGrossWeight Gross Weight of the Item
ItemNetWeight ItemNetWeight Net Weight of the Item
ItemWeightUnit ItemWeightUnit Unit of Weight
ItemVolume ItemVolume Volume of the item
ItemVolumeUnit ItemVolumeUnit Volume Unit
ServicesRenderedDate ServicesRenderedDate Date on which services are rendered
SalesDistrict SalesDistrict Sales District
SalesDeal SalesDeal Sales Deal
CustomerGroup CustomerGroup Customer Group
SalesDocumentRjcnReason SalesDocumentRjcnReason Reason for Rejection of Sales Documents
ItemOrderProbabilityInPercent ItemOrderProbabilityInPercent Order Probability of the Item
NetAmount NetAmount Net Value of the Document Item in Document Currency
TransactionCurrency TransactionCurrency Transaction Currency
PricingDate PricingDate Date for Pricing and Exchange Rate
ExchangeRateDate ExchangeRateDate Translation Date
PriceDetnExchangeRate PriceDetnExchangeRate Exchange Rate for Price Determination
NetPriceAmount NetPriceAmount Net Price
NetPriceQuantity NetPriceQuantity Condition Pricing Unit
NetPriceQuantityUnit NetPriceQuantityUnit SettlmtPrcUnit
StatisticalValueControl StatisticalValueControl Statistical Values
_StatisticalValueControl _StatisticalValueControl
TaxAmount TaxAmount Tax Amount in Document Currency
CostAmount CostAmount Cost in Document Currency
Subtotal1Amount Subtotal1Amount Subtotal 1 from Pricing Procedure for Price Element
Subtotal2Amount Subtotal2Amount Subtotal 2 from Pricing Procedure for Price Element
Subtotal3Amount Subtotal3Amount Subtotal 3 from Pricing Procedure for Price Element
Subtotal4Amount Subtotal4Amount Subtotal 4 from Pricing Procedure for Price Element
Subtotal5Amount Subtotal5Amount Subtotal 5 from Pricing Procedure for Price Element
Subtotal6Amount Subtotal6Amount Subtotal 6 from Pricing Procedure for Price Element
CreditMemoRequestCondition SalesDocumentCondition Number of the Document Condition
IncotermsClassification IncotermsClassification Incoterms (Part 1)
IncotermsTransferLocation IncotermsTransferLocation Incoterms (Part 2)
IncotermsLocation1 IncotermsLocation1 Incoterms Location 1
IncotermsLocation2 IncotermsLocation2 Incoterms Location 2
IncotermsVersion IncotermsVersion Incoterms Version
BillingDocumentDate BillingDocumentDate Billing Date
ItemIsBillingRelevant ItemIsBillingRelevant Relevant for Billing
ItemBillingBlockReason ItemBillingBlockReason Billing Block for Item
CustomerPaymentTerms CustomerPaymentTerms Terms of Payment Key
PaymentMethod PaymentMethod Payment Method
FiscalYear FiscalYear G/L Fiscal Year
FiscalPeriod FiscalPeriod Posting Period
CustomerAccountAssignmentGroup CustomerAccountAssignmentGroup Account Assignment Group for Customer
BusinessArea BusinessArea Business Area
ControllingArea ControllingArea Controlling Area
ProfitCenter ProfitCenter Profit Center
WBSElement WBSElement Work Breakdown Structure Element (WBS Element)
WBSElementInternalID WBSElementInternalID WBS Internal ID
OrderID OrderID Order Number
ControllingObject ControllingObject Object Number at Item Level
ProfitabilitySegment ProfitabilitySegment Deprecated: Profitability Segment
ProfitabilitySegment_2 ProfitabilitySegment_2 Profitability Segment
OriginSDDocument OriginSDDocument Originating Document
OriginSDDocumentItem OriginSDDocumentItem Originating Item
ReferenceSDDocument ReferenceSDDocument Document Number of Reference Document
ReferenceSDDocumentItem ReferenceSDDocumentItem Item number of the reference item
ReferenceSDDocumentCategory ReferenceSDDocumentCategory Reference Document Category
HigherLevelItem HigherLevelItem Higher-Level Item in Bill of Material Structures
SDProcessStatus SDProcessStatus Overall Processing Status (Item)
OrderRelatedBillingStatus OrderRelatedBillingStatus Order-Related Billing Status (Item)
BillingBlockStatus BillingBlockStatus Billing Block Status (Item)
ItemGeneralIncompletionStatus ItemGeneralIncompletionStatus Incompletion Status (Item)
ItemBillingIncompletionStatus ItemBillingIncompletionStatus Billing Incompletion Status (Item)
PricingIncompletionStatus PricingIncompletionStatus Pricing Incompletion Status (Item)
SDDocumentRejectionStatus SDDocumentRejectionStatus Rejection Status (Item)
TotalSDDocReferenceStatus TotalSDDocReferenceStatus Overall Reference Status (Item)
ServiceDocumentType ServiceDocumentType Service Document Type
ServiceDocument ServiceDocument Service Document ID
ServiceDocumentItem ServiceDocumentItem Service Document Item ID
CreditMemoRequestType SalesDocumentType Sales Document Type
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel Distribution Channel
OrganizationDivision OrganizationDivision Org. Division
SalesOffice SalesOffice Sales Office
SalesGroup SalesGroup Sales Group
SoldToParty SoldToParty Sold-to Party
AdditionalCustomerGroup1 AdditionalCustomerGroup1 Customer Group 1
AdditionalCustomerGroup2 AdditionalCustomerGroup2 Customer Group 2
AdditionalCustomerGroup3 AdditionalCustomerGroup3 Customer Group 3
AdditionalCustomerGroup4 AdditionalCustomerGroup4 Customer Group 4
AdditionalCustomerGroup5 AdditionalCustomerGroup5 Customer Group 5
CreditMemoRequestDate SalesDocumentDate Document Date (Date Received/Sent)
SDDocumentReason SDDocumentReason Order Reason (Reason for the Business Transaction)
ShipToParty ShipToParty Ship-To Party (obsolete)
PayerParty PayerParty Payer
BillToParty BillToParty Inv. Recipient
SalesEmployee SalesEmployee Sales Employee
ResponsibleEmployee ResponsibleEmployee Employee Responsible
SalesEmployeeWorkAgreement SalesEmployeeWorkAgreement Sales Employee
ResponsibleEmployeeWorkAgrmt ResponsibleEmployeeWorkAgrmt Employee Responsible
_CreditMemoRequest _CreditMemoRequest
_Partner _Partner
_PricingElement _PricingElement
_ItemCategory _ItemCategory
_CreatedByUser _CreatedByUser
_Division _Division
_Material _Material
_Product _Product
_OriginallyRequestedMaterial _OriginallyRequestedMaterial
_MaterialPlant _MaterialPlant
_ProductHierarchyNode _ProductHierarchyNode
_MaterialGroup _MaterialGroup
_ProductGroup _ProductGroup
_MaterialPricingGroup _MaterialPricingGroup
_AdditionalMaterialGroup1 _AdditionalMaterialGroup1
_AdditionalMaterialGroup2 _AdditionalMaterialGroup2
_AdditionalMaterialGroup3 _AdditionalMaterialGroup3
_AdditionalMaterialGroup4 _AdditionalMaterialGroup4
_AdditionalMaterialGroup5 _AdditionalMaterialGroup5
_Plant _Plant
_BaseUnit _BaseUnit
_TargetQuantityUnit _TargetQuantityUnit
_RequestedQuantityUnit _RequestedQuantityUnit
_ItemWeightUnit _ItemWeightUnit
_ItemVolumeUnit _ItemVolumeUnit
_SalesDistrict _SalesDistrict
_SalesDeal _SalesDeal
_CustomerGroup _CustomerGroup
_SalesDocumentRjcnReason _SalesDocumentRjcnReason
_TransactionCurrency _TransactionCurrency
_NetPriceQuantityUnit _NetPriceQuantityUnit
_IncotermsClassification _IncotermsClassification
_IncotermsVersion _IncotermsVersion
_ItemIsBillingRelevant _ItemIsBillingRelevant
_ItemBillingBlockReason _ItemBillingBlockReason
_CustomerPaymentTerms _CustomerPaymentTerms
_CustomerAccountAssgmtGroup _CustomerAccountAssgmtGroup
_BusinessArea _BusinessArea
_ReferenceSDDocument _ReferenceSDDocument
_ReferenceSDDocumentItem _ReferenceSDDocumentItem
_ReferenceSDDocumentCategory _ReferenceSDDocumentCategory
_SDProcessStatus _SDProcessStatus
_OrderRelatedBillingStatus _OrderRelatedBillingStatus
_BillingBlockStatus _BillingBlockStatus
_ItemGeneralIncompletionStatus _ItemGeneralIncompletionStatus
_ItemBillingIncompletionStatus _ItemBillingIncompletionStatus
_PricingIncompletionStatus _PricingIncompletionStatus
_SDDocumentRejectionStatus _SDDocumentRejectionStatus
_TotalSDDocReferenceStatus _TotalSDDocReferenceStatus
_ServiceDocumentType _ServiceDocumentType
_CreditMemoRequestType _CreditMemoRequestType
_SalesOrganization _SalesOrganization
_DistributionChannel _DistributionChannel
_OrganizationDivision _OrganizationDivision
_SalesOffice _SalesOffice
_SalesGroup _SalesGroup
_SoldToParty _SoldToParty
_AdditionalCustomerGroup1 _AdditionalCustomerGroup1
_AdditionalCustomerGroup2 _AdditionalCustomerGroup2
_AdditionalCustomerGroup3 _AdditionalCustomerGroup3
_AdditionalCustomerGroup4 _AdditionalCustomerGroup4
_AdditionalCustomerGroup5 _AdditionalCustomerGroup5
_SDDocumentReason _SDDocumentReason
_ShipToParty _ShipToParty
_PayerParty _PayerParty
_BillToParty _BillToParty
_SalesEmployee _SalesEmployee
_ResponsibleEmployee _ResponsibleEmployee
_BusinessAreaText _BusinessAreaText
_MaterialText _MaterialText
_ProductText _ProductText
_OrigMaterialText _OrigMaterialText
_WBSElementBasicData_2 _WBSElementBasicData_2

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 I_CreditMemoRequestItem.
-- 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.
-- SQL view name: ISDCRDMEMOREQITM

CREATE VIEW I_CreditMemoRequestItem AS
SELECT
  cast(SalesDocument as credit_memo_request preserving type ) AS CreditMemoRequest,
  cast(SalesDocumentItem as credit_memo_request_item preserving type ) AS CreditMemoRequestItem,
  SalesDocumentItemCategory AS CreditMemoRequestItemCategory,
  SalesDocumentItemType AS CreditMemoRequestItemType,
  IsReturnsItem,
  CreatedByUser,
  CreationDate,
  CreationTime,
  LastChangeDate,
  Division,
  Material,
  Product,
  OriginallyRequestedMaterial,
  MaterialByCustomer,
  Batch,
  ProductHierarchyNode,
  ProductCatalog,
  MaterialGroup,
  ProductGroup,
  MaterialPricingGroup,
  ProductTaxClassification1,
  ProductTaxClassification2,
  ProductTaxClassification3,
  ProductTaxClassification4,
  ProductTaxClassification5,
  ProductTaxClassification6,
  ProductTaxClassification7,
  ProductTaxClassification8,
  ProductTaxClassification9,
  MatlAccountAssignmentGroup,
  AdditionalMaterialGroup1,
  AdditionalMaterialGroup2,
  AdditionalMaterialGroup3,
  AdditionalMaterialGroup4,
  AdditionalMaterialGroup5,
  Plant,
  SalesDocumentItemText AS CreditMemoRequestItemText,
  PurchaseOrderByCustomer,
  BaseUnit,
  TargetQuantity,
  TargetQuantityUnit,
  TargetToBaseQuantityDnmntr,
  TargetToBaseQuantityNmrtr,
  RequestedQuantity,
  RequestedQuantityUnit,
  RequestedQuantityInBaseUnit,
  ItemGrossWeight,
  ItemNetWeight,
  ItemWeightUnit,
  ItemVolume,
  ItemVolumeUnit,
  ServicesRenderedDate,
  SalesDistrict,
  SalesDeal,
  CustomerGroup,
  SalesDocumentRjcnReason,
  ItemOrderProbabilityInPercent,
  NetAmount,
  TransactionCurrency,
  PricingDate,
  ExchangeRateDate,
  PriceDetnExchangeRate,
  NetPriceAmount,
  NetPriceQuantity,
  NetPriceQuantityUnit,
  StatisticalValueControl,
  TaxAmount,
  CostAmount,
  Subtotal1Amount,
  Subtotal2Amount,
  Subtotal3Amount,
  Subtotal4Amount,
  Subtotal5Amount,
  Subtotal6Amount,
  SalesDocumentCondition AS CreditMemoRequestCondition,
  IncotermsClassification,
  IncotermsTransferLocation,
  IncotermsLocation1,
  IncotermsLocation2,
  IncotermsVersion,
  BillingDocumentDate,
  ItemIsBillingRelevant,
  ItemBillingBlockReason,
  CustomerPaymentTerms,
  PaymentMethod,
  FiscalYear,
  FiscalPeriod,
  CustomerAccountAssignmentGroup,
  BusinessArea,
  ControllingArea,
  ProfitCenter,
  WBSElement,
  WBSElementInternalID,
  OrderID,
  ControllingObject,
  ProfitabilitySegment,
  ProfitabilitySegment_2,
  OriginSDDocument,
  OriginSDDocumentItem,
  ReferenceSDDocument,
  ReferenceSDDocumentItem,
  ReferenceSDDocumentCategory,
  HigherLevelItem,
  SDProcessStatus,
  OrderRelatedBillingStatus,
  BillingBlockStatus,
  ItemGeneralIncompletionStatus,
  ItemBillingIncompletionStatus,
  PricingIncompletionStatus,
  SDDocumentRejectionStatus,
  TotalSDDocReferenceStatus,
  ServiceDocumentType,
  ServiceDocument,
  ServiceDocumentItem,
  SalesDocumentType AS CreditMemoRequestType,
  SalesOrganization,
  DistributionChannel,
  OrganizationDivision,
  SalesOffice,
  SalesGroup,
  SoldToParty,
  AdditionalCustomerGroup1,
  AdditionalCustomerGroup2,
  AdditionalCustomerGroup3,
  AdditionalCustomerGroup4,
  AdditionalCustomerGroup5,
  SalesDocumentDate AS CreditMemoRequestDate,
  SDDocumentReason,
  ShipToParty,
  PayerParty,
  BillToParty,
  SalesEmployee,
  ResponsibleEmployee,
  SalesEmployeeWorkAgreement,
  ResponsibleEmployeeWorkAgrmt
FROM I_SalesDocumentItem AS SalesDocumentItem
LEFT OUTER JOIN I_BusinessAreaText AS _BusinessAreaText ON BusinessArea = _BusinessAreaText.BusinessArea  -- association [0..*]
LEFT OUTER JOIN I_MaterialText AS _MaterialText ON Material = _MaterialText.Material  -- association [0..*]
LEFT OUTER JOIN I_ProductText AS _ProductText ON Product = _ProductText.Product  -- association [0..*]
LEFT OUTER JOIN I_MaterialText AS _OrigMaterialText ON OriginallyRequestedMaterial = _OrigMaterialText.Material  -- association [0..*]
LEFT OUTER JOIN I_CreditMemoRequest AS _CreditMemoRequest ON CreditMemoRequest = _CreditMemoRequest.CreditMemoRequest  -- association [1..1]
LEFT OUTER JOIN I_CreditMemoRequestType AS _CreditMemoRequestType ON CreditMemoRequestType = _CreditMemoRequestType.CreditMemoRequestType  -- association [0..1]
LEFT OUTER JOIN I_CreditMemoReqItemPartner AS _Partner ON CreditMemoRequest = _Partner.CreditMemoRequest AND CreditMemoRequestItem = _Partner.CreditMemoRequestItem  -- association [0..*]
LEFT OUTER JOIN I_CreditMemoReqItemPrcgElmnt AS _PricingElement ON CreditMemoRequest = _PricingElement.CreditMemoRequest AND CreditMemoRequestItem = _PricingElement.CreditMemoRequestItem  -- association [0..*]
LEFT OUTER JOIN E_SalesDocumentItemBasic AS _Extension ON SalesDocumentItem.SalesDocument = _Extension.SalesDocument AND SalesDocumentItem.SalesDocumentItem = _Extension.SalesDocumentItem  -- association [0..1]
;