Show TOC

 Offers by Week

Technical Information

Entity

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

Calculation View

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

Role

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

 

The WeeklyOfferDataParameters entity retrieves the offers aggregated by week for the requested product locations and time period.

Input Parameters

This entity requires the following input parameters:

  • P_SAPClient

  • P_ProductId

  • P_LocationId

  • P_DateFrom

  • P_DateTo

Example URL for Calling the Entity

http://<domain-name>:<port-number>/sap/hba/t/rtl/udf/afc/odata/AnalyzeForecast.xsodata/WeeklyOfferDataParameters(P_SAPClient='<client-number>',P_ProductId='<product-id>',P_LocationId='<location-id>',P_DateFrom='<from-date>',P_DateTo='<to-date>')/Results?$format=json

Result

This entity returns the following information:

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

Column

Property Type

SAP_CLIENT

Attribute

OFFER_ID

Attribute

WEEK_FROM

Attribute

WEEK_TO

Attribute

More Information

Front-end SAP Fiori app: Analyze Forecast