Ansicht
Dokumentation

/FRE/DB_MSG_READ_FOR_OPM - Reads OPM Relevant Exceptions for Location Products

/FRE/DB_MSG_READ_FOR_OPM - Reads OPM Relevant Exceptions for Location Products

General Data in Customer Master   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module is intended for reading exceptions in SAP Retail Forecasting and Replenishment (F&R) and thereby fulfills the specific requirements of order proposal management.

If only the IT_PRODUCT parameter has an entry, but no location is provided with the parameter I_LOCATION, the module delivers all product-related F&R exceptions that are relevant for OPM. ("Relevant for OPM" means that the exception attribute OPM_FLAG is set, which prevents an order proposal related to this exception from being released automatically.)

If a location AND products are provided, the module returns all location-product-related F&R exceptions (with parameter ET_MSG_LOCPROD) on the one hand and all location-related (but not product-related) F&R exceptions (with parameter ET_MSG_LOC) on the other hand. In this case, too, the module returns only the OPM relevant exceptions.

Note: The module only returns exceptions that have the status 'not yet processed' and that have not yet reached their expiration date.

Example

Notes

Further information





Parameters

ET_MSG_LOC
ET_MSG_LOCPROD
ET_MSG_PROD
IT_PRODUCT
I_LOCATION

Exceptions

/FRE/CX_DB_MSG_NO_ENTRY_FOUND
CX_STATIC_CHECK

Function Group

/SAPLDB_MSG_HANDLING

Fill RESBD Structure from EBP Component Structure   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 2103 Date: 20240416 Time: 230941     sap01-206 ( 40 ms )