R_PRAWellCompltnDwnHdrTP

DDL: R_PRAWELLCOMPLTNDWNHDRTP Type: view_entity TRANSACTIONAL

PRA WCDwnTme Hdr RVew

R_PRAWellCompltnDwnHdrTP is a Transactional CDS View that provides data about "PRA WCDwnTme Hdr RVew" in SAP S/4HANA. It reads from 1 data source (I_PRAWellCompltnDwnHdr) and exposes 15 fields with key fields Well, WellCompletion, PRAEffectiveFromDateTime, PRAStreamTypeCode. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_PRAWellCompltnDwnHdr I_PRAWellCompltnDwnHdr from

Associations (1)

CardinalityTargetAliasCondition
[1..*] R_PRAWellCompltnDwnItmTP _PRAWellCompltnDwnItmTP

Annotations (11)

NameValueLevelField
EndUserText.label PRA WCDwnTme Hdr RVew view
AccessControl.authorizationCheck #MANDATORY view
Metadata.ignorePropagatedAnnotations true view
OData.entityType.name WellCompletionDowntime_Type view
OData.entitySet.name WellCompletionDowntime view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.sapObjectNodeType.name PRAWellCompltnDownTme view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY Well Well Well
KEY WellCompletion WellCompletion Well Completion
KEY PRAEffectiveFromDateTime PRAEffectiveFromDateTime Eff. from TS
KEY PRAStreamTypeCode PRAStreamTypeCode Multi strm type
PRAEffectiveToDateTime PRAEffectiveToDateTime Eff. to TS
PRAWellCompltnDwntmeNmbr PRAWellCompltnDwntmeNmbr WC downtime no
PRAConditionCode PRAConditionCode Condtion Code
PRAHrFlag PRAHrFlag Hour flag
PRANmbrOfHrs PRANmbrOfHrs Hours
CreatedByUser CreatedByUser User Name
PRACreationDateTime PRACreationDateTime Time Stamp
OriginTransaction OriginTransaction
_Well _Well
_WellCompletion _WellCompletion
_PRAWellCompltnDwnItmTP _PRAWellCompltnDwnItmTP

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 R_PRAWellCompltnDwnHdrTP.
-- 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 R_PRAWellCompltnDwnHdrTP AS
SELECT
  Well,
  WellCompletion,
  PRAEffectiveFromDateTime,
  PRAStreamTypeCode,
  PRAEffectiveToDateTime,
  PRAWellCompltnDwntmeNmbr,
  PRAConditionCode,
  PRAHrFlag,
  PRANmbrOfHrs,
  CreatedByUser,
  PRACreationDateTime,
  OriginTransaction
FROM I_PRAWellCompltnDwnHdr
LEFT OUTER JOIN R_PRAWellCompltnDwnItmTP AS _PRAWellCompltnDwnItmTP ON /* condition not available in parsed metadata */  -- association [1..*]
;