Dear forumers,
I've managed to resolve the issue; so, thanks a lot for all your help.
Appreciate them much.
What I've done:-
- After SO_OBJECT_READ, determine the equivalent binary-type content of the internal table, OBJCONT.
- Thereafter, determine the binary file size as well.
- Finally, execute the GUI_DOWNLOAD method by passing in the binary file size, the relevant binary internal table (for PDF) and the file type = 'BIN'. (This is done if the document is with the extensions, PDF or non-TXT.)
- Execute the GUI_DOWNLOAD method by passing in the relevant OBJCONT internal table and the file type = 'ASC'. (This is done if the document is with the extension, TXT.)