/FRE/DB_NOTES_DELETE_NOTES - delete notes

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

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

ABAP Short Reference   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.


Length: 2275 Date: 20120524 Time: 114657     triton ( 76 ms )