Hi Dieter ,
I think There are two key conditions to save text with function module.
- Be sure that you are using correct Text Name , Text ID , Text Object and Language. You can find these attributes from VA03. For detailed check the link Instagram ( But If your attributes wasn't correct you couldn't get text from read text )
- Use Exporting Parameter savemode_direct with 'X' as in the following code. ( Don't forget to close your COMMIT_TEXT and COMMIT WORK commands)
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
client = sy-mandt
header = wa_head
savemode_direct = 'X'
TABLES
lines = it_text
EXCEPTIONS
id = 1
language = 2
name = 3
object = 4
OTHERS = 5.
IF sy-subrc <> 0.
ENDIF.
Regards
Sapromancer
Visit My Instagram Page.