Show TOC

 Read Demand Forecast

 

To read the demand forecast data by ID.

Technical Data

Entity Type

Service Operation

Software Component Version

RTLDDF 200

Release State

Released

Technical Name

DemandForecastTDMByIDQueryResponse_In

Namespace

http://sap.com/xi/RTLDMF/Global2

Category

SAP A2A

Direction

Inbound

Mode

Asynchronous

Idempotency

Not applicable

Change/Update Behavior

Type 1

P2P Communication Enabled

True

Business Context and Use

The Read Demand Forecast service operation is used to provide the demand forecast data to an external system, which requests the forecast for use in other processes.

Features

The inbound operation provides the demand forecast data.

Message Types
  • DemandForecastTDMByIDQuery_sync

    Receives data for the demand forecast search.

    This type can contain data for the following: Time Bucket Size Code, Forecast Period, Material ID, Location ID, Retail Incentive Offer ID.

  • DemandForecastTDMByIDResponse_sync

    Returns the demand forecast data, which is based on the search criteria from the inbound message. At least one input parameter is required in the query. The result is returned based on the AND operation over all inputs provided.

  • StandardMessageFault

Notes on SAP Implementation

  • The generated proxy in the Demand Data Foundation (DDF) back-end system is the /DMF/CO_FND_DMNDFCSTRPLCTBLK ABAP class. The proxy data type is used in the DDF back-end system for the /DMF/FND_DMND_FCST_RPLCTN_BLK bulk replication message.

  • The method calls are as follows:

    • /dmf/cl_dmnd_fcst_assist=>mapping_inbound_qr

    • /dmf/cl_dmnd_fcst_assist=>read_dmnd_fcst

    • /dmf/cl_dmnd_fcst_assist=>mapping_outbound_qr

  • If you do not select the Unlimited checkbox and send 0 (zero) as the maximum value, the system takes the upper limit as 1.

Enhancements

The Business Add-In (BAdI) in the /DMF/SE_SPOT_DMNDFCST enhancement spot is available for this operation. The BAdI is used to enhance the inbound and outbound messages, and it is defined as an external customer BAdI. A default implementation is not provided.