Ansicht
Dokumentation
/FRE/DB_NOTES_READ_NOTES - reads a set of notes from DB table
ABAP Short Reference General Material DataThis documentation is copyright by SAP AG.
Functionality
The function module reads notes from the tables /FRE/NOTES and /FRE/NOTES_TXT.
There are six different ways to read the notes:
- To read several notes simultaneously, you can transfer the table IT_NOTES 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 read all of the expired notes, set the parameter I_DEL_EXPIRED_NOTES = 'X'.
- To read 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 read all of the notes for the key field 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.
- The system can read an individual note when you transfer 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 to the parameter I_NOTE_KEY_1and I_BO_TYPE.
A combination of the read types 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 I_NOTE_KEY_2 (not the other way around).
Parameters
ET_NOTESIT_NOTES
I_BO_TYPE
I_EXISTANCE_TEST
I_NOTE_KEY_1
I_NOTE_KEY_2
I_READ_EXPIRED_NOTES
Exceptions
/FRE/CX_DB_NOTES_WRONG_PARAMFunction Group
/SAPLDB_NOTESBAL Application Log Documentation Fill RESBD Structure from EBP Component Structure
This documentation is copyright by SAP AG.
Length: 2398 Date: 20240420 Time: 061222 sap01-206 ( 34 ms )