Script on parent pdf opens attached pdf, but attached is no longer Reader-enabled

Hello everyone,
I have a fill-in pdf that uses the following JS to auto open an attached pdf:
this.exportDataObject({cName: "mypdf.pdf", nLaunch: 2});
Now, the problem is that the user (if using Adobe Reader) cannot save data entered into the attached document.  Using Acrobat, I reader-enabled the attached file "mypdf" before attaching it to the parent pdf.  Somehow, when it becomes attached, it just loses this functionality.  Even when I reader-enable the parent pdf, it warns me that it cannot reader-enable attached files.
This seems like a huge flaw, so I imagine there's a solution.  Any ideas? Anyone face this problem before?

That's extremely helpful. Thanks. Works fine now. David

Similar Messages

  • How do I use lingo script in director to open a pdf

    I am trying to create a button that, when pressed, will open
    a pdf file. I have scripted the button as follows
    on mouse up me
    open "flyer.pdf"
    end
    I have the flyer.pdf file in the root folder, but when I
    publish the movie and try to test it, on a mac using OS X, it trys
    to open clasic (I want it to open in OS X or higher), and on a PC,
    it does nothing. One thing I noticed is that when the CD is put
    into a PC, it drops the .pdf extention. What am I doing wrong? How
    can I get this file to open on both a PC and a mac? If it is
    something simple, can you write me a script that I can copy a paste
    that will work? Thanks so much.
    Andy

    Hi Andy,
    To open a file that needs another application, you need to
    tell Director
    what application to use. You can test to see what
    applications the user
    has that will show a .pdf and use the path to that file, or,
    you can
    install acrobat reader for each platform on your CD and then
    use those,
    or, you can use an Xtra that will find the application and
    open the file.
    Search this newsgroup for any or all of those solutions. You
    will find
    hundreds, maybe even thousands, of solutions.
    Rob
    Rob Dillon
    Adobe Community Expert
    http://www.ddg-designs.com
    412-243-9119
    http://www.macromedia.com/software/trial/

  • Can't open pdf files in IE8, but can in Chrome, using Reader 9

    Settings for Adobe Reader 9 include, under "Edit->Preferences->Categories:Internet->Display PDF in browser (enabled)", (Adobe Reader 9 settings should be all default).   Internet security settings in IE8 are also default.
    Opening a link to a pdf file, say from a search engine query, used to take place in the browser window.  No longer so.   All I get when selecting a link to a pdf file is a blank, grey Adobe Reader screen launching, not from within the browser, but as an external window with a blank error dialog box, - and there it hangs.   No document is loaded and the web page crashes, forcing a recovery of the tab by IE8.   I recently updated both to IE8 and Adobe Reader 9 so I don't know which is the source of the problem.
    I have been able to work around the problem in IE by right-clicking the pdf link and "save as", then opening the downloaded document from the desktop.   Reader otherwise works fine as a stand-alone utility to open pdf files.   Also, Reader works as expected from within Chrome, and pdf file links are opened effortlessly as a tab within Chrome.
    I mostly use IE and do not like Chrome for other reasons, and would like to fix IE so it properly opens pdf files within the browser.   As it is now, pdf files simply crash IE, forcing its automated error recovery.    I have seen similar questions elsewhere, but none of the solutions offered seem to work.

    Hi there
    I have to analyse similar cases and was wondering if you found any solution.
    Did u try to disable the "PDF in Browser"-setting in Adobe? The PDF will open in the Adobe window and not in the browser window anymore, but at least it didn't crash.

  • I get a message - Adobe can't download a PDF with this browser - download by your browser and the try to then open the PDF open the PDF

    I am using Firefox 17.0.1 for the MAC - I have no idea about how I would go about downloading the information to then open the PDF
    This is a new problem because in the past I have been able to open PDF's and I can open saved PDF's

    Check your Plugin
    *https://www.mozilla.org/en-US/plugincheck
    Make use of Adobe Reader to View and Download PDF.
    *https://support.mozilla.org/en-US/kb/use-adobe-reader-plugin-view-or-download-pdf-files
    Otherwise, Make use of FOXIT Reader.
    *http://www.foxitsoftware.com/downloads/
    *http://www.foxitsoftware.com/Secure_PDF_Reader/addons.php

  • Premiere freezes when opening Help PDF file

    When I click help in the help menu, the PDF opens right away, but then Premiere freezes for about 40 seconds. I suspect it is trying to download some Internet content, but this behavior needs to be fixed. My Mac Pro is connected to an AirPort Extreme via wifi, but this network is not connected to the Internet, it's just for internal file transfers. If I turn off the computer's wifi, this problem does not happen. I get the same symptoms with Premiere, After Effects, an Media Encoder. All of the help PDFs are downloaded already and show current in Adobe Help.

    Hi, spookybathtub,
    Just confirming that you're running Premiere Pro CS6?
    Thanks,
    Kirsti

  • Password to open a PDF

    I wonder if you can place automatically by a script a password to open a PDF, which comes from a written text within the content of the PDF

    You can not.

  • Javascript will not open in mozllia but it will open in internet explorer

    Java script is enabled in Mozilla options. When I try to open an item with script it will not open in Mozilla.but when I try to access the same item it will open Internet Explorer

    No problems here to open the login page.<br />
    It is a frameset with the second frame being the login form: https://www.ingdirect.com.au/client/Login.aspx
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • After installing the latest version of iTunes , I can no longer export files from EZ Vinyl Converter to iTunes. I tried restoring an older version which accepted these files, but that version no longer will open my library. I have been archiving my albums

    After installing the latest version of iTunes, I can no longer export music files converted by EZ Vinyl Conversion software to iTunes, which is the only export option available in the software. I have been converting my vinyl records, tapes and cd's to MP3 files in iTunes for about a year now, and have well over 1000 man-hours invested in this effort. I tried restoring the last version of iTunes, but it will no longer read my library, as, apparently, the new version modified the library file(s) in some way. I want to reenable this export-import function to finish my archival. What is necessary ???

    Apparently, security programs like Macafee and Norton view Itunes updates as new programs and block then from access. If you add Itunes to the list of exemptions, it solves the problem.

  • Script to open an pdf attachment in the adobe form is not working.

    Hello Experts,
    I have a requirement where i should open pdf attachment from the attachment tab of adobe form.
    For this i have written below  java script in the click event of a button ->
    I have an attachment pdf with name attach.pdf in the attachment tab of adobe form.
    var oObj = event.target;
    oObj.openDataObject();
    ->When i click on the button it is giving the error -> TypeError: Invalid Argument type.
                                                                                    Parameter cName.
    Can any one help me how can i use openDataObject method to open an attachment from the attachment tab of adobe form.
    Regards,
    Menaka.H.B
    Moderator message: wrong forum, please post again in Adobe Interactive Forms.
    Edited by: Thomas Zloch on Oct 18, 2010 12:52 PM

    Hi,
    Please refer to the thread below where this issue has been discussed:
    Creative cloud wants to make changes
    Regards,
    Sheena

  • Script to open another pdf attach to email and close the new pdf

    I have a pdf that contais a movie and there is a link to send another pdf with a small version of that film to email i tried this code but without any luck
    var myDoc = app.openDoc({cPath:"XXXXXX/cpi-028.bx.pdf"});
    myDoc.mailDoc(true);
    myDoc.closeDoc(true);
    the link is working but after the small pdf opens nothing else works
    Somebody please help me

    If the PDF isn't already downloaded in the email then you should be able to do so by tapping on it.
    If the PDF is open within the body of the email then press and hold it and after a second or so you should get a 'Open In' pop-up; otherwise (e.g. the PDF opens into a separate screen) then tap the PDF and you should get an icon top right of a box with an arrow coming out of it - tap that and you'll get the 'Open In' option

  • How do I NOT save a file every time I open a PDF file, open an attachment, etc.? I know how to set the option to change the save location, but in some cases I just want to VIEW not SAVE a file that I read while browsing

    I don't want Firefox to save a copy on my hard disk of every attachment, PDF, etc. that I open while browsing. How do I make this happen?

    Firefox needs to download and save a file before passing it to a plugin.
    You can set the Boolean pref <b>browser.helperApps.deleteTempFileOnExit</b> to <i>true</i> on the <b>about:config</b> page to remove such files.
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    *Use the Filter bar at to top of the about:config page to locate a preference more easily.
    *Preferences that have been modified show as bold (user set).
    *Preferences can be reset to the default via the right-click context menu if they are user set
    *Preferences can be changed via the right-click context menu: Modify (String or Integer) or Toggle (Boolean)

  • Error when opening the PDF attachment

    Hi,
    We are able to successfully send the PDF attachment to external email id  from SAP SCRIPT:
    but when we are opening the PDF attachment we are getting the following error:
    "Adobe Reader could not open because it is not either a supported file type or the file has been damaged ..etc.."
    Is any logic need to write for the above or any parameters are missing .
    Can any one help...
    Thanks in advance.

    Hi Ramana,
                Just try below given example code.....In which I have just different function Module to convert from OFT to PDF....
       AT END OF VSTEL.
          IF R_EMAIL = 'X'.
    *--Opening Layout set for Printing
            PERFORM CLOSE_FORM.
           SELECT SINGLE SMTP_ADDR INTO V_EMAIL
           FROM ADR6
           WHERE ADDRNUMBER = T_ADRC-ADDRNUMBER.
            CLEAR T_LIPS.
            READ TABLE T_LIPS WITH KEY VBELN = T_LIKP-VBELN.
            CLEAR T_VBAK.
            READ TABLE T_VBAK WITH KEY VBELN = T_LIPS-VGBEL.
            CLEAR V_ADRNR.
            SELECT SINGLE ADRNR
            INTO V_ADRNR
            FROM T001
            WHERE  BUKRS = T_VBAK-BUKRS_VF.
            REFRESH T_CC_EMAIL.
            CLEAR T_CC_EMAIL.
            SELECT  SMTP_ADDR INTO TABLE T_CC_EMAIL
            FROM ADR6
            WHERE ADDRNUMBER = V_ADRNR.
         SELECT SINGLE smtp_addr
         INTO cc_email
         FROM adr6
         WHERE addrnumber = v_adrnr.
            IF T_TO_EMAIL[] IS INITIAL.
              CLEAR T_CC_EMAIL.
              REFRESH T_CC_EMAIL.
            ENDIF.
            PERFORM BUILD_PDF_DATA_TABLE.
    Populate message body text
            PERFORM POPULATE_EMAIL_MESSAGE_BODY.
            CONCATENATE  T_LIKP-VSTEL '-' 'Warehouse Release' INTO V_SUBJECT SEPARATED BY SPACE.
    Send file by email as .xls speadsheet
            PERFORM SEND_FILE_AS_EMAIL_ATTACHMENT
                                         TABLES IT_MESSAGE
                                                PT_CONTENTS_BIN       "LINES    "it_attach
                                          USING V_EMAIL
                                                V_SUBJECT
                                                'PDF'
                                                'Delivery'
                                                'Deliveries'
                                       CHANGING GD_ERROR
                                                GD_RECIEVER.
      Instructs mail send program for SAPCONNECT to send email(rsconn01)
            PERFORM INITIATE_MAIL_EXECUTE_PROGRAM.
          ENDIF.
        ENDAT.
    ***---/End by sagun
      ENDLOOP. "loop at t_likp.
    ***---/added by sagun 25.05.2007
      IF R_EMAIL = 'X'.
        WRITE /01 SY-ULINE(180).
        WRITE :/55 'End of Report'.
      ENDIF.
    ***---/end by sagun
    ENDFORM.                    " PRINT_DELIVERY
    *&      Form  close_form
          text
    -->  p1        text
    <--  p2        text
    FORM CLOSE_FORM .
      IF R_PRINT = 'X'.                   " added by sagun 24.05.2007
        CALL FUNCTION 'CLOSE_FORM'
    IMPORTING
      RESULT                         =
      RDI_RESULT                     =
    TABLES
      OTFDATA                        =
         EXCEPTIONS
           UNOPENED                       = 1
           BAD_PAGEFORMAT_FOR_PRINT       = 2
           SEND_ERROR                     = 3
           SPOOL_ERROR                    = 4
           CODEPAGE                       = 5
           OTHERS                         = 6
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ENDIF.                             " added by sagun 24.05.2007
      IF R_EMAIL = 'X'.
    *otf_table  like itcoo occurs 0 with header line
        CALL FUNCTION 'CLOSE_FORM'
         IMPORTING
           RESULT   = .
             TABLES
               OTFDATA  = HOTFDATA
             EXCEPTIONS
               UNOPENED = 3.
      ENDIF.
    ENDFORM.                    " close_form
    *&      Form  BUILD_PDF_DATA_TABLE
          text
    -->  p1        text
    <--  p2        text
    FORM BUILD_PDF_DATA_TABLE .
      DATA :  LC_FORMAT(3) TYPE C VALUE 'PDF'.
    DATA: lt_tline TYPE tp_tline_standard_table,
      DATA :  L_BIN_FILESIZE TYPE I,
              PC_CONTENTS_BIN_LINES TYPE I.
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          FORMAT                = LC_FORMAT
        IMPORTING
          BIN_FILESIZE          = L_BIN_FILESIZE
        TABLES
          OTF                   = HOTFDATA
          LINES                 = LINES
        EXCEPTIONS
          ERR_MAX_LINEWIDTH     = 1
          ERR_FORMAT            = 2
          ERR_CONV_NOT_POSSIBLE = 3
          OTHERS                = 4.
      IF SY-SUBRC = 0.
        CALL FUNCTION 'QCE1_CONVERT'
          TABLES
            T_SOURCE_TAB         = LINES
            T_TARGET_TAB         = PT_CONTENTS_BIN
          EXCEPTIONS
            CONVERT_NOT_POSSIBLE = 1
            OTHERS               = 2.
        IF SY-SUBRC = 0.
          DESCRIBE TABLE PT_CONTENTS_BIN LINES PC_CONTENTS_BIN_LINES.
        ELSE.
    ... -->
        ENDIF.
      ELSE.
    An OTF conversion error occured
    -->
      ENDIF.
    ENDFORM.                    " BUILD_PDF_DATA_TABLE
    *&      Form  POPULATE_EMAIL_MESSAGE_BODY
          text
    -->  p1        text
    <--  p2        text
    FORM POPULATE_EMAIL_MESSAGE_BODY .
      REFRESH IT_MESSAGE.
      IT_MESSAGE = 'Please find enclosed here with our Warehouse Release Document(s)'.
      APPEND IT_MESSAGE.
      CLEAR IT_MESSAGE.
      APPEND IT_MESSAGE.
      APPEND IT_MESSAGE.
      APPEND IT_MESSAGE.
      APPEND IT_MESSAGE.
      IT_MESSAGE = 'For United Phosphorous Inc.'.
      APPEND IT_MESSAGE.
      CLEAR IT_MESSAGE.
    APPEND it_message.
    APPEND it_message.
    APPEND it_message.
      IT_MESSAGE = 'TEST EMAIL from 520 clinet please ignore it'.
      APPEND IT_MESSAGE.
    ENDFORM.                    " POPULATE_EMAIL_MESSAGE_BODY
    *&      Form  SEND_FILE_AS_EMAIL_ATTACHMENT
          text
         -->PIT_MESSAGE  text
         -->PIT_ATTACH  text
         -->P_EMAIL  text
         -->P_MTITLE  text
         -->P_FORMAT   text
         -->P_FILENAME   text
         -->P_ATTDESCRIPTION   text
         -->P_SENDER_ADDRESS   text
         -->P_SENDER_ADDRES_TYPE   text
         <--P_ERROR  text
         <--P_RECIEVER  text
    FORM SEND_FILE_AS_EMAIL_ATTACHMENT  TABLES    PIT_MESSAGE
                                                  PIT_ATTACH
                                            USING P_EMAIL
                                                  P_MTITLE
                                                  P_FORMAT
                                                  P_FILENAME
                                                  P_ATTDESCRIPTION
                                                  P_SENDER_ADDRESS
                                                  P_SENDER_ADDRES_TYPE
                                         CHANGING P_ERROR
                                                  P_RECIEVER.
      DATA: LD_ERROR    TYPE SY-SUBRC,
           ld_reciever TYPE sy-subrc,...
             LD_MTITLE LIKE SODOCCHGI1-OBJ_DESCR,
             LD_EMAIL LIKE  SOMLRECI1-RECEIVER,
             LD_FORMAT TYPE  SO_OBJ_TP ,
             LD_ATTDESCRIPTION TYPE  SO_OBJ_NAM ,
             LD_ATTFILENAME TYPE  SO_OBJ_DES ,
             LD_SENDER_ADDRESS LIKE  SOEXTRECI1-RECEIVER,
             LD_SENDER_ADDRESS_TYPE LIKE  SOEXTRECI1-ADR_TYP,
             LD_RECEIVER LIKE  SY-SUBRC.
    p_filename  = 'INVOICE'.
      LD_EMAIL   = P_EMAIL.
      LD_MTITLE = P_MTITLE.
      LD_FORMAT              = P_FORMAT.
      LD_ATTDESCRIPTION      = P_ATTDESCRIPTION.
      LD_ATTFILENAME         = P_FILENAME.
      LD_SENDER_ADDRESS      = P_SENDER_ADDRESS.
      LD_SENDER_ADDRESS_TYPE = P_SENDER_ADDRES_TYPE.
    Fill the document data.
      W_DOC_DATA-DOC_SIZE = 1.
    Populate the subject/generic message attributes
      W_DOC_DATA-OBJ_LANGU = SY-LANGU.
      W_DOC_DATA-OBJ_NAME  = 'SAPRPT'.
      W_DOC_DATA-OBJ_DESCR = LD_MTITLE .
      W_DOC_DATA-SENSITIVTY = 'F'.
    Fill the document data and get size of attachment
      CLEAR W_DOC_DATA.
      READ TABLE PIT_ATTACH INDEX W_CNT.
      W_DOC_DATA-DOC_SIZE =
         ( W_CNT - 1 ) * 255 + STRLEN( PIT_ATTACH ).
      W_DOC_DATA-OBJ_LANGU  = SY-LANGU.
      W_DOC_DATA-OBJ_NAME   = 'SAPRPT'.
      W_DOC_DATA-OBJ_DESCR  = LD_MTITLE.
      W_DOC_DATA-SENSITIVTY = 'F'.
      CLEAR T_ATTACHMENT.
      REFRESH T_ATTACHMENT.
      T_ATTACHMENT[] = PIT_ATTACH[].
    Describe the body of the message
      CLEAR T_PACKING_LIST.
      REFRESH T_PACKING_LIST.
      T_PACKING_LIST-TRANSF_BIN = SPACE.
      T_PACKING_LIST-HEAD_START = 1.
      T_PACKING_LIST-HEAD_NUM = 0.
      T_PACKING_LIST-BODY_START = 1.
      DESCRIBE TABLE IT_MESSAGE LINES T_PACKING_LIST-BODY_NUM.
      T_PACKING_LIST-DOC_TYPE = 'RAW'.
      APPEND T_PACKING_LIST.
    Create attachment notification
      T_PACKING_LIST-TRANSF_BIN = 'X'.
      T_PACKING_LIST-HEAD_START = 1.
      T_PACKING_LIST-HEAD_NUM   = 1.
      T_PACKING_LIST-BODY_START = 1.
      DESCRIBE TABLE T_ATTACHMENT LINES T_PACKING_LIST-BODY_NUM.
      T_PACKING_LIST-DOC_TYPE   =  LD_FORMAT.
      T_PACKING_LIST-OBJ_DESCR  =  LD_ATTDESCRIPTION.
      T_PACKING_LIST-OBJ_NAME   =  LD_ATTFILENAME.
      T_PACKING_LIST-DOC_SIZE   =  T_PACKING_LIST-BODY_NUM * 255.
      APPEND T_PACKING_LIST.
    Add the recipients email address
      CLEAR T_RECEIVERS.
      REFRESH T_RECEIVERS.
      LOOP AT T_TO_EMAIL WHERE EMAIL <> SPACE.
        CLEAR T_RECEIVERS.
        T_RECEIVERS-RECEIVER = T_TO_EMAIL-EMAIL.
        T_RECEIVERS-REC_TYPE = 'U'.
        T_RECEIVERS-COM_TYPE = 'INT'.
        T_RECEIVERS-NOTIF_DEL = 'X'.
        T_RECEIVERS-NOTIF_NDEL = 'X'.
        APPEND T_RECEIVERS.
        CLEAR T_RECEIVERS.
      ENDLOOP.
    copy email address
      CLEAR T_RECEIVERS.
      IF NOT T_RECEIVERS[] IS INITIAL.
        LOOP AT T_CC_EMAIL.
          T_RECEIVERS-RECEIVER = T_CC_EMAIL-EMAIL.
          T_RECEIVERS-REC_TYPE = 'U'.
          T_RECEIVERS-COM_TYPE = 'INT'.
    t_receivers-notif_del = 'X'.
    t_receivers-notif_ndel = 'X'.
          T_RECEIVERS-COPY       = 'X'.
          APPEND T_RECEIVERS.
          CLEAR T_RECEIVERS.
        ENDLOOP.
      ENDIF.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
        EXPORTING
          DOCUMENT_DATA              = W_DOC_DATA
          PUT_IN_OUTBOX              = 'X'
          SENDER_ADDRESS             = LD_SENDER_ADDRESS
          SENDER_ADDRESS_TYPE        = LD_SENDER_ADDRESS_TYPE
          COMMIT_WORK                = 'X'
        IMPORTING
          SENT_TO_ALL                = W_SENT_ALL
        TABLES
          PACKING_LIST               = T_PACKING_LIST
          CONTENTS_BIN               = T_ATTACHMENT
          CONTENTS_TXT               = IT_MESSAGE
          RECEIVERS                  = T_RECEIVERS
        EXCEPTIONS
          TOO_MANY_RECEIVERS         = 1
          DOCUMENT_NOT_SENT          = 2
          DOCUMENT_TYPE_NOT_EXIST    = 3
          OPERATION_NO_AUTHORIZATION = 4
          PARAMETER_ERROR            = 5
          X_ERROR                    = 6
          ENQUEUE_ERROR              = 7
          OTHERS                     = 8.
    Populate zerror return code
      LD_ERROR = SY-SUBRC.
    Populate zreceiver return code
    LOOP AT t_receivers.
       ld_receiver = t_receivers-retrn_code.
    ENDLOOP.
      IF SY-SUBRC = 0.
        FORMAT COLOR COL_NORMAL ON.
        LOOP AT T_LOG.
          WRITE :/03 T_LOG-VBELN,
                  19 SY-VLINE,
                  20 T_LOG-KUNNR,
                  34 SY-VLINE,
                  35 T_LOG-NAME1,
                  76 SY-VLINE,
                  77 T_LOG-EMAIL,
                  110 SY-VLINE,
                  111 'Email Sent Successfuly',
                  180 SY-VLINE.
        ENDLOOP . "t_log
        FORMAT COLOR COL_NORMAL OFF.
        CLEAR T_LOG.
        REFRESH T_LOG.
      ENDIF.
      IF SY-SUBRC NE 0.
        CASE LD_ERROR.
          WHEN   1.
            V_ERROR =  'too_many_receivers' .
          WHEN   2.
            V_ERROR =  'Email address not found in Customer Master' .
          WHEN   3.
            V_ERROR =  'document_type_not_exist'.
          WHEN   4.
            V_ERROR =  'operation_no_authorization'.
          WHEN   5.
            V_ERROR =  'Email address not found in Customer Master'.
          WHEN   6.
            V_ERROR =   'x_error'.
          WHEN   7.
            V_ERROR =   'enqueue_error'.
          WHEN   8.
            V_ERROR =   'Error in sending email' .
        ENDCASE.
        FORMAT COLOR COL_NEGATIVE ON.
        LOOP AT T_LOG.
          WRITE :/03 T_LOG-VBELN,
             19 SY-VLINE,
             20 T_LOG-KUNNR,
             34 SY-VLINE,
             35 T_LOG-NAME1,
             76 SY-VLINE,
             77 T_LOG-EMAIL,
             110 SY-VLINE,
             111 V_ERROR,
             180 SY-VLINE.
        ENDLOOP . "t_log
        FORMAT COLOR COL_NEGATIVE OFF.
        CLEAR T_LOG.
        REFRESH T_LOG.
      ENDIF.
    ENDFORM.                    " SEND_FILE_AS_EMAIL_ATTACHMENT
    *&      Form  INITIATE_MAIL_EXECUTE_PROGRAM
          text
    -->  p1        text
    <--  p2        text
    FORM INITIATE_MAIL_EXECUTE_PROGRAM .
      WAIT UP TO 2 SECONDS.
      SUBMIT RSCONN01 WITH MODE = 'INT'
                    WITH OUTPUT = 'X'
                    AND RETURN.
    ENDFORM.                    " INITIATE_MAIL_EXECUTE_PROGRAM
    Reward Point If it usefull....
    Cheers,
    Sagun Desai....

  • Unable to open large PDF file from the Attachment list.

    Hi Gurus,
    Users had attached 10 PDF file in the work order attachment list and his supervisor is trying to open the PDF file from the work order attachment list and he is able to open 9 PDF files without any issue, but 1 PDF file is giving the error message as "Database error for <GET DATA FROM KPRO>" and then select ok, we are getting the below message.
    Window cannot find u201CC/Documents and Settings/b2m/SaoworkDir/5015851 Vendor data sheets B&P 2010 SDown XXX .PDFu2019. Make sure you typed the name correctly, and then try again. To search for a file, click the start button, and then click serch.
    Looks like this particular file is not transferring to the SAP work directory.
    Could you please check and suggest us as to how to fix it.
    Thanks & Regards,
    Srivas

    Hi,
    Thanks for your reply.
    We verified  your OSS notes it's not relevant to us Because our issue is while opening the PDF aatchement it is not transferring to my SAP Work Directory because of that reason we are getting the KPRO error. When I'm opening the other PDF files it's transferring to my SAP Work Directory and it's automatically open without any issue.
    Please check and suggest.
    Thanks,
    Srivas

  • How can I open a pdf attachment in Mozilla Thunderbird?

    In my Thunderbird email account, I checked a box for MSWord to open all attachments, but I would like to reverse that decision since I got a pdf attachment, and MSWord doesn't open that. How do I change it back to the way it was so the pdf attachment can be opened with adobe?

    Tools > Options > Attachments > Incoming tab
    * in the 'Content Type' column:
    * look for: Microsoft Office Word document
    * then look at the 'Action' for it
    * click on the current Action and select 'use Microsoft Office Word'
    If this is already setup ok then leave alone and do the next step.
    Is there a 'Content type' for Adobe Acrobat Document' ?
    If yes,
    * click on the Action and select 'Use Adobe Acrobat' or 'Adobe Reader'
    * click on OK
    If there is no 'Content type' for Adobe Acrobat Document'
    then click on OK and do the next step below.
    * Locate email with pdf attachment
    * right click on attachment and choose Open
    * select 'Open with' and choose 'Adobe Reader'
    * select 'do this automatically for files like this from now on.'
    * click on OK

  • Firefox crashes when I try to attach a file. Seems related to second problem, receive error messages when opening a pdf in adobe (which I've reinstalled twice)

    Crash report:
    bp-74bcae4f-7091-4121-a809-5d0a12140616 is the crash report.
    I have a Toshiba.
    When I open my email (gmail, school email) and try to attach a file, firefox immediately crashes and gives me two error messages. first one is a WerFault, i think. I don't know if that's relevant.
    Apart from these crashes in Firefox, I am also having the same problem when trying to view or open a pdf in adobe reader, or even open adobe reader itself. It won't try to open, I just receive the error messages. I've uninstalled and reinstalled it two times now. I did this thing suggested online where you go into the control panel and look at all your plugins. Then, "repair" adobe reader - pretty sure it's just a button that says repair. that didn't do anything, of course I also could have done something wrong.
    I realize this could be a problem unrelated to Firefox, but I'm doing what I can before I take my laptop in.
    Please save me.

    Ok two things based on the crash report and the steps you took right before the crash:
    # Try to disable scrolling acceleration and restart Firefox. Does it continue to crash?
    # Try Safe Mode and do the same task as above with email and the pdf [[Troubleshoot Firefox issues using Safe Mode]]
    # Also pdf.js may be helpful to read pdfs in the meantime. You can change the default reader in the Preferences/Options > Application menu of Firefox.
    # Try to clear out the downloads folder and update flash to version 14 (that should do it)
    IF it crashes again please also provide the new crash signatures and we can take a look :-) Sorry for the crashing :-(

Maybe you are looking for