C_ReturnsRefDocUserValueHelp
Returns Order Reference Document User
C_ReturnsRefDocUserValueHelp is a Consumption CDS View that provides data about "Returns Order Reference Document User" in SAP S/4HANA. It reads from 1 data source (I_User) and exposes 4 fields with key field UserID. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_User | I_User | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_SalesDocumentBasic | _SalesDocument | UserID = _SalesDocument.CreatedByUser or UserID = _SalesDocument.LastChangedByUser |
| [0..*] | I_BillingDocumentBasic | _BillingDocument | UserID = _BillingDocument.CreatedByUser |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CRETREFDOCUSRVH | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| EndUserText.label | Returns Order Reference Document User | view | |
| Search.searchable | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| UI.headerInfo.typeName | Reference Document User | view | |
| UI.headerInfo.typeNamePlural | Reference Document Users | view | |
| ObjectModel.representativeKey | UserID | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | UserID | UserID | User Name | |
| UserDescription | UserDescription | Name | ||
| _SalesDocument | _SalesDocument | |||
| _BillingDocument | _BillingDocument |
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_ReturnsRefDocUserValueHelp.
-- 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: CRETREFDOCUSRVH
CREATE VIEW C_ReturnsRefDocUserValueHelp AS
SELECT
UserID,
UserDescription
FROM I_User
LEFT OUTER JOIN I_SalesDocumentBasic AS _SalesDocument ON UserID = _SalesDocument.CreatedByUser OR UserID = _SalesDocument.LastChangedByUser -- association [0..*]
LEFT OUTER JOIN I_BillingDocumentBasic AS _BillingDocument ON UserID = _BillingDocument.CreatedByUser -- 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