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

CPI1466 during Backup   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

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&Rexceptions (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   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.


Length: 2201 Date: 20120524 Time: 114106     triton ( 77 ms )