My requirement is to print all the GOS attachments of a Quality Notification.
I have output from FM SO_DOCUMENT_READ_API1 (reading GOS attachments). I would like to print the content directly, and the content could be of word, excel, pdf, jpg, notepad etc.,
Is there any function module or any class/methods that can take in the content and print them according to the file type? If not, please suggest any alternative solution/ideas.