cancel
Showing results for 
Search instead for 
Did you mean: 

File is spoiled or decoded

Former Member
0 Kudos

Hi All,

I am working on a email requirement in Adobe Forms in which a Adobe doc has to be sent as an attachment. I am getting the attachment but when i am trying to open it its displaying a message that the file is spoiles or decoded. How to solve this anybody has faced this problem, please helpout.

Regards,

Aarthi.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Check out the SFPOUTPUTPARAMS structure in the job open function module. You need to pass the some values to fun. module through this structure. For triggering mail form to be configured with the transmission medium '5' (external send ) or '7' (simple mail). Then give the condition as SFPOUTPUTPARAMS-GETPDF = 'X'. Then u will get the PDF content in the parameter FP_RESULT of the generated function module. By using this parameter u need to write the code for PDF attachment.

Check out the below code.

If SFPOUTPUTPARAMS-PREVIEW is initial .

if NAST-NACHA = (5 or 7).

SFPOUTPUTPARAMS-GETPDF = 'X'.

endif.

else

SFPOUTPUTPARAMS-PREVIEW = 'X'.

endif.

Regards,

Vineel.

Former Member
0 Kudos

Thanks its very helpful and its done.

Answers (0)