P_RefundingQuantity_F1708
P_RefundingQuantity_F1708 is a Consumption CDS View in SAP S/4HANA. It reads from 2 data sources (I_SalesDocumentBasic, I_SalesDocumentItemBasic) and exposes 8 fields with key fields CustomerReturn, CustomerReturnItem. It has 1 association to related views. It is used in 1 Fiori application: Manage Customer Returns.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_SalesDocumentBasic | CustomerReturn | inner |
| I_SalesDocumentItemBasic | CustomerReturnItem | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | P_RefundedQuantitySum_F1708 | _Refundedquantitysum | $projection.CustomerReturn = _Refundedquantitysum.CustomerReturn and $projection.CustomerReturnItem = _Refundedquantitysum.CustomerReturnItem and $projection.SalesOrganization = _Refundedquantitysum.SalesOrganization and $projection.DistributionChannel = _Refundedquantitysum.DistributionChannel and $projection.OrganizationDivision = _Refundedquantitysum.OrganizationDivision and $projection.SalesOffice = _Refundedquantitysum.SalesOffice and $projection.SalesGroup = _Refundedquantitysum.SalesGroup and $projection.SoldToParty = _Refundedquantitysum.SoldToParty |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PREFINGQUANF1708 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view |
Fiori Apps (1)
| App ID | App Name | Type | Description |
|---|---|---|---|
| F1708 | Manage Customer Returns | Transactional | Manage Customer Returns enables you to create and edit advanced returns. It also allows you to determine refund. |
Manage Customer Returns
Business Role: Returns and Refund Clerk
In the Manage Customer Returns app, you can filter returns orders by returns order reason. You can view the returns order reasons in the returns order list.
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CustomerReturn | I_SalesDocumentItemBasic | SalesDocument | SD Document |
| KEY | CustomerReturnItem | I_SalesDocumentItemBasic | SalesDocumentItem | Sales Document Item |
| SalesOrganization | I_SalesDocumentBasic | SalesOrganization | Sales Organization | |
| DistributionChannel | I_SalesDocumentBasic | DistributionChannel | RefDistCh-Cust/Mat. | |
| OrganizationDivision | I_SalesDocumentBasic | OrganizationDivision | Org. Division | |
| SalesOffice | I_SalesDocumentBasic | SalesOffice | Sales Office | |
| SalesGroup | I_SalesDocumentBasic | SalesGroup | Sales Group | |
| SoldToParty | I_SalesDocumentBasic | SoldToParty | Sold-to Party |
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 P_RefundingQuantity_F1708.
-- 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: PREFINGQUANF1708
CREATE VIEW P_RefundingQuantity_F1708 AS
SELECT
CustomerReturnItem.SalesDocument AS CustomerReturn,
CustomerReturnItem.SalesDocumentItem AS CustomerReturnItem,
CustomerReturn.SalesOrganization AS SalesOrganization,
CustomerReturn.DistributionChannel AS DistributionChannel,
CustomerReturn.OrganizationDivision AS OrganizationDivision,
CustomerReturn.SalesOffice AS SalesOffice,
CustomerReturn.SalesGroup AS SalesGroup,
CustomerReturn.SoldToParty AS SoldToParty
FROM I_SalesDocumentItemBasic AS CustomerReturnItem
INNER JOIN I_SalesDocumentBasic AS CustomerReturn ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_RefundedQuantitySum_F1708 AS _Refundedquantitysum ON CustomerReturn = _Refundedquantitysum.CustomerReturn AND CustomerReturnItem = _Refundedquantitysum.CustomerReturnItem AND SalesOrganization = _Refundedquantitysum.SalesOrganization AND DistributionChannel = _Refundedquantitysum.DistributionChannel AND OrganizationDivision = _Refundedquantitysum.OrganizationDivision AND SalesOffice = _Refundedquantitysum.SalesOffice AND SalesGroup = _Refundedquantitysum.SalesGroup AND SoldToParty = _Refundedquantitysum.SoldToParty -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Fiori Apps Architecture — How Fiori Apps Connect to Data
- 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