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: 

Downloading attachmnet

Former Member
0 Kudos

Hi

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

Regards

Naresh

1 REPLY 1

Former Member
0 Kudos

Got the solution.

Simply using Download function with the object_content.