A_ServiceRequestReason

DDL: A_SERVICEREQUESTREASON Type: view COMPOSITE

Service Request Reason

A_ServiceRequestReason is a Composite CDS View that provides data about "Service Request Reason" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentEnhcd) and exposes 4 fields with key field ServiceRequest. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentEnhcd I_ServiceDocumentEnhcd from

Associations (1)

CardinalityTargetAliasCondition
[1] A_ServiceRequest _ServiceRequest $projection.ServiceRequest = _ServiceRequest.ServiceRequest

Annotations (15)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Service Request Reason view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AbapCatalog.sqlViewName ASRVREQREASON view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
Metadata.ignorePropagatedAnnotations true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY ServiceRequest ServiceDocument Transaction ID
ServiceReasonSchema ServiceReasonSchema
ServiceReasonCategory ServiceReasonCategory
_ServiceRequest _ServiceRequest

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 A_ServiceRequestReason.
-- 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.

CREATE VIEW A_ServiceRequestReason AS
SELECT
  ServiceDocument AS ServiceRequest,
  ServiceReasonSchema,
  ServiceReasonCategory
FROM I_ServiceDocumentEnhcd
LEFT OUTER JOIN A_ServiceRequest AS _ServiceRequest ON ServiceRequest = _ServiceRequest.ServiceRequest  -- association [1]
;