Smartform generates large file attachment

Hello Everybody,
I am having the following issue... I have created a Smartform (one page) and when I email it as a PDF attachment the size of the e-mail is over 400K, which in our case generates and issue because of the number of e-mails that we are sending.
Is there any way to decrease the size of the PDF file that is being generated from Smartforms?
Thanks,
Felix

Thanks for the quick reply. I am sending using a custom "Z" program that calls Smartform function module. I have tried to remove a bitmap and shaded areas from the form - did not make any difference. Can you ZIP attachment programatically in ABAP?
Edited by: Felix Rubinshtein on Jan 12, 2009 5:12 PM

Similar Messages

  • Mail in Snow Leopard has broken. Keeps resending a large file attachment. Make it stop!

    Our 2009 iMac running Snow Leopard has hit a snag with mail. After trying to send a bunch of attached photos, Mail stopped receiving messages and continually tries to resend the large message, even though we have done our best to delete it. Even when we do, a few minutes later, it will pop into the outbox again and start all over. We are now using Thunderbird but would like to get Mail back as it has all our organized folders on it. I've called our ISP and the problem is definitely with Mail, not our account. What now?

    Hi Bee,
    The attachents add up to 34.1 Mb.
    The messages appear in a Recovered Messages (Telus) folder that shows up at the bottom of our list of folders. That folder fills up with copies of the 34.1 Mb email. After about 15 minutes there are 34 of them. I can only delete them one at a time after clicking on them. Trying to select all or batch delete unread causes mail to slow down to a crawl and affects all other applications. "Edit Message" doesn't seem to be an option.

  • ReportExportControl  -- File is too large for attachment

    Hi all,
    Back with a exception again.
    Few reports deployed on BOXIR2 SP4 comes with an error as following
    com.crystaldecisions.report.web.viewer.ReportExportControl
    15bf5ea9377e1c1.rtf File is too large for attachment.
    Few reports take date range as input and generates result based on that. When date range is small report is generated without any problem. If is large and has large set of records(approx above 10K records) then comes up with the above error.
    Another set of reports whatever be the case throws this error.
    But when the parameters are set in CMS console and run in console report is generated without any problem what ever be the date range.
    After searching a lot no solutions in hand!!
    Please suggest solutions/possible scenarios / checklist to solve this issue.
    Thanks & Regards
    lnarayanan

    It turns out the report was so large it was basically overloading everything (disk space, cache sizes, timeouts, etc.) ... Here's the solution from the case:
    1) For page server and cache server
    Make sure location of Temp Files/Cache files has enough free space (more than 500 MB)
    2) For page server and cache server
    Minutes Before an Idle Connection is Closed = 90
    3) For page server
    Minutes Before an Idle Report Job is Closed = 90
    4) For cache server
    Maximum Simultaneous Processing Threads = automatic
    5) In the command line of page server and cache server, add
    "-requestTimeout 5400000" [without " "]
    6) Maximum Cache Size Allowed (KBytes) = set it to an appropriate value (for e.g. for 500 Mb, value should be 500*1024 = 512000)
    (This setting limits the amount of hard disk space used to store cached pages. If we need to handle large reports, a large cache size is needed. Maximum allowed is 2048 GB)
    After all this, an "Error 500 - Java heap space" happened.  The amount of memory allocated to a JVM application can be set using the options -Xms (the initial size) and -Xmx (the maximum size).
    Regards,
    Bryan

  • "File is too large for attachment." using the Viewer SDK

    Post Author: CBurger
    CA Forum: JAVA
    I'm using the Viewer SDK to retrieve a report from BOE XI 2 SR2.
    This is done via the a piece of Java code ...
    ReportExportControl exportControl = new ReportExportControl();
    ExportOptions exportOptions = new ExportOptions();
    IReportSourceFactory psReportSourceFactory = (IReportSourceFactory) enterpriseSession.getService(ReportConstants.REPORT_PSREPORT_FACTORY);
    Object reportSource = psReportSourceFactory.openReportSource(report.getID(), Locale.ENGLISH);
    exportControl.setReportSource(reportSource);
    exportControl.setURI(reportPath.toString());
    exportControl.setExportOptions(exportOptions);
    exportControl.setExportAsAttachment(true);
    exportOptions.setExportFormatType(exportFormat);
    exportControl.setParameterFields(reportParameters);
    exportControl.processHttpRequest(request, response, getServlet().getServletConfig().getServletContext(), null);
    exportControl.dispose();
    The report is generated as an Excel file.
    If I call for a small Excel - no problem: a dialog pops up asking me to "save as ..."
    If I call for a larger Excel (about 20MB) - PROBLEM "File is too large for attachment."
    Unfortunatly I don't find any information in the log files.
    Any ideas?

    Has this ever been resolved?  We are having a similar issue.
    Thanks!

  • ERROR : OpenDoc CR to PDF - File is too large for attachment.

    We are getting the following error in 3.1 using an OpenDoc call when we call a large Crystal Report to PDF format...
    Error : 52cf6f8f4bbb6d3.pdf File is too large for attachment.
    It runs OK from BOE when given parameters that returned 44 pages. (PDF = 139 KB)
    We get the error on a parameter-set that returns 174 pages when run via CR Desktop or as a SCHEDULED Instance. (PDF = 446 KB).
    Client application can't use the SDKs to SCHEDULE Instances - only configured for OpenDoc calls.....
    The BOE server is running on SOLARIS - and it's is a 2 Server CMS-Cluster.
    The problem is SPORADIC, so I am thinking the issue is related to a specific setting on one of the servers.
    Any thoughts on where to start looking...?

    Problem is _not _with the number of Rows returned - it is an issue with the size of the PDF file that it is trying to move.
    Found a possible WINDOWS solution on BOB - need to find if there is an equivalent for SOLARIS...
    Check the dsws.properties on web server D:\Program Files\Business Objects\Tomcat55\webapps\dswsbobje\WEB-INF\classes
    See if you can change any parameter to remove size limitation.
    #Security measure to limit total upload file size
    maximumUploadFileSize = 10485760

  • "This file attachment is too large to be viewed." What?

    I created a 15.6MB m4v for iPhone using compressor to test being able to email clips to a client for review on his iphone. A couple of strange things. First, when the message is received, the attachment now reads that it is 20.6MB in size. Second, when I attempt to open it on my iPhone... it gives me the message "This file attachment is too large to be viewed."
    Is there a limitation with the iPhone here that I didn't know about?

    Yes this is a public board, which shouldn't exclude common courtesy.
    This is a user to user help forum only and fellow users that post answers to questions or provide suggestions here volunteer their time to do so.
    I don't have a problem with you providing what you think is a shortcoming, but there is nothing wrong with me providing a reasons or reasons why it isn't a shortcoming for the most part. If that is being "needlessly defensive", then you are needlessly interested only in thoughts that agree with your own.
    What does that mean exactly? I wasn't suggesting they would, they usually use their own dedicated mail servers... which they can set to unlimited if they wish... which is why putting the limitation on the iphone pulls the rug out from under them if they want to use the iPhone AND send/receive large files via email. Pretty simple equation really.
    What it means exactly is, you were talking about business use and you mentioned Gmail having a 20MB overall message size limit. Yes many businesses use their own dedicated server, which they can set to unlimited if they wish, but this will only work internally and with other businesses that do the same.
    I'll bet you dollars to donuts the overwhelming majority of businesses with or without their own dedicated email server do not have an unlimited overall message size limit. Some may have a larger overall message size limit than 10MB, but 10MB is a very common limit.
    So any way in which the iPhone can become more useful as a business device is a good thing... isn't it?
    Certainly, but what you consider as being more useful may or many not match what I or someone else may consider as being more useful and there is nothing wrong with that.
    Perhaps you will never need or otherwise enjoy landscape email, full screen attached video playback, or attachments greater than 10MB... but to not see the obvious improvement as a business device had these features been implemented in 2.0.2 just doesn't make any sense to me.
    I have been discussing overall message size limits only. I haven't mentioned anything about these other items.

  • Error: f14627469cba51.pdf file is too large for attachment

    Hi,
    Recently we migrated lot of crystal reports from BO XI R2 environment to BO 3.1 SP2 FP 2.5 environment, these crystal reports are integrated with the application.
    Input parameters are given through the application using the Open Document URL and the report will open through the infoview.
    This particular error arises when we try to open the report as PDF using Open Document URL,
    Please find the URL below
    http://bodev.com/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=AUwcueYTQwtLhWDlil29Nvc&sOutputFormat=P&lsS@INVOICEDATE=1/31/2010&lsS@REFSERVICEID=1&lsS@BILLINGCYCLE=1&lsS@INVPREFIX=SC1001&lsS@GUID=99b18bcb-9470-4a49-948d-73961c149f5e
    But we are getting the following error
    "f14627469cba51.pdf file is too large for attachment"
    Please help me out to resolve the issue.
    Thank You,
    Palani Kumar
    +91-9840865865

    Hi Jeff,
    Did you figure out the solution to this problem?
    I also getting the same problem while refreshing crystal report from 3rd party tool using dswsbobje service session
    "Failed to retrieve binary view of the report. 14546ada1c151418.pdf File is too large for attachment. (WRE 02527)"
    Please let me know if you find any solution.

  • File is too large for attachment - BO Integration Error

    I developed Crystal reports (using Universe)in CR XIR2 and deployed in BO XIR 2 Repository.
    Reports database is -DB2.
    I am able to preview the reports in CMC/Infoview.
    But when we are integrating our Application(Called GBS) to BO ,and when I am trying to open CR reprots from BO repository,it is throwing error " File is too large for attachment " .
    The report is not too big even ,it is having only 100 records.
    I am not sure why it is throwing this error?Did anyone faced the same error ever?
    Please let me know any resolution for this,as it is blockign for me.
    is it something related to the application (GBS) or  any Pagerserver/Cacheserver issue ?
    Will wait for any response.
    Nitin

    Has this ever been resolved?  We are having a similar issue.
    Thanks!

  • Firefox is generating large sized printing files and prints slowly

    Printing with FF 4.0 is slow and generated print files are huge
    I tried the RC and released versions of Firefox 4.0 and found the printer module(?) doesn't work as it did in version 3.x
    If I print to my laser printer it generates each page slowly (I'm guessing it turns it into graphics) or if I print to a PDF file instead of being a few hundred kilobytes in size, the files are megabytes long.
    Is there a way to make Firefox 4 print the way 3.x pronted? I downgraded to 3.6.16 and the problem went away. Other browsers also print normally.
    I'm on Windows 7 SP1 64-bit.

    I am having the same problem with FF 4.01. I have two computers, both newer Dell laptops with Win 7 pro. Both have the same printer drivers installed, including Cute PDF which in particular is what I'm having the problem with. One computer prints to Cute PDF perfectly fine, giving a reasonably small file as a result (e.g. this page here is 187kb as a PDF). The other computer produces enormous files (this same page is 1.1mb!!!). Both computers have all the latest Windows updates. On the computer which is producing the large PDFs, I tried numerous other PDF printing programs including Adobe Acrobat 9. All of them produce large files. This only happens in FF - IE and Chrome produce reasonably-sized files. (Chrome, incidentally, has the smallest file size!)
    I love FF but I produce a lot of PDFs of a custom web application, and I can't do them in FF any more. *cough*Chromeworksbetterforthis*cough*
    If I find a solution, I'll post it here.

  • Trying to email a video and the file size is to large to attach.

    Trying to email a friend a video and it says the file size is to large to attach.  How do I change this?

    Go into your photo-video program and change the file size to the smallest resolution possible. Also limit the video to less than 30 seconds to a minute.
    Then try sending again. The problem you are having is because the file is too large to send via the method you are using.
    Good Luck

  • Generating large xml files

    i am generating large xml files these are generated using XML Classgen from a DTD, but the since the XML being generated is a large file in 250+ Mb range it invariables runs into memory problems.
    also i need the output to be a single file, so is there anything that can be done.
    Another problem i am facing is the setting the standalone attribute in stored in the <?xml ...?> tag since neither the CGDocument and its CGNode contain to methods to set this
    null

    If the XML is produced from a database query, I'd recommend using the XML SQL Utility's getXMLSAX() method to process XML query results of arbitrarily large size.
    You implement a SAX2 ContentHandler and pass that to the getXMLSAX() method.

  • ITunes hangs when syncing large files to network attached drives, ideas?

    I've done a lot of research on my problem and have come up blank so far. This is my setup and situation. I use a macbook pro and iTunes 10, but since I use a small SSD, I do not have much room to keep iTunes media on my disk. So, I use an external USB drive, formatted HFS+ J, accessible over my AirPort Extreme as a networked drive and am trying to keep my media there by setting my iTunes Media folder location to my "/Volumes/<drive name>/iTunes/iTunes Media" under iTunes>Preferences>Advanced. For the most part this works, but there are a few gotchas that are making this setup unusable.
    The biggest problem is if I try to sync a large file (for example a 250MB app) with iTunes to my networked storage, the culprit almost always being a large iOS app in Mobile Application folder, iTunes will hang with the spinning color wheel, and in the toolbar shows "Not Responding". This also hangs the Finder. After this situation, I pretty much have to force quit everything and reboot my machine to get the Finder and iTunes back to health.
    So, I thought that I would try keeping the iOS apps on my local drive and just move my music out to a network drive. But iTunes doesn't allow any granular configuration of the sort (big FAIL on Apple's part), and I've read up that iTunes does not play nice with symbolic links or else I would keep the iTunes Media location set to my local drive and symlink the Music folder out to my network drive.
    So, given that 1) I don't have enough space to keep everything local, 2) trying to keep everything on NAS causes my machine to fail when syncing my iPhone or trying to consolidate my iTunes library because of large file transfers over the network making thing go insane, and 3) iTunes doesn't easily let you manage your library with symlinks, any ideas on what I should do?

    i assume you are connecting wirelessly to the AEBS, correct ?
    as a test, run an ethernet cable from your Mac to one of the LAN ports of the AEBS (you might want to turn off airport on your machine), then try again.
    does the problem persist ?

  • My iPhone 4s will not forward emails with large files, pictures etc attached. How can I fix this?

    How do I get my iPhone to forward or send large files? Such as pictures.

    Check Settings>Messages>MMS Messaging to see if it's set to "On". Check with your carrier to see that your account is properly provision. Check to see if your carrier is a supported iPhone carrier. Not all features work or work properly on unsupported carriers.
    Best of luck.

  • Error in opening smartform generated PDF attachments

    Hi every one,
        my smartforms generate multiple emails based on the widely used code as shown below.
    The emails are successfully being sent to different locations, but the problem is the first PDF file is opening, but the others followed by it are not opening. It's giving an error ' File damaged and cannot be opened!'
    Pls see the below code and help me out.
    Points would be awarded.
    Thanks to all in advance!!
    Arnab
    REPORT  zvenkat_smartform_via_mai.
    *&  Structures and Infotype Internal tables.
    TABLES pernr.
    INFOTYPES:
      0000,
      0001,
      0002,
      0006,
      0022,
      0023.
    INCLUDE dbpnpmac.
    *&  Declaration part
    Types
    TYPES:
       BEGIN OF t_emp_info,
         pernr TYPE pa0001-pernr,
         ename TYPE pa0001-ename,
         bukrs TYPE pa0001-bukrs,
         persk TYPE pa0001-persk,
         stell TYPE pa0001-stell,
         gblnd TYPE pa0002-gblnd,
       END OF t_emp_info,
       BEGIN OF t_mard,
         matnr TYPE mard-matnr,
         werks TYPE mard-werks,
         labst TYPE mard-labst,
         meins TYPE mara-meins,
       END OF t_mard.
    Work areas
    DATA:
      w_emp_info TYPE t_emp_info.
    Internal tables
    DATA:
      i_emp_info TYPE STANDARD TABLE OF t_emp_info,
      i_mard     TYPE STANDARD TABLE OF t_mard.
    "  Mai related declarations
    "Variables
    DATA :
         g_sent_to_all   TYPE sonv-flag,
         g_tab_lines     TYPE i.
    "Types
    TYPES:
         t_document_data  TYPE  sodocchgi1,
         t_packing_list   TYPE  sopcklsti1,
         t_attachment     TYPE  solisti1,
         t_body_msg       TYPE  solisti1,
         t_receivers      TYPE  somlreci1,
         t_pdf            TYPE  tline.
    "Workareas
    DATA :
         w_document_data  TYPE  t_document_data,
         w_packing_list   TYPE  t_packing_list,
         w_attachment     TYPE  t_attachment,
         w_body_msg       TYPE  t_body_msg,
         w_receivers      TYPE  t_receivers,
         w_pdf            TYPE  t_pdf.
    "Internal Tables
    DATA :
         i_document_data  TYPE STANDARD TABLE OF t_document_data,
         i_packing_list   TYPE STANDARD TABLE OF t_packing_list,
         i_attachment     TYPE STANDARD TABLE OF t_attachment,
         i_body_msg       TYPE STANDARD TABLE OF t_body_msg,
         i_receivers      TYPE STANDARD TABLE OF t_receivers,
         i_pdf            TYPE STANDARD TABLE OF t_pdf.
    PARAMETERS:
               p_mai_id(99) TYPE c.
    *& Start-of-selection.
    START-OF-SELECTION.
    GET pernr.
      PERFORM get_data.
      PERFORM show_smartform.
    *& End-of-selection.
    END-OF-SELECTION.
    *&      Form  get_data
    FORM get_data .
      rp-provide-from-last p0000 space pn-begda pn-endda.
      rp-provide-from-last p0001 space pn-begda pn-endda.
      rp-provide-from-last p0002 space pn-begda pn-endda.
      MOVE-CORRESPONDING: p0000 TO w_emp_info,
                          p0001 TO w_emp_info,
                          p0002 TO w_emp_info.
      SELECT matnr werks labst
      FROM mard
      INTO CORRESPONDING FIELDS OF TABLE i_mard.
    ENDFORM.                    " get_data
    *&      Form  show_smartform
    FORM show_smartform .
      DATA :
        l_sform_name TYPE tdsfname,
        l_fm_name    TYPE rs38l_fnam.
      DATA :
            l_sf_control TYPE ssfctrlop,
            l_sf_options TYPE ssfcompop.
      DATA: i_otf LIKE itcoo OCCURS 100 WITH HEADER LINE.
           i_pdf LIKE tline OCCURS 100 WITH HEADER LINE.
      DATA: op_option TYPE ssfctrlop,
            job_output TYPE ssfcrescl.
    op_option-getotf = 'X'.
      l_sform_name = 'ZVENKAT_SMARTFORM'.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = l_sform_name
        IMPORTING
          fm_name            = l_fm_name
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc  0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
        CALL FUNCTION l_fm_name
          EXPORTING
            control_parameters = op_option
            output_options     = l_sf_options
            w_emp_info         = w_emp_info
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
       job_output_info            = job_output
          TABLES
            p0006              = p0006
            p0022              = p0022
            p0023              = p0023
            i_mard             = i_mard.
        IF sy-subrc   0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        CALL FUNCTION 'CONVERT_OTF'
          EXPORTING
            format = 'PDF'
          TABLES
            otf    = job_output-otfdata
            lines  = i_pdf.
        IF sy-subrc  0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        PERFORM send_mai.
      ENDIF.
    ENDFORM.                    " show_smartform
    *&      Form  send_mai
    FORM send_mail .
      "Subject of the mai.
      w_document_data-obj_name  = 'MAI_TO_HEAD'.
      w_document_data-obj_descr = 'Regarding Mai Program by SAP ABAP'.
      "Body of the mai
      PERFORM build_body_of_mai
        USING:space,
              'Hi,',
              'I am fine. How are you? How are you doing ? ',
              'This program has been created to send simple mai',
              'with Subject,Body with Address of the sender. ',
              'Regards,',
              'Venkat.O,',
              'SAP HR Technical Consultant.'.
      "Write Packing List for Body
      DESCRIBE TABLE i_body_msg LINES g_tab_lines.
      w_packing_list-head_start = 1.
      w_packing_list-head_num   = 0.
      w_packing_list-body_start = 1.
      w_packing_list-body_num   = g_tab_lines.
      w_packing_list-doc_type   = 'RAW'.
      APPEND w_packing_list TO i_packing_list.
      CLEAR  w_packing_list.
      "Write Packing List for Attachment
      w_packing_list-transf_bin = 'X'.
      w_packing_list-head_start = 1.
      w_packing_list-head_num   = 1.
      w_packing_list-body_start = 1.
      DESCRIBE TABLE i_attachment LINES w_packing_list-body_num.
      w_packing_list-doc_type   = 'PDF'.
      w_packing_list-obj_descr  = 'PDF Attachment'.
      w_packing_list-obj_name   = 'PDF_ATTACHMENT'.
      w_packing_list-doc_size   = w_packing_list-body_num * 255.
      APPEND w_packing_list TO i_packing_list.
      CLEAR  w_packing_list.
      "Fill the document data and get size of attachment
      w_document_data-obj_langu  = sy-langu.
      READ TABLE i_attachment INTO w_attachment INDEX g_tab_lines.
      w_document_data-doc_size = ( g_tab_lines - 1 ) * 255 + STRLEN( w_attachment ).
      "Receivers List.
      w_receivers-rec_type   = 'U'.      "Internet address
      w_receivers-receiver   = p_mai_id. "here mai Id should be given
      w_receivers-com_type   = 'INT'.
      w_receivers-notif_del  = 'X'.
      w_receivers-notif_ndel = 'X'.
      APPEND w_receivers TO i_receivers .
      CLEAR:w_receivers.
      "Function module to send mai to Recipients
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = w_document_data
          put_in_outbox              = 'X'
          commit_work                = 'X'
        IMPORTING
          sent_to_all                = g_sent_to_all
        TABLES
          packing_list               = i_packing_list
          contents_bin               = i_attachment
          contents_txt               = i_body_msg
          receivers                  = i_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.
      IF sy-subrc = 0 .
        MESSAGE i303(me) WITH 'Mai has been Successfully Sent.'.
      ELSE.
        WAIT UP TO 2 SECONDS.
        "This program starts the SAPconnect send process.
        SUBMIT rsconn01 WITH mode = 'INT'
                        WITH output = 'X'
                        AND RETURN.
      ENDIF.
    ENDFORM.                    " send_mai
    *&      Form  build_body_of_mai
          text
         -->L_MESSAGE  text
    FORM build_body_of_mai  USING l_message.
      w_body_msg = l_message.
      APPEND w_body_msg TO i_body_msg.
      CLEAR  w_body_msg.
    ENDFORM.                    " build_body_of_mai

    Hi,
    Check the code below
    1.converting smartform to PDF
    Summury: Converting the smartfrom to PDF is process of 3 simple steps.
    • Calling the Smart form, then it returns the OTF data in Return.
    • Converting the OTF data into required format using the Function Module CONVERT_OTF_2_PDF.
    • Download the File
    *& Report ZTEST_NREDDY_PDF
    REPORT ZTEST_NREDDY_PDF.
    DATA: it_otf TYPE STANDARD TABLE OF itcoo,
    it_docs TYPE STANDARD TABLE OF docs,
    it_lines TYPE STANDARD TABLE OF tline,
    st_job_output_info TYPE ssfcrescl,
    st_document_output_info TYPE ssfcrespd,
    st_job_output_options TYPE ssfcresop,
    st_output_options TYPE ssfcompop,
    st_control_parameters TYPE ssfctrlop,
    v_len_in TYPE so_obj_len,
    v_language TYPE sflangu VALUE 'E',
    v_e_devtype TYPE rspoptype,
    v_bin_filesize TYPE i,
    v_name TYPE string,
    v_path TYPE string,
    v_fullpath TYPE string,
    v_filter TYPE string,
    v_uact TYPE i,
    v_guiobj TYPE REF TO cl_gui_frontend_services,
    v_filename TYPE string,
    v_fm_name TYPE rs38l_fnam.
    CONSTANTS c_formname TYPE tdsfname VALUE 'ZTEST'.
    CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
    EXPORTING
    i_language = v_language
    i_application = 'SAPDEFAULT'
    IMPORTING
    e_devtype = v_e_devtype.
    st_output_options-tdprinter = v_e_devtype.
    *st_output_options-tdprinter = 'locl'.
    st_control_parameters-no_dialog = 'X'.
    st_control_parameters-getotf = 'X'.
    .................GET SMARTFORM FUNCTION MODULE NAME.................
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = c_formname
    IMPORTING
    fm_name = v_fm_name
    EXCEPTIONS
    no_form = 1
    no_function_module = 2
    OTHERS = 3.
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ...........................CALL SMARTFORM............................
    CALL FUNCTION v_fm_name
    EXPORTING
    control_parameters = st_control_parameters
    output_options = st_output_options
    IMPORTING
    document_output_info = st_document_output_info
    job_output_info = st_job_output_info
    job_output_options = st_job_output_options
    EXCEPTIONS
    formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4
    OTHERS = 5.
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ELSE.
    .........................CONVERT TO OTF TO PDF.......................
    CALL FUNCTION 'CONVERT_OTF_2_PDF'
    IMPORTING
    bin_filesize = v_bin_filesize
    TABLES
    otf = st_job_output_info-otfdata
    doctab_archive = it_docs
    lines = it_lines
    EXCEPTIONS
    err_conv_not_possible = 1
    err_otf_mc_noendmarker = 2
    OTHERS = 3.
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ........................GET THE FILE NAME TO STORE....................
    CONCATENATE 'smrt' '.pdf' INTO v_name.
    CREATE OBJECT v_guiobj.
    CALL METHOD v_guiobj->file_save_dialog
    EXPORTING
    default_extension = 'pdf'
    default_file_name = v_name
    file_filter = v_filter
    CHANGING
    filename = v_name
    path = v_path
    fullpath = v_fullpath
    user_action = v_uact.
    IF v_uact = v_guiobj->action_cancel.
    EXIT.
    ENDIF.
    ..................................DOWNLOAD AS FILE....................
    MOVE v_fullpath TO v_filename.
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
    bin_filesize = v_bin_filesize
    filename = v_filename
    filetype = 'BIN'
    TABLES
    data_tab = it_lines
    EXCEPTIONS
    file_write_error = 1
    no_batch = 2
    gui_refuse_filetransfer = 3
    invalid_type = 4
    no_authority = 5
    unknown_error = 6
    header_not_allowed = 7
    separator_not_allowed = 8
    filesize_not_allowed = 9
    header_too_long = 10
    dp_error_create = 11
    dp_error_send = 12
    dp_error_write = 13
    unknown_dp_error = 14
    access_denied = 15
    dp_out_of_memory = 16
    disk_full = 17
    dp_timeout = 18
    file_not_found = 19
    dataprovider_exception = 20
    control_flush_error = 21
    OTHERS = 22.
    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.
    Regards,
    Raj.

  • TC and WD500 External drive - Locks up when copying large files

    I have a TC with a Western Digital 500GB my Book connected to the USB port on the TC that I use for network Storage. Everything works fine until I try to copy large files or directories from the Finder mounted share. After the copy freezes the external drive can no longer be seen by airport utility. If I look at disks it sees the disk but no partition. I have to power cycle the external drive to have TC see the drive again. Then I disconnect the drive and plug it in directly to the MAC and run disk utility and his repairs the journal. I have to do the repair every time it locks up. Should the external drive be formatted different or does it have to be connected to a USB hub. Or is this just a bug with the TC and afp ?

    I have this very same problem.
    I tried to copy a 4GB+ folder from the Macbook to the 500GB MyBook attached to my TC and it froze.
    Now the the files on the MyBook are invisible when attached to the TC ("0 Items") but are available when the drive is connected directly to the Macbook. I have run disk utility but it hasn't helped. The disk is FAT 32 formatted and the files on the MyBook are still invisible over the network.
    When the drive attached to the Macbook directly I can see a 'phantom' file with the same title as the 4GB+ folder I'd tried to copy. This file is "ZERO KB" and it cannot be deleted (error code -43).
    Anyone have a clue what is happening here?

Maybe you are looking for

  • MacBook duo 2 knocking of harddrive (HDD)

    In two days after purchase MacBook, the hard disk has started to knock. Knocks - two impacts and without knock on 10 seconds , then repeated. At viewing web, mail or is simple on Finder a folder to search, during the moment of knock the computer is f

  • The input or display only attribute of table contorl fileds

    HI,experts in the program there is one parameter p_recount. in my table control ,there are 5 columns, f1 f2 f3 f4 f5 f1 f2 f3 is display only, and if p_recount = 00.,f4 f5 may input but if p_recount != 00. f4 f5 also display only. and when i push the

  • Oracle 11g Dataguard vs SAN

    Dear Expert Hi, I have question about Oracle Dataguard. If user already setup Oracle Dataguard. Now want to change to use SAN replication. Any configuration change need to make at DB level. Tks Regard Liang

  • Launching my Business' Website with iWeb '06

    I'll try to keep this brief. Here's where I stand thusfar: 1.) I am putting together my small business' startup website using iWeb 06, due to its ease of use, having everything I need to make a nice startup site (particularly for my portfolio, blog &

  • Thanks Andy's FREE plug-ins (especially the 4:3 to 16:9 "fake" anamorphic)

    This a message to "Andy" who frequents this discussion group. It was for his comments on his plug in site (Great free and useful plug-ins by the way) but the image verification isn't working. Others may find it useful if they're interested in convert