SAP Function RP_PRINT_GET_TEXT -

Parameter Reference Type Length Default Optional Text
DATA_ELEMENT DD04L-ROLLNAME C 30
TYPE 0 Type of text to be read

Parameter Reference Type Length Text
LENGTH DD04L-SCRLEN1 N 2 Length of text read from DD
TEXT DD04T-REPTEXT C 55 Text read from DD

Exception Text
NOT_FOUND Read error in DDIC tables
WRONG_TYPE Type not in area 1-4