Ansicht
Dokumentation

/FRE/DB_MSG_READ - Reading Module for Exceptions

/FRE/DB_MSG_READ - Reading Module for Exceptions

BAL Application Log Documentation   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module is the standard read module for exceptions in SAP Retail Forecasting and Replenishment (F&R)

You can use various input parameters to specify in greater detail those F&R exceptions that have to be read. The function module controls the selection that offers the best performance in each case. The function module takes the following configuration information into account during the selection:

  • Have you subscribed to one or more F&R business areas?
If you have not subscribed (and the parameter I_SUBSCRIPTION_CHECK has the default value 'X'), an exception of the type /FRE/CX_DB_MSG_USER_NO_SUBSCR is triggered in the interface.
  • Have you set a resubmission indicator for messages with particular semantics?
If so, the module does not return these messages (provided that the complete message information is expected as the export parameter rather than only the message handles).

All of the parameters are optional. If no parameter entered, the module reads all of the F&R exceptions that exist in the database. For performance reasons, SAP recommends that you avoid this if possible.

Transferring one or more of the value range tables without passing any context or exception handles results in a full table scan, which you should avoid for performance reasons if possible. (Parameter I_R_STATUS is an exception that does not result in a full table scan, since there is an index in the field 'status.')

If you enter more than one input parameter, they are linked with an AND relationship.

Example

Notes

Further information





Parameters

E_RESTRICTED
E_T_MSG
E_T_MSGHDL
IS_MSGID_MSGNO
I_HIGH_LEVEL_EXC
I_LOCPROD_ONLY
I_LOW_LEVEL_EXC
I_READ_FOR_ANALYTICS
I_READ_FOR_SUI
I_RELEASEFLAG_CHECK
I_RESUBMISSION_CHECK
I_RETURN_MSGHDL
I_R_CREATIONTSTAMP
I_R_DELETIONTSTAMP
I_R_MODE
I_R_MSGTYPE
I_R_PROBCL
I_R_STATUS
I_R_USER
I_SUBSCRIPTION_CHECK
I_T_CONTINFO
I_T_CONTINFO_RANGE
I_T_EXC_AREA
I_T_MSGHDL

Exceptions

/FRE/CX_DB_MSG_FOREIGN_LOCK
/FRE/CX_DB_MSG_NO_ENTRY_FOUND
/FRE/CX_DB_MSG_PARAM_INCONS
/FRE/CX_DB_MSG_SELECT_FAILED
/FRE/CX_DB_MSG_USER_NO_SUBSCR
CX_STATIC_CHECK

Function Group

/SAPLDB_MSG_HANDLING

Addresses (Business Address Services)   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 5402 Date: 20240420 Time: 061554     sap01-206 ( 56 ms )