Ansicht
Dokumentation

/FRE/DB_MSG_CHANGE - Insert, Update or Delete F&R Exception Information in Database

/FRE/DB_MSG_CHANGE - Insert, Update or Delete F&R Exception Information in Database

ABAP Short Reference   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module is responsible for database updates relating to F&R exceptions in SAP Retail Forecasting and Replenishment (F&R). It covers the following cases:

  • Insert (when parameter IS_PROCESS_STAMP is filled)
  • Update (when parameter I_T_MSG_UPDATE or I_T_CONT_UPDATE is filled)
  • Delete (when parameter I_T_MSGHDL_DELETE is filled)

In accordance with the general database access concept of SAP Retail Forecasting and Replenishment, this function module covers three different cases:

  • INSERT: Insertion of information about new F&R exceptions
  • UPDATE: Update of information about existing F&R exceptions:
  • Additional data (for example, the insertion of new context information about an existing message)

  • Changes to the attributes (for example, the status) of existing F&R exceptions

  • DELETE: Deletion of outmoded or already processed messages and exceptions from the database

Important:

When you call a function module, you can only process one of the three cases (insert OR delete OR update) at a time.

Example

Notes

Further information





Parameters

E_DELETED_RECORDS_NUMBER
E_INSERTED_RECORDS_NUMBER
E_UPDATED_RECORDS_NUMBER
IS_PROCESS_STAMP
I_COMMIT_WORK
I_T_CONT_UPDATE
I_T_MSGHDL_DELETE
I_T_MSG_UPDATE
I_UPDATE_TASK

Exceptions

/FRE/CX_DB_MSG_DATA_INCONSISTD
/FRE/CX_DB_MSG_DELETE_FAILED
/FRE/CX_DB_MSG_HANDLING
/FRE/CX_DB_MSG_INSERT_FAILED
/FRE/CX_DB_MSG_NOT_AVAILABLE
/FRE/CX_DB_MSG_NO_CHANGE_TO_DO
/FRE/CX_DB_MSG_PARAM_INCONS
/FRE/CX_DB_MSG_SAVE_NT_ALLOWED
/FRE/CX_DB_MSG_UPDATE_FAILED
/FRE/CX_DB_MSG_WRONG_PRO_STAMP
CX_STATIC_CHECK

Function Group

/SAPLDB_MSG_HANDLING

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 4258 Date: 20240508 Time: 203557     sap01-206 ( 36 ms )