Skip to Content
0
Apr 13, 2012 at 02:33 PM

Read attached document from crmd_order as a binary file or as attachment

253 Views

Hi Gurus,

I was trying to read the attached PDF document to an order and convert it as binary file (as attachment). I was able to get the file url using

cl_crm_documents=>get_with_url. But the url it returns has a GET method and I am not able to get past this. I need to read the file and convert it a binary file (as attachment).

The below is the format of the url.

http://<Domain>:<port>/sapcs?get&pVersion=<version>&contRep=<contrep>&docId=<guid>4&compId=<filename>&accessMode=r&authId=<authid>

Any help is appreciated.