Ansicht
Dokumentation

/FRE/DB_NOTES_READ_NOTES - reads a set of notes from DB table

/FRE/DB_NOTES_READ_NOTES - reads a set of notes from DB table

ABAP Short Reference   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

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

There are six different ways to read the notes:

  1. 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).
  2. To read all of the expired notes, set the parameter I_DEL_EXPIRED_NOTES = 'X'.
  3. 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.
  4. 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.
  5. 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.
  6. 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_NOTES
IT_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_PARAM

Function Group

/SAPLDB_NOTES

BAL 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 )