I_PRAIntMktgRateHeaderWell

DDL: I_PRAINTMKTGRATEHEADERWELL Type: view BASIC

PRA Internal Marketing Rate Header Well

I_PRAIntMktgRateHeaderWell is a Basic CDS View (Cube) that provides data about "PRA Internal Marketing Rate Header Well" in SAP S/4HANA. It reads from 1 data source (oiu_rv_mr_wc) and exposes 11 fields with key field PRAMarketingRateNumber. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
oiu_rv_mr_wc oiu_rv_mr_wc from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_Well _Well $projection.Well = _Well.Well
[1..1] I_WellCompletion _WellCompletion $projection.Well = _WellCompletion.Well and $projection.WellCompletion = _WellCompletion.WellCompletion
[1..1] I_MajorProduct _MajorProduct $projection.MajorProduct = _MajorProduct.MajorProduct

Annotations (16)

NameValueLevelField
EndUserText.label PRA Internal Marketing Rate Header Well view
AbapCatalog.sqlViewName IPRAINTMKTRTHWC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Metadata.allowExtensions true view
Analytics.dataCategory #CUBE view
Analytics.internalName #LOCAL view
Analytics.dataExtraction.enabled true view
ObjectModel.modelingPattern #ANALYTICAL_CUBE view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY PRAMarketingRateNumber mrt_no Mkt rate no
Well wl_no Well
WellCompletion wc_no Well Completion
MajorProduct majpd Major Product
PRAMarketingEffctvFrmDte eff_from_dt Effective From Date
PRAMarketingEffctvToDte eff_to_dt Effective To Date
CreatedByUser oiu_cruser Created By
PRACreationDateTime oiu_timestamp Timestamp
_Well _Well
_WellCompletion _WellCompletion
_MajorProduct _MajorProduct

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 I_PRAIntMktgRateHeaderWell.
-- 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 I_PRAIntMktgRateHeaderWell AS
SELECT
  mrt_no AS PRAMarketingRateNumber,
  wl_no AS Well,
  wc_no AS WellCompletion,
  majpd AS MajorProduct,
  eff_from_dt AS PRAMarketingEffctvFrmDte,
  eff_to_dt AS PRAMarketingEffctvToDte,
  oiu_cruser AS CreatedByUser,
  oiu_timestamp AS PRACreationDateTime
FROM oiu_rv_mr_wc
LEFT OUTER JOIN I_Well AS _Well ON Well = _Well.Well  -- association [1..1]
LEFT OUTER JOIN I_WellCompletion AS _WellCompletion ON Well = _WellCompletion.Well AND WellCompletion = _WellCompletion.WellCompletion  -- association [1..1]
LEFT OUTER JOIN I_MajorProduct AS _MajorProduct ON MajorProduct = _MajorProduct.MajorProduct  -- association [1..1]
;