Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to retrieve the particulars/ long text of a held document.

0 Kudos

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.

9 REPLIES 9

muttepawar-2009
Active Participant
0 Kudos

Go to T-code=SE38 and Run a program called ""RFTMPBLU"" for conversion of hold documents for getting the particulars / long text of a held document.

0 Kudos

after I converted the hold documents, what fm do i need to use to retrieve the the long text/ particulars? thanks for the response I'll update you on this. Thank you very much.

0 Kudos

i already run the program, it says. no conversion is necessary, all held documents are correct.

Sandra_Rossi
Active Contributor
0 Kudos

Don't you think lower case is the issue? (object = 'doc_item')

0 Kudos

Nope, I tried all caps. but no luck. still doesn't work. the error points at the name. Do you have any other method? thanks

0 Kudos

Many ways to do, put a break point inside READ_TEXT or EDIT_TEXT. Open the document in tcode and you will it stops analyse the contents. Object name should be CAPS for sure as suggested. You can find the same information once the long text screen open in menu items.

Sandra_Rossi
Active Contributor
0 Kudos

Did you try with direct test via SE37?

0 Kudos

yes, I've tried that but it always show an error that points out on the name.

these are the parameters I have entered in the fm.

0 Kudos

NEED HELP!