‎2020 Sep 28 1:45 PM
Hi!
I need to get the data of TEXT (below) before save in the TCODE 'FB02'.
Does anybody how I can get the data? ( Internal table or variable )
I know that this screen is run by FM 'FI_TEXTS_DOC_ITEM'.
Thanks!

‎2020 Sep 28 2:08 PM
Hello claytoncbj
Check with the READ_TEXT function.
Kind regards,
Mateusz
‎2020 Sep 28 3:49 PM
It doens´t work. It works after the document was saved.
Thank you!
‎2020 Sep 28 3:54 PM
Those long texts may already have been read, and possibly modified.
‎2020 Sep 28 5:50 PM
I got the code to solve my problem
......
* GET Text
* Objektdaten zu Notizen
TYPES: BEGIN OF eenot_notice,
* PUBLIC-Daten
public TYPE eenot_notice_public,
* Rahmenüberschrift
ueberschrift(30),
* Control data
c TYPE eenot_notice_control,
notizen TYPE eenot_notice_table,
END OF eenot_notice.
* Daten mit globalem Charakter
DATA note TYPE eenot_notice.
DATA: texte TYPE eenot_single_notice.
DATA:
* l_dynp_line LIKE eeno_dynp-zeile,
l_line TYPE LINE OF eenot_single_notice-inlines,
l_index TYPE i.
l_index = 1.
CLEAR l_line.
FIELD-SYMBOLS <fs_tdline> TYPE any.
ASSIGN ('(SAPLEENO)NOTE-NOTIZEN') TO <fs_tdline>.
IF <fs_tdline> is ASSIGNED.
note-notizen[] = <fs_tdline>.
READ TABLE note-notizen INTO texte INDEX 30.
IF SY-SUBRC = 0.
READ TABLE TEXTE-INLINES INTO l_line INDEX l_index.
ENDIF.
ENDIF.
..
‎2020 Sep 29 7:54 AM
Hello Clayton
Please add your solution as an answer and mark it as the correct one. This way others will know your issue was solved by this.
Kind regards,