C_ReturnsRefDocUserValueHelp

DDL: C_RETURNSREFDOCUSERVALUEHELP SQL: CRETREFDOCUSRVH Type: view CONSUMPTION

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)

SourceAliasJoin Type
I_User I_User from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_SalesDocumentBasic _SalesDocument UserID = _SalesDocument.CreatedByUser or UserID = _SalesDocument.LastChangedByUser
[0..*] I_BillingDocumentBasic _BillingDocument UserID = _BillingDocument.CreatedByUser

Annotations (13)

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

KeyFieldSource TableSource FieldDescription
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..*]
;