Skip to Content
0
May 04, 2007 at 02:25 PM

ESS > Time Statement web dynpro - sending PDF by email

39 Views

Hi,

We have a problem using the 'Email as Copy' function of Adobe Reader, in the ESS Time Statement web dynpro, where the email attachment has the incorrect name & (more importantly) no file extension. By viewing the source of the page, I can see that the source of the PDF is given by something like:

src="../../sap.com/esstim/TimeStatementPer/wd_key10_1178208979372/unkn

own.pdf?sap.session.download=1&sap-wd-

cltwndid=WID1178208961075&sap-wd-appwndid=C0kKhokNt8gmqzuoawWYOg%3D%

3DNJ6W%2BjkhuB%2BxTbWPy1uQlg%2f%3D&sap-wd-norefresh=true"

The problem occurs when the sap-wd-appwndid value contains the string "%2f". When this happens, Adobe gives the name of the pdf as whatever characters occur after this (in the example above, it creates an attachment called "%3D&sap-wd-norefresh=true") - I assume because Adobe interprets it as a "/" of the original URL. When sap-wd-appwndid doesn't contain the characters "%2f", the attachment is correctly named "unknown.pdf".

Is there a way to stop the value of sap-wd-appwndid containing the characters

%2f? Or any other solution?

Many thanks in advance.

Best regards

Jane