Advertising:

Read texts and notes with classic class CL MM PUR TEXT FACTORY

From SAP Knowledge Base

Have a look at Texts_in_master_records_and_documents to get combinations to read different texts and notes.

Note
Because of the class name you can think it's only for MM purchasing texts, but you can also use it for all other texts, because the class has a generic fallback to FM READ_TEXT. Check a example use in class CL_MM_PUR_PR_PROFNL_DPC_EXT.
DATA pr_notes TYPE REF TO if_mm_pur_longtext.
pr_notes = cl_mm_pur_text_factory=>get_instance( iv_source_object = text_object ).
CALL METHOD lo_pr_notes->get_text(
      EXPORTING
        iv_text_id          = text_id
        iv_language         = text_language
        iv_text_object      = text_object
        iv_text_name        = text_objectkey
        iv_is_draft         = is_draft
      IMPORTING
        ev_text             = DATA(text)
        ev_fixed_indicator  = DATA(fixie)
        ev_text_displaymode = DATA(text_displaymode)
        ev_adopted_from_ref = DATA(adopted_from_ref)
).

This is a wiki created in the spare time of a private person working in the SAP ERP area. The aim is to collect knowledge for the own use. The wiki is maintained to the best of knowledge and belief.
All products shown, including in form of screenshots, belong to SAP SE. Their trademarks are, among others: SAP®,ABAP®,SAP Fiori®,SAP HANA®,SAP NetWeaver®,SAP® R/3®,SAP S/4HANA®,SAP S/4HANA® Cloud