Skip to Content
author's profile photo Former Member
Former Member

File is spoiled or decoded

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 26, 2009 at 09:37 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.