P_Vlogp_ReportingDate
Reporting Date for Maturity Sel Types
P_Vlogp_ReportingDate is a Composite CDS View that provides data about "Reporting Date for Maturity Sel Types" in SAP S/4HANA. It reads from 2 data sources (I_NearbyMaturityKeyDate, P_Vlogp_QtySplit_QtyPerDay_Adj) and exposes 136 fields with key fields PricingKey, Version, PricingDocumentItem, ConditionType, SubConditionType. Part of development package LOG_CMM_POSITION_REPORTING.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_NearbyMaturityKeyDate | _NearByKeyDate | left_outer |
| P_Vlogp_QtySplit_QtyPerDay_Adj | P_Vlogp_QtySplit_QtyPerDay_Adj | from |
Parameters (4)
| Name | Type | Default |
|---|---|---|
| P_consumption_type | cmm_vlogp_consumptiontype | |
| P_DisplayView | cds_view_uom | |
| P_EndOfDaySnapshotFromDate | cmm_dend_cutdate | |
| P_EndOfDaySnapshotToDate | cmm_dend_cutdate |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | PVLOGPRD | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| AbapCatalog.preserveKey | true | view |
Fields (136)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PricingKey | vlogp | PricingKey | Pricing Key |
| KEY | Version | vlogp | Version | XML Vers. |
| KEY | PricingDocumentItem | vlogp | PricingDocumentItem | Item |
| KEY | ConditionType | vlogp | ConditionType | Condition type |
| KEY | SubConditionType | vlogp | SubConditionType | |
| KEY | EvaluationDate | vlogp | EvaluationDate | |
| KEY | QuotationPeriodDate | vlogp | QuotationPeriodDate | |
| SubstitutePriceQuotationDate | vlogp | SubstitutePriceQuotationDate | ||
| EndOfDaySnapshotFromDate | vlogp | EndOfDaySnapshotFromDate | ||
| EndOfDaySnapshotToDate | vlogp | EndOfDaySnapshotToDate | ||
| MTMDataSelectionType | vlogp | MTMDataSelectionType | ||
| MTMDataSourceType | vlogp | MTMDataSourceType | Type of Data Record | |
| ValidityStartDate | vlogp | ValidityStartDate | Validity Start Date | |
| ValidityStartDateTime | vlogp | ValidityStartDateTime | Valid From Timestamp | |
| ValidityEndDate | vlogp | ValidityEndDate | ValidTo | |
| ValidityEndDateTime | vlogp | ValidityEndDateTime | Valid To Timestamp | |
| SourceTransactionEventDateTime | vlogp | SourceTransactionEventDateTime | ||
| SourceTransacEventEndDateTime | vlogp | SourceTransacEventEndDateTime | ||
| EndOfDaySnapshotDateTimeFrom | vlogp | EndOfDaySnapshotDateTimeFrom | ||
| EndOfDaySnapshotDateTimeTo | vlogp | EndOfDaySnapshotDateTimeTo | ||
| EndOfDaySnapshotDate | vlogp | EndOfDaySnapshotDate | ||
| EndOfDayBusinessEntityKey | vlogp | EndOfDayBusinessEntityKey | ||
| MaximumVersion | vlogp | MaximumVersion | Highest Version | |
| PreviousVersion | vlogp | PreviousVersion | ||
| CompanyCode | ||||
| SalesOrganization | vlogp | SalesOrganization | Sales Organization | |
| DistributionChannel | vlogp | DistributionChannel | RefDistCh-Cust/Mat. | |
| Division | vlogp | Division | Internal Division ID | |
| Creditor | vlogp | Creditor | Supplier | |
| SoldToParty | vlogp | SoldToParty | Sold-to Party | |
| Material | vlogp | Material | Vehicle Model | |
| PhysicalCommodity | vlogp | PhysicalCommodity | ||
| Plant | vlogp | Plant | Valuation Area | |
| StorageLocation | vlogp | StorageLocation | StorageLocation | |
| Batch | vlogp | Batch | Lot No. | |
| IncotermsClassification | vlogp | IncotermsClassification | Incoterms | |
| IncotermsTransferLocation | vlogp | IncotermsTransferLocation | Incoterms 2 | |
| ConditionApplication | vlogp | ConditionApplication | Application | |
| SourceDocument | vlogp | SourceDocument | Document | |
| SourceDocumentBusObjType | vlogp | SourceDocumentBusObjType | ||
| OriginReferenceDocument | vlogp | OriginReferenceDocument | Root Document | |
| OriginReferenceDocumentItem | vlogp | OriginReferenceDocumentItem | Root Document Item | |
| OriginReferenceDocBusObjType | vlogp | OriginReferenceDocBusObjType | Root (BOR) Obj. Type | |
| ReferenceDocument | vlogp | ReferenceDocument | Reference Document | |
| ReferenceDocumentItem | vlogp | ReferenceDocumentItem | Reference item | |
| ReferenceDocBusObjType | vlogp | ReferenceDocBusObjType | Pred(BOR) Object Typ | |
| DeliveryDate | vlogp | DeliveryDate | Delivery Date | |
| ExpectedPaymentDate | vlogp | ExpectedPaymentDate | ||
| StatisticsCurrency | vlogp | StatisticsCurrency | ||
| DocumentCurrency | vlogp | DocumentCurrency | Document Currency | |
| ProfitCenter | vlogp | ProfitCenter | Profit Center | |
| BusinessArea | vlogp | BusinessArea | Business Area | |
| PurchasingOrganization | vlogp | PurchasingOrganization | Purchasing Organization | |
| MaterialGroup | vlogp | MaterialGroup | Product Group | |
| IsIntercompanyTransfer | vlogp | IsIntercompanyTransfer | ||
| QuotationPriceType | ||||
| ConditionTermRate | vlogp | ConditionTermRate | ||
| ConditionTermRateCurrency | vlogp | ConditionTermRateCurrency | ||
| ConditionTermRateQuantity | vlogp | ConditionTermRateQuantity | ||
| ConditionTermRateQuantityUnit | vlogp | ConditionTermRateQuantityUnit | ||
| ConditionTermValue | vlogp | ConditionTermValue | ||
| ConditionTermValueCurrency | vlogp | ConditionTermValueCurrency | ||
| ConditionTermRateMktCurrency | vlogp | ConditionTermRateMktCurrency | ||
| ConditionTermName | vlogp | ConditionTermName | ||
| ConditionTermStatus | vlogp | ConditionTermStatus | ||
| RoundingDecimalPlaces | vlogp | RoundingDecimalPlaces | ||
| ConditionTermRateIsRounded | vlogp | ConditionTermRateIsRounded | ||
| ConditionTermRateNmrtr | vlogp | ConditionTermRateNmrtr | ||
| ConditionTermRateDnmntr | vlogp | ConditionTermRateDnmntr | ||
| ConditionTermExtensionUsage | vlogp | ConditionTermExtensionUsage | ||
| CmmdtyForwardIndexTiming | vlogp | CmmdtyForwardIndexTiming | Timing | |
| MaturitySelectionType | vlogp | MaturitySelectionType | Maturity Sel. Type | |
| QuotationPeriodReferenceDate | vlogp | QuotationPeriodReferenceDate | ||
| CommodityCurve | vlogp | CommodityCurve | ||
| QuotationKeyType | ||||
| QuotationDateList | vlogp | QuotationDateList | ||
| QuotationPeriodStartDate | vlogp | QuotationPeriodStartDate | ||
| QuotationPeriodEndDate | vlogp | QuotationPeriodEndDate | ||
| DerivativeContrSpecification | vlogp | DerivativeContrSpecification | DCS ID | |
| MarketIdentifierCode | vlogp | MarketIdentifierCode | MIC | |
| WhenMaturityselectiontypeisnearby | ||||
| MaturityKeyDateendasMaturityKeyDate | ||||
| BasisType | vlogp | BasisType | Basis Type | |
| BasisID | vlogp | BasisID | Basis ID | |
| QuotationGroup | vlogp | QuotationGroup | ||
| QuotationGroupCalculationRule | vlogp | QuotationGroupCalculationRule | ||
| PricingStatus | vlogp | PricingStatus | ||
| ConditionTermRateFixation | vlogp | ConditionTermRateFixation | ||
| CndnTermRateFixationDate | vlogp | CndnTermRateFixationDate | ||
| CndnTermRateFixationTime | vlogp | CndnTermRateFixationTime | ||
| CndnTermExchRateFixationDate | vlogp | CndnTermExchRateFixationDate | ||
| CndnTermExchRateFixationTime | vlogp | CndnTermExchRateFixationTime | ||
| FixedExchRateDate | vlogp | FixedExchRateDate | ||
| ExchRateMaturityDate | vlogp | ExchRateMaturityDate | ||
| MaturitySelectionRoutine | vlogp | MaturitySelectionRoutine | Maturity Sel. Rt. | |
| DCSPeriodType | vlogp | DCSPeriodType | Repeat Appmt Type | |
| CommodityQuantity | ||||
| CommodityUnit | vlogp | CommodityUnit | Order Unit | |
| CommodityQuantityInTermUnit | vlogp | CommodityQuantityInTermUnit | ||
| QuantitySign | vlogp | QuantitySign | Sign of Quantity | |
| MTMConditionGroupCategory | vlogp | MTMConditionGroupCategory | ||
| MTMConditionGroup | vlogp | MTMConditionGroup | ||
| MTMCalculationGroup | vlogp | MTMCalculationGroup | ||
| MTMAdjustmentType | vlogp | MTMAdjustmentType | ||
| MTMCalcGrpMarketPriceCondition | vlogp | MTMCalcGrpMarketPriceCondition | ||
| DisplayView | ||||
| CommodityExposureQuantity | vlogp | CommodityExposureQuantity | ||
| CommodityExposureUnit | vlogp | CommodityExposureUnit | ||
| DCSReportingDate | vlogp | DCSReportingDate | ||
| PriceIsRealized | vlogp | PriceIsRealized | ||
| ContrPriceExposureIsExecuted | vlogp | ContrPriceExposureIsExecuted | ||
| CommodityPriceFixationStatus | vlogp | CommodityPriceFixationStatus | ||
| ImplicitFixationIsRelevant | vlogp | ImplicitFixationIsRelevant | ||
| ConditionTermRateIsFixed | vlogp | ConditionTermRateIsFixed | ||
| MinimumConditionTermLimitRate | MinimumConditionTermLimitRate | |||
| MaximumConditionTermLimitRate | MaximumConditionTermLimitRate | |||
| ConditionTermLimitRateCurrency | ConditionTermLimitRateCurrency | |||
| ConditionTermLimitRateQuantity | ConditionTermLimitRateQuantity | |||
| CndnTermLimitRateQuantityUnit | CndnTermLimitRateQuantityUnit | |||
| ConditionTermLimitRateStatus | ConditionTermLimitRateStatus | |||
| TotalQuotationPeriodDays | vlogp | TotalQuotationPeriodDays | ||
| FirstQuotationPeriodDate | vlogp | FirstQuotationPeriodDate | ||
| LastQuotationPeriodDate | vlogp | LastQuotationPeriodDate | ||
| QuantityPerDay | vlogp | QuantityPerDay | ||
| AdjustedQuantityPerDay | vlogp | AdjustedQuantityPerDay | ||
| TimeToMaturity | vlogp | TimeToMaturity | Time to Maturity | |
| PricedDays | PricedDays | |||
| UnPricedDays | UnPricedDays | |||
| TodayDays | TodayDays | |||
| PriceSettingMethod | vlogp | PriceSettingMethod | ||
| PriceSettingMethodStatus | vlogp | PriceSettingMethodStatus | ||
| ValidToDateTime | vlogp | ValidToDateTime | Time Stamp | |
| PricingProcedure | vlogp | PricingProcedure | Procedure | |
| PricingConditionTerm | vlogp | PricingConditionTerm | Term Number | |
| CmmdtyRootDocExternalNumber | vlogp | CmmdtyRootDocExternalNumber | ||
| CmmdtyDocumentExternalNumber | vlogp | CmmdtyDocumentExternalNumber |
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 P_Vlogp_ReportingDate.
-- 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.
-- Parameters: P_consumption_type : cmm_vlogp_consumptiontype, P_DisplayView : cds_view_uom, P_EndOfDaySnapshotFromDate : cmm_dend_cutdate, P_EndOfDaySnapshotToDate : cmm_dend_cutdate
CREATE VIEW P_Vlogp_ReportingDate AS
SELECT
vlogp.PricingKey AS PricingKey,
vlogp.Version AS Version,
vlogp.PricingDocumentItem AS PricingDocumentItem,
vlogp.ConditionType AS ConditionType,
vlogp.SubConditionType AS SubConditionType,
vlogp.EvaluationDate AS EvaluationDate,
vlogp.QuotationPeriodDate AS QuotationPeriodDate,
vlogp.SubstitutePriceQuotationDate AS SubstitutePriceQuotationDate,
vlogp.EndOfDaySnapshotFromDate AS EndOfDaySnapshotFromDate,
vlogp.EndOfDaySnapshotToDate AS EndOfDaySnapshotToDate,
vlogp.MTMDataSelectionType AS MTMDataSelectionType,
vlogp.MTMDataSourceType AS MTMDataSourceType,
vlogp.ValidityStartDate AS ValidityStartDate,
vlogp.ValidityStartDateTime AS ValidityStartDateTime,
vlogp.ValidityEndDate AS ValidityEndDate,
vlogp.ValidityEndDateTime AS ValidityEndDateTime,
vlogp.SourceTransactionEventDateTime AS SourceTransactionEventDateTime,
vlogp.SourceTransacEventEndDateTime AS SourceTransacEventEndDateTime,
vlogp.EndOfDaySnapshotDateTimeFrom AS EndOfDaySnapshotDateTimeFrom,
vlogp.EndOfDaySnapshotDateTimeTo AS EndOfDaySnapshotDateTimeTo,
vlogp.EndOfDaySnapshotDate AS EndOfDaySnapshotDate,
vlogp.EndOfDayBusinessEntityKey AS EndOfDayBusinessEntityKey,
vlogp.MaximumVersion AS MaximumVersion,
vlogp.PreviousVersion AS PreviousVersion,
vlogp.SalesOrganization AS SalesOrganization,
vlogp.DistributionChannel AS DistributionChannel,
vlogp.Division AS Division,
vlogp.Creditor AS Creditor,
vlogp.SoldToParty AS SoldToParty,
vlogp.Material AS Material,
vlogp.PhysicalCommodity AS PhysicalCommodity,
vlogp.Plant AS Plant,
vlogp.StorageLocation AS StorageLocation,
vlogp.Batch AS Batch,
vlogp.IncotermsClassification AS IncotermsClassification,
vlogp.IncotermsTransferLocation AS IncotermsTransferLocation,
vlogp.ConditionApplication AS ConditionApplication,
vlogp.SourceDocument AS SourceDocument,
vlogp.SourceDocumentBusObjType AS SourceDocumentBusObjType,
vlogp.OriginReferenceDocument AS OriginReferenceDocument,
vlogp.OriginReferenceDocumentItem AS OriginReferenceDocumentItem,
vlogp.OriginReferenceDocBusObjType AS OriginReferenceDocBusObjType,
vlogp.ReferenceDocument AS ReferenceDocument,
vlogp.ReferenceDocumentItem AS ReferenceDocumentItem,
vlogp.ReferenceDocBusObjType AS ReferenceDocBusObjType,
vlogp.DeliveryDate AS DeliveryDate,
vlogp.ExpectedPaymentDate AS ExpectedPaymentDate,
vlogp.StatisticsCurrency AS StatisticsCurrency,
vlogp.DocumentCurrency AS DocumentCurrency,
vlogp.ProfitCenter AS ProfitCenter,
vlogp.BusinessArea AS BusinessArea,
vlogp.PurchasingOrganization AS PurchasingOrganization,
vlogp.MaterialGroup AS MaterialGroup,
vlogp.IsIntercompanyTransfer AS IsIntercompanyTransfer,
vlogp.ConditionTermRate AS ConditionTermRate,
vlogp.ConditionTermRateCurrency AS ConditionTermRateCurrency,
vlogp.ConditionTermRateQuantity AS ConditionTermRateQuantity,
vlogp.ConditionTermRateQuantityUnit AS ConditionTermRateQuantityUnit,
vlogp.ConditionTermValue AS ConditionTermValue,
vlogp.ConditionTermValueCurrency AS ConditionTermValueCurrency,
vlogp.ConditionTermRateMktCurrency AS ConditionTermRateMktCurrency,
vlogp.ConditionTermName AS ConditionTermName,
vlogp.ConditionTermStatus AS ConditionTermStatus,
vlogp.RoundingDecimalPlaces AS RoundingDecimalPlaces,
vlogp.ConditionTermRateIsRounded AS ConditionTermRateIsRounded,
vlogp.ConditionTermRateNmrtr AS ConditionTermRateNmrtr,
vlogp.ConditionTermRateDnmntr AS ConditionTermRateDnmntr,
vlogp.ConditionTermExtensionUsage AS ConditionTermExtensionUsage,
vlogp.CmmdtyForwardIndexTiming AS CmmdtyForwardIndexTiming,
vlogp.MaturitySelectionType AS MaturitySelectionType,
vlogp.QuotationPeriodReferenceDate AS QuotationPeriodReferenceDate,
vlogp.CommodityCurve AS CommodityCurve,
vlogp.QuotationDateList AS QuotationDateList,
vlogp.QuotationPeriodStartDate AS QuotationPeriodStartDate,
vlogp.QuotationPeriodEndDate AS QuotationPeriodEndDate,
vlogp.DerivativeContrSpecification AS DerivativeContrSpecification,
vlogp.MarketIdentifierCode AS MarketIdentifierCode,
fetch the maturity key date from Nearby table case when vlogp.MaturitySelectionType = 3 then _NearByKeyDate.NearbyMaturityKeyDate else vlogp.MaturityKeyDate end as MaturityKeyDate AS MaturityKeyDateendasMaturityKeyDate,
vlogp.BasisType AS BasisType,
vlogp.BasisID AS BasisID,
vlogp.QuotationGroup AS QuotationGroup,
vlogp.QuotationGroupCalculationRule AS QuotationGroupCalculationRule,
vlogp.PricingStatus AS PricingStatus,
vlogp.ConditionTermRateFixation AS ConditionTermRateFixation,
vlogp.CndnTermRateFixationDate AS CndnTermRateFixationDate,
vlogp.CndnTermRateFixationTime AS CndnTermRateFixationTime,
vlogp.CndnTermExchRateFixationDate AS CndnTermExchRateFixationDate,
vlogp.CndnTermExchRateFixationTime AS CndnTermExchRateFixationTime,
vlogp.FixedExchRateDate AS FixedExchRateDate,
vlogp.ExchRateMaturityDate AS ExchRateMaturityDate,
vlogp.MaturitySelectionRoutine AS MaturitySelectionRoutine,
vlogp.DCSPeriodType AS DCSPeriodType,
vlogp.CommodityUnit AS CommodityUnit,
vlogp.CommodityQuantityInTermUnit AS CommodityQuantityInTermUnit,
vlogp.QuantitySign AS QuantitySign,
vlogp.MTMConditionGroupCategory AS MTMConditionGroupCategory,
vlogp.MTMConditionGroup AS MTMConditionGroup,
vlogp.MTMCalculationGroup AS MTMCalculationGroup,
vlogp.MTMAdjustmentType AS MTMAdjustmentType,
vlogp.MTMCalcGrpMarketPriceCondition AS MTMCalcGrpMarketPriceCondition,
vlogp.CommodityExposureQuantity AS CommodityExposureQuantity,
vlogp.CommodityExposureUnit AS CommodityExposureUnit,
vlogp.DCSReportingDate AS DCSReportingDate,
vlogp.PriceIsRealized AS PriceIsRealized,
vlogp.ContrPriceExposureIsExecuted AS ContrPriceExposureIsExecuted,
vlogp.CommodityPriceFixationStatus AS CommodityPriceFixationStatus,
vlogp.ImplicitFixationIsRelevant AS ImplicitFixationIsRelevant,
vlogp.ConditionTermRateIsFixed AS ConditionTermRateIsFixed,
MinimumConditionTermLimitRate,
MaximumConditionTermLimitRate,
ConditionTermLimitRateCurrency,
ConditionTermLimitRateQuantity,
CndnTermLimitRateQuantityUnit,
ConditionTermLimitRateStatus,
vlogp.TotalQuotationPeriodDays AS TotalQuotationPeriodDays,
vlogp.FirstQuotationPeriodDate AS FirstQuotationPeriodDate,
vlogp.LastQuotationPeriodDate AS LastQuotationPeriodDate,
vlogp.QuantityPerDay AS QuantityPerDay,
vlogp.AdjustedQuantityPerDay AS AdjustedQuantityPerDay,
vlogp.TimeToMaturity AS TimeToMaturity,
PricedDays,
UnPricedDays,
TodayDays,
vlogp.PriceSettingMethod AS PriceSettingMethod,
vlogp.PriceSettingMethodStatus AS PriceSettingMethodStatus,
vlogp.ValidToDateTime AS ValidToDateTime,
vlogp.PricingProcedure AS PricingProcedure,
vlogp.PricingConditionTerm AS PricingConditionTerm,
vlogp.CmmdtyRootDocExternalNumber AS CmmdtyRootDocExternalNumber,
vlogp.CmmdtyDocumentExternalNumber AS CmmdtyDocumentExternalNumber
FROM P_Vlogp_QtySplit_QtyPerDay_Adj
LEFT OUTER JOIN I_NearbyMaturityKeyDate AS _NearByKeyDate ON /* join condition not captured in parsed metadata */
;
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