I_PRAContrMarketingDet

DDL: I_PRACONTRMARKETINGDET SQL: IPRACTMKTGDET Type: view BASIC

PRA Contract Mktg Cost Detail IVew

I_PRAContrMarketingDet is a Basic CDS View (Cube) that provides data about "PRA Contract Mktg Cost Detail IVew" in SAP S/4HANA. It reads from 1 data source (oiu_rv_cmcd) and exposes 19 fields with key fields ContractMarketingCostControl, MarketingType. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
oiu_rv_cmcd oiu_rv_cmcd from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_Currency _Currency $projection.Currency = _Currency.Currency
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[1..1] I_PRAJointVenture _JointVenture $projection.CompanyCode = _JointVenture.CompanyCode and $projection.CreditPlantVenture = _JointVenture.PRAJointVenture
[1..1] I_DivisionOfInterest _DivisionOfInterest $projection.CompanyCode = _DivisionOfInterest.CompanyCode and $projection.CreditPlantVenture = _DivisionOfInterest.JointVenture and $projection.CreditPlantDivisionOfInterest = _DivisionOfInterest.DivisionOfInterest

Annotations (19)

NameValueLevelField
AbapCatalog.sqlViewName IPRACTMKTGDET view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label PRA Contract Mktg Cost Detail IVew view
Metadata.allowExtensions true view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.modelingPattern #ANALYTICAL_CUBE view
OData.entityType.name ContractMarketingDetail_Type view
OData.entitySet.name ContractMarketingDetail view
Analytics.dataExtraction.enabled true view
Analytics.internalName #LOCAL view
Analytics.dataCategory #CUBE view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY ContractMarketingCostControl cmcc_no CMCC No
KEY MarketingType mkct_type_cd Mrktg Type Code
DeductionReimbursementType ded_rmb_cd Deduct/Reimb
DeductionReimbursementPercent ded_rmb_pc D/R Pct
PRAVolumeBasisCode vbas_cd Basis
DeductionReimbursementRateAmt ded_rmbrt_am D/R Rate
Currency fix_am_u Currency
PRADdctdFixedAmount fix_am D/R Fixed Amt
AmountIsRecoupedFlag recoup_fl Recoup Fl
MethodTableCode ss_table_cd Meth Table Code
CompanyCode bukrs Value
CreditPlantVenture vname Volatility Name
CreditPlantDivisionOfInterest doi_no Venture/DOI
CreatedByUser oiu_cruser Created By
PRACreationDateTime oiu_timestamp Timestamp
_Currency _Currency
_CompanyCode _CompanyCode
_JointVenture _JointVenture
_DivisionOfInterest _DivisionOfInterest

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_PRAContrMarketingDet.
-- 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: IPRACTMKTGDET

CREATE VIEW I_PRAContrMarketingDet AS
SELECT
  cmcc_no AS ContractMarketingCostControl,
  mkct_type_cd AS MarketingType,
  ded_rmb_cd AS DeductionReimbursementType,
  ded_rmb_pc AS DeductionReimbursementPercent,
  vbas_cd AS PRAVolumeBasisCode,
  ded_rmbrt_am AS DeductionReimbursementRateAmt,
  fix_am_u AS Currency,
  fix_am AS PRADdctdFixedAmount,
  recoup_fl AS AmountIsRecoupedFlag,
  ss_table_cd AS MethodTableCode,
  bukrs AS CompanyCode,
  vname AS CreditPlantVenture,
  doi_no AS CreditPlantDivisionOfInterest,
  oiu_cruser AS CreatedByUser,
  oiu_timestamp AS PRACreationDateTime
FROM oiu_rv_cmcd
LEFT OUTER JOIN I_Currency AS _Currency ON Currency = _Currency.Currency  -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_PRAJointVenture AS _JointVenture ON CompanyCode = _JointVenture.CompanyCode AND CreditPlantVenture = _JointVenture.PRAJointVenture  -- association [1..1]
LEFT OUTER JOIN I_DivisionOfInterest AS _DivisionOfInterest ON CompanyCode = _DivisionOfInterest.CompanyCode AND CreditPlantVenture = _DivisionOfInterest.JointVenture AND CreditPlantDivisionOfInterest = _DivisionOfInterest.DivisionOfInterest  -- association [1..1]
;