I_PRAContrMarketingDet
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)
| Source | Alias | Join Type |
|---|---|---|
| oiu_rv_cmcd | oiu_rv_cmcd | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA