C_CreditMemoReqWorkflowDetail
Credit Memo Request Workflow Details
C_CreditMemoReqWorkflowDetail is a Consumption CDS View that provides data about "Credit Memo Request Workflow Details" in SAP S/4HANA. It reads from 1 data source (I_CreditMemoRequest) and exposes 47 fields with key field CreditMemoRequest. It has 1 association to related views. Part of development package ODATA_SD_CREDITMEMOREQUESTWRF.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CreditMemoRequest | CreditMemoRequest | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | C_CreditMemoReqWorkflowItmDets | _CMRWorkflowItem | $projection.CreditMemoRequest = _CMRWorkflowItem.CreditMemoRequest |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CMRWFDETAIL | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | Credit Memo Request Workflow Details | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Consumption.semanticObject | CreditMemoRequest | view | |
| UI.headerInfo.title.value | DocumentTitle | view |
Fields (47)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CreditMemoRequest | I_CreditMemoRequest | CreditMemoRequest | |
| CreditMemoRequest01asDocumentTitle | ||||
| CustomerName | _SoldToParty | CustomerName | Name of Customer | |
| SoldToParty | SoldToParty | Sold-to Party | ||
| ShipToPartyName | ||||
| ShipToParty | _StandardPartner | ShipToParty | Ship-To Party | |
| CityName | City | |||
| CountryName | ||||
| Country | Country or Region | |||
| PurchaseOrderByCustomer | PurchaseOrderByCustomer | Purchase Order Number | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| TotalNetAmount | TotalNetAmount | Total Net Amount | ||
| SDDocumentReasonText | ||||
| SDDocumentReason | SDDocumentReason | Order Reason | ||
| SDApprovalReasonName | ||||
| CreditMemoReqApprovalReason | CreditMemoReqApprovalReason | Approval Request Reason | ||
| TotalCreditCheckStatusDesc | ||||
| TotalCreditCheckStatus | TotalCreditCheckStatus | Overall Credit Status | ||
| HeaderBillingBlockReason | HeaderBillingBlockReason | Billing Block | ||
| BillingBlockReasonDescription | ||||
| SalesOrganizationName | ||||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| DistributionChannelName | ||||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| DivisionName | ||||
| OrganizationDivision | OrganizationDivision | Org. Division | ||
| UserName | _CreatedByUser | UserDescription | Full Name | |
| CreatedByUser | CreatedByUser | User Name | ||
| CreationDate | CreationDate | Created On | ||
| UserDescription | _LastChangedByUser | UserDescription | Full Name | |
| LastChangedByUser | LastChangedByUser | User Name | ||
| LastChangeDateTime | LastChangeDateTime | Last Changed On | ||
| CreditMemoRequestType | CreditMemoRequestType | Sales Doc. Type | ||
| _CMRWorkflowItem | _CMRWorkflowItem | |||
| _SoldToParty | _SoldToParty | |||
| _TransactionCurrency | _TransactionCurrency | |||
| _SalesOrganization | _SalesOrganization | |||
| _DistributionChannel | _DistributionChannel | |||
| _OrganizationDivision | _OrganizationDivision | |||
| _CreditMemoReqApprovalReason | _CreditMemoReqApprovalReason | |||
| _TotalCreditCheckStatus | _TotalCreditCheckStatus | |||
| _SDDocumentReason | _SDDocumentReason | |||
| _CreditMemoRequestType | _CreditMemoRequestType | |||
| _CreatedByUser | _CreatedByUser | |||
| _HeaderBillingBlockReason | _HeaderBillingBlockReason | |||
| _LastChangedByUser | _LastChangedByUser | |||
| _ShipToParty | _StandardPartner | _ShipToParty |
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 C_CreditMemoReqWorkflowDetail.
-- 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: CMRWFDETAIL
CREATE VIEW C_CreditMemoReqWorkflowDetail AS
SELECT
CreditMemoRequest.CreditMemoRequest AS CreditMemoRequest,
concat_with_space(concat_with_space(_CreditMemoRequestType._Text[1: Language=$session.system_language].SalesDocumentTypeName, '-', 1), ltrim(CreditMemoRequest.CreditMemoRequest,'0'), 1) as DocumentTitle AS CreditMemoRequest01asDocumentTitle,
_SoldToParty.CustomerName AS CustomerName,
SoldToParty,
_StandardPartner._ShipToParty.CustomerName AS ShipToPartyName,
_StandardPartner.ShipToParty AS ShipToParty,
CreditMemoRequestPartner._DfltAddrRprstn.CityName AS CityName,
CreditMemoRequestPartner._DfltAddrRprstn._Country._Text[1: Language=$session.system_language].CountryName AS CountryName,
CreditMemoRequestPartner._DfltAddrRprstn.Country AS Country,
PurchaseOrderByCustomer,
TransactionCurrency,
TotalNetAmount,
_SDDocumentReason._Text[1: Language=$session.system_language ].SDDocumentReasonText AS SDDocumentReasonText,
SDDocumentReason,
_CreditMemoReqApprovalReason._SDApprovalReasonT[1: Language=$session.system_language ].SDApprovalReasonName AS SDApprovalReasonName,
CreditMemoReqApprovalReason,
_TotalCreditCheckStatus._Text[1: Language=$session.system_language ].TotalCreditCheckStatusDesc AS TotalCreditCheckStatusDesc,
TotalCreditCheckStatus,
HeaderBillingBlockReason,
_HeaderBillingBlockReason._Text[1: Language=$session.system_language ].BillingBlockReasonDescription AS BillingBlockReasonDescription,
_SalesOrganization._Text[1: Language=$session.system_language ].SalesOrganizationName AS SalesOrganizationName,
SalesOrganization,
_DistributionChannel._Text[1: Language=$session.system_language ].DistributionChannelName AS DistributionChannelName,
DistributionChannel,
_OrganizationDivision._Text[1: Language=$session.system_language ].DivisionName AS DivisionName,
OrganizationDivision,
_CreatedByUser.UserDescription AS UserName,
CreatedByUser,
CreationDate,
_LastChangedByUser.UserDescription AS UserDescription,
LastChangedByUser,
LastChangeDateTime,
CreditMemoRequestType,
_StandardPartner._ShipToParty AS _ShipToParty
FROM I_CreditMemoRequest AS CreditMemoRequest
LEFT OUTER JOIN C_CreditMemoReqWorkflowItmDets AS _CMRWorkflowItem ON CreditMemoRequest = _CMRWorkflowItem.CreditMemoRequest -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA