Show TOC

 Time Series by Week

Technical Information

Entity

sap.hba.t.rtl.udf.afc.odata::WeeklyTimeseriesDataParameters

Calculation Views

sap.hba.t.rtl.udf.afc.v::WeeklyTimeseriesQuery

Role

See the Implementation Considerations under OData Service for the Analyze Forecast SAP Fiori App.

 

The WeeklyTimeseriesDataParameters entity retrieves the time series aggregated by week for the requested product locations and time period.

Input Parameters

This entity requires the following input parameters:

  • P_SAPClient

  • P_Language

  • P_DiagnosticId

  • P_TsType

  • P_ProductId

  • P_LocationId

  • P_SalesOrganizationId

  • P_DistributionChannelId

  • P_OrderChannelId

  • P_DateFrom

  • P_DateTo

Example URL for Calling the Entity

http://<domain-name>:<port-number>/sap/hba/t/rtl/udf/afc/odata/AnalyzeForecast.xsodata/WeeklyTimeseriesDataParameters(P_SAPClient='<client-number>',P_Language='<language-code>',P_DiagnosticId='<diagnostic-id>',P_TsType='POS_TS',P_ProductId='<product-id>',P_LocationId='<location-id>',P_SalesOrganizationId='<sales-org-id>',P_DistributionChannelId='<distribution-channel-id>',P_OrderChannelId='<order-channel-id>',P_DateFrom='<from-date>',P_DateTo='<to-date>')/Results?$format=json&$expand=Holidays

Result

This entity returns the following information:

sap.hba.t.rtl.udf.afc.v::WeeklyTimeseriesQuery

Column

Property Type

SAP_CLIENT

Attribute

CALENDAR_WEEK

Attribute

MIN_WEEK_DATE

Measure

MAX_WEEK_DATE

Measure

SALES

Measure

CORRECTED_SALES

Measure

MODEL_FIT

Measure

FORECAST

Measure

FCI

Measure

PRICE

Measure

OUT_OF_STOCK

Measure

OUTLIER

Measure

CLOSED

Measure

DELISTED

Measure

DECOMP_BASE

Measure

DECOMP_PRICE

Measure

DECOMP_SEASON

Measure

DECOMP_OFFER

Measure

DECOMP_CALENDAR_EVENT

Measure

CALENDAR_EVENT_COUNT

Measure

NUMBER_OF_VALUES

Measure

LANGUAGE

Attribute

More Information

Front-end SAP Fiori app: Analyze Forecast