Ansicht
Dokumentation
/FRE/DB_NOTES_DELETE_NOTES - delete notes
ABAP Short Reference rdisp/max_wprun_time - Maximum work process run timeThis 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:
- 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).
- To delete all of the expired notes, set the parameter I_DEL_EXPIRED_NOTES = 'X'.
- 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.
- 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.
- 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.
- 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_NOTESIT_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_NOTESrdisp/max_wprun_time - Maximum work process run time Addresses (Business Address Services)
This documentation is copyright by SAP AG.
Length: 2257 Date: 20240420 Time: 180820 sap01-206 ( 42 ms )