I have used the 'read_text' function module, and to fill in the parameters needed in the fm, i looked in the header of the long text, all the needed parameters where there but the fm always show error on the name.
the parameters goes like this.
lang = sy-langu
id = '0001'
name = '1001 20180001'
object = 'doc_item'
that was the data provided by the header but since it's a held document, there's no document number aside from the temporary document number inputted by the user.
i tried using the temporary document number but no luck.
i tried the stxl and stxh tables but i can't find it there.
Please help.