Reading long Phrase text is bit tricky in the program. Use below to do this.
1. Get RECNROOT from ESTPH table for Phrase key.
2. Get RECN from ESTPP for the language and RECNROOT.
3. We can identify whether Longtext is there or not, using field ESTPP-LTXTFLG.
4. use READ_TEXT function module as we do for other modules. use below Input parameters
TEXT ID - 0001
Language - Phrase language
Text Object - C_SHES_TPP
TDNAME = CONCATENATE 'ESTPP'
ESTPP-RECN
'00000000000000000000'
Example.
Please check attached the program.