Documentation View

We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

/FRE/DB_NOTES_DELETE_NOTES - delete notes

/FRE/DB_NOTES_DELETE_NOTES - delete notes

CL_GUI_FRONTEND_SERVICES - Frontend Services   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

The function module deletes notes from the tables /FRE/NOTES and /FRE/NOTES_TXT.

There are six different ways to delete notes:

  1. To delete several notes simultaneously, you can transfer the table IT_NOTE that contains the full keys (note_key_1, note_key_2 and bo_type) of the notes to be read (values other than the key values are not taken into account).
  2. To delete all of the expired notes, set the parameter I_DEL_EXPIRED_NOTES = 'X'.
  3. To delete all of the notes for the key field note_key_1, you have to transfer the relevant values to the parameter I_NOTE_KEY_1.
  4. To delete all of the notes for the key fields note_key_1 and note_key_2, you have to transfer the relevant values to the parameter I_NOTE_KEY_1 and I_NOTE_KEY_2.
  5. You can delete an individual note by transferring the key values to the parameters I_NOTE_KEY_1, I_NOTE_KEY_2 and I_BO_TPYE.
  6. To delete all of the notes for the key fields note_key_1 and bo_type, you have to import the relevant values.

A combination of the individual types of deletion 1 - 6 is not supported.

Example

Notes

To read notes about the context PRODUCT and ORDER PROPOSAL, you have to transfer the product GUID to I_NOTE_KEY_1 and the order proposal GUID to the I_NOTE_KEY_2 (not the other way around)

Further information





Parameters

ET_ERROR_NOTES
IT_NOTES
I_BO_TYPE
I_DEL_EXPIRED_NOTES
I_NOTE_KEY_1
I_NOTE_KEY_2
I_NO_COMMIT

Exceptions

/FRE/CX_DB_NOTES_DB_ERROR
/FRE/CX_DB_NOTES_WRONG_PARAM

Function Group

/SAPLDB_NOTES

ROGBILLS - Synchronize billing plans   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 2257 Date: 20211129 Time: 090920     sap01-206 ( 33 ms )