My requirement is to download attachment for the CJ20n attached with each project.
I am using Functions SREL_GET_NEXT_RELATIONS
and then SO_DOCUMENT_READ_API1 to read the contents of the attachments.
there is a parameter object_content which returns the contents of the file.
For text file its returning the exact content and i can write the file using those contents.
But in case of PDF i don't know how to generate the file out of that content. because its not a simple text. I am working on 4.6C system from where i have to down load the file and upload it to ECC 6.0