on 08-30-2010 1:30 PM
Hi,
I am trying to generate a url for a document created in cv01n (which has a pdf attached within) by using a FM SCMS_DOC_URL_READ
Which return a url like this
Problem here is that this file is not getting opened automatically in adobe readder, rather i have to save it, explicitly as .PDF and then if i open it, its ok.
Tried to analyze headers and found that actuall pdf is encapsulated inside a multipart/form-data, and think that is the reason.
I am using SAP_R# staorage as storage_Category.
HTTP/1.1 200 OK
content-type: multipart/form-data; boundary=ejjeeffe0
content-length: 12416
x-datec: 2010-08-30
x-timec: 08:09:13
x-datem: 2010-08-30
x-timem: 08:09:13
x-numcomps: 1
x-contrep: DMS_C1
x-docid: 4C79BBCCC5A02AC0E1000000966AC45C
x-docstatus: online
x-pversion: 0045
server: SAP NetWeaver Application Server / ABAP 701
--ejjeeffe0
Content-Type: application/pdf
Content-Length: 12134
X-compId: ZNC_PRINT_INCIDENT.pdf
X-Content-Length: 12134
X-compDateC: 2010-08-30
X-compTimeC: 08:09:13
X-compDateM: 2010-08-30
X-compTimeM: 08:09:13
X-compStatus: online
X-pVersion: 0045
any hints?
regards
Subhash
Hi Subhash,
Wherever you are having links or urls in SAP or outside SAP for DMS , you need to click on the link and then you are entering into SAP DMS screen and then you have to open the original by clicking on displai icon or the original.
URL or links are only the links to enter into the SAP DMS and you need to click to view the documents. Nowhere facility is available for automatic opening of the original which is saved in SAP DMS.
Now check your URL if it enters the dms screen or able to view the ,pdf document then I think your requirement is fulfilled. and for opening this document you need to click on it.
I hope this will resolve the query.
Regards,
Ravindra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ravindra thanks for inputs.
as i said with this link contents of pdf are opened but not associated with adobe reader so the only tihng missing here is association.
I get open or save dialogue on MS XP but i have to choose between list of applications (open with dialog box appears)
because content type is not application/pdf on top level.
hope it make clear
Regards
Subhash
Hi Again,
another quick finding
if I change this command parameterlike 'get' instead of 'docGet' in url then i get this error but looks like actual file is not encapsulated
error is:
Signature Required: ContRep. DMS_C1, DocId 4C79BBCCC5A02AC0E1000000966AC45C, DocProt dru, AccessMode r
Subhash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.