Hello Tobias,
okay, then take a look at the FM READ_TEXT, SAVE_TEXT or the program SAPLSTXD - SAPscript program interface 1. Here you find all the FMs that deals with texts in the SAP Systems. Maybe you want to get a Standard text created with SO10. Use READ_TEXT with the Import parameters
CLIENT 500
ID ST
LANGUAGE EN
NAME ZTEST
OBJECT TEXT
ARCHIVE_HANDLE 0
LOCAL_CAT
you get the text back to the table LINES. If you want to save the text, use FM SAVE_TEXT. But this is a bit more complicated. Read the documentation of the FMs and you get an idea of how they works.
I've added an example for storing sales text in the material master data.
Hope this helps
Regards,
Thomas