Email excel truncating the output - why?

Using the foloowing code to send a report output as and excel attachment in e-mail.
But the final Excel Spread Sheet at SCOT / SOST does not show all the rows.
      CALL METHOD DOCUMENT->ADD_ATTACHMENT
        EXPORTING
          I_ATTACHMENT_TYPE    = 'XLS'
          I_ATTACHMENT_SUBJECT = 'Payment Detail' "TIR 4344 Misc fixes
          I_ATT_CONTENT_TEXT   = IT_SOLI_TAB.
*--add document to send request
      SEND_REQUEST->SET_DOCUMENT( DOCUMENT ).
*--add recipient (e-mail address)
        RECIPIENT = CL_CAM_ADDRESS_BCS=>CREATE_INTERNET_ADDRESS(
            I_ADDRESS_STRING = OUT_HDR-SMTP_ADDR ).
  add recipient to send request
        SEND_REQUEST->ADD_RECIPIENT( I_RECIPIENT = RECIPIENT ).
*--send document
      SENT_TO_ALL = SEND_REQUEST->SEND(
          I_WITH_ERROR_SCREEN = 'X' ).
*--explicit 'commit work' is mandatory!
      COMMIT WORK.

closing as this is sporadic

Similar Messages

  • PTools 8.48.11 Output Window is truncating the output lines

    When I review the results from validation or references, the output lines are truncated and will only show about 10 characters. Is there a setting to fix this?

    When I look for a find definition references the output is displays as:
    Found in P
    Found in Pr
    Found in Pr
    Found in Pr
    Search compl
    When I copy and past to a text document, the rest of the line is shown to me.
    Found in PeopleCode: OPR_DEF_PM_WRK(RECORD) . OPR_DEF_VNDR_PB(FIELD) . FieldChange(METHOD) as PANEL . OPR_DEF_TABLE_VND1
    Found in Project: AP
    Found in Project: APEM
    Found in Project: DBCMP_A_P_PRDMOV
    Search completed and 5 reference(s) found.

  • WebDAV: Excel 2013 truncates the encoded URL at # (%23)

    (originally posted in Open Spec forum, but was asked to repost here)
    We encountered a problem  on our existing WebDAV server with Office 2013. When a file name contains a number sign (aka hash, aka pound sign), Excel truncates the URL at that sign. Note that the URL is properly encoded, i.e. "#" is replaced
    with %23.
    Word and Powerpoint behave properly and have no issues opening files via URLs containing %23. E.g, for the URL http://server/otcsdav/nodes/1500722/doc1%23end.docx, Word first calls OPTIONS on  otcsdav/nodes/1500722, then HEAD otcsdav/nodes/1500722/doc1%23end.docx,
    then eventually a GET.  The file opens successfully as "doc1#end.docx", gets locked, edited, updated and unlocked.
    Excel, however, truncates the URL (http://server/otcsdav/nodes/1500722/excel1%23end.xls), and sends HEAD for /otcsdav/nodes/1500722/excel1, which, of course, returns 404.
    Funny enough, double-encoding (i.e. to %2523) seems to work for Excel, but breaks everything else. I.e, with url = "otcsdav/nodes/1500722/excel1%2523end.xls" Excel sends HEAD for "/otcsdav/nodes/1500722/excel1%23end.xls", while Word will
    send HEAD for the URL verbatim, i.e. "/otcsdav/nodes/1500722/doc1%2523end.docx"
    Does anyone know it it's an Excel bug? is there anything we can do to circumvent this?
    P.S.1 Excel 2010 works just fine, the issue first appeared in Excel 2013.
    P.S.2 I know that Sharepoint doesn't support "#" in filenames. Our server is NOT Sharepoint, and "#" doesn't seem to be disallowed in WebDAV protocol.

    Hi Maria,
    This forum is used to discuss questions about Excel for developers, most probably the issue is related to code.
    According to your description, it seems the issue doesn't meet the topic. It might be related to how the server analysis the URL and find the corresponding file.
    I have moved this thread to "Where is the forum for" forum.
    Thanks for your understanding.
    Regards,
    George.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Truncate row output on report

    I have a report which outputs 14 columns so the width on the columns is limited. In the report I allow csv output. However, the output on some of the columns can contain more than 1000 characters. The landscape quickly becomes crowded.
    So I used substr(details, 0, 250) for those 2 columns in my query but when I export it also truncates the output on the csv file.
    Is there a way supported by APEX that will allow me to truncate the number of characters displayed per column on the report but include all information when exported to a csv file?

    One way could be to write your own export program, there is a thread on the forum that tells you exactly how do write your own export to CSV functionality. Sorry for not remembering the exact thread URL
    Cheers,
    Andy

  • IPad Email Client Truncates URLs

    I receive emails from a service, Dell Message One. The emails contain a URL to respond via the browser. The iPad email client truncates the URLs improperly, which prevents the iPad browser from going to the proper website and page. An example is below:
    Click this link: https://chiaf.messageone.com/af/getConfirmation.do?confirmation=ie32225yi42a748a 45o580969a3a6106e95a734ya95iyo754481oai3y842591ua5712060e64ay97o6eu2a4i5ie31530a i43o94194581iea89a303669
    The URL is truncated after the equal sign in the link. This behavior was corrected in the iPhone at version 4. I have updated my iPad to version 3.2.1 to no avail. Anyone have a solution?

    Since you said the phone iOS had it before version 4, I would expect the same problem on the iPad to be solved when iOS4 for the iPad is released this fall.

  • Weird problem when downloading the output to an excel sheet

    Hi to all,
          when i download the list, output by an alv grid, i observe a weird problem..in the excel sheet the last digit (10th digit) of the first col. which is delivery no., is getting truncated...0001802563 is getting downloaded as 000180256..couldn't understand why...when i use conversion_exit fm, the values are not getting truncated and downloading correctly...curious to know what's gone wrong in this funcationality? thanks all
    cheers,
    Shankar. M.

    actually the problem is in the field catalog.if u can send me the code, i shall bug fix it for u.

  • When running an xml publisher report the xml output leads to 9 mb and the excel output file leads to 20 mb.But the output records is originally 4000 records. When copy to new excel it is showing 3.5 mb only. Does anyone knows the answer for this issue?

    When running an xml publisher report the xml output leads to 9 mb and the excel output file leads to 20 mb. The records contained in excel file is 4000 records. When taking the excel records and copy to new excel file the excel file size is 3.5 mb only.Why does the oracle software generates 20mb file?
    Does any one knows the answer please advice?

    Hello,
    This issue is because the Excel output from BI Publisher is MHTML (XML Publisher generates XHTML) not binary .xls.
    MHTML and XHTML are more verbose formats than binary .xls.
    It will be large because the current Excel output is just an HTML and not compressed like PDF. Please use the workaround (save it as .xls file).  This is a known limitation of RTF layout templates.
    BI Publisher Enterprise has a new feature True Excel Templates. The layouts generate binary Excel output.
    Excel Output File Size Generated By BI Publisher is Very Large (Doc ID 760437.1)
    Bogdan

  • Is there a way to change the output type for Email Remittance Program?

    Hello,
    We are trying to implement Separate Remittance Program.The seeded output type is PDF( I have checked the output type for send separate remittance concurrent program) however the
    email which we receive looks like a regular email I mean with a normal text .  Is there a way to get the output in different type like excel,attachment,pdf.
    Any inputs would be highly appreciated.
    Thanks,
    Sushma

    Currently there is a bug raised
    Bug 8208646 : R12 UNABLE TO SEND SEPARATE REMITTANCE ADVICE AS EMAIL ATTACHMENT IN PDF.
    If you want to customize this process you need to create data definition,new rtf template and bursting program to send pdf as attachment.

  • Reg emailing the output of a concurrent program as an attachment

    Hi,
    Our requirement is to email the output of a concurrent program?(SQL*PLUS Report Output) as an attachment to the supplied Email Id, without using seperate Shell Script.
    We have configured a printer and passed the Printer Driver argument as
    uuencode $PROFILES$.FILENAME Budget_Report.csv | /bin/mailx -"Cisco AS Budget Report" $Email_id
    The Problem is we are passing the Email address directly to the command.Can't we use the Parameter value to that command?
    And also a junk character 'end gets displayed in the mail body.
    Sometimes the concurrent Program ends with warning message as
    APP-FND-00500 : AFPPRN received a return code of failure from routine FDUPRN.
    An error occured while AOL tried to spawn the print process.
    Please suggest some ways on getting proper output?
    Thanks.

    Hi,
    Email address can be Profile Option - create a new profile option, set value and reference like the $PROFILES$.FILENAME.
    For logging pipe standard out and error to a logfile. Note I haven't tested the command below, just to give you an idea. Would be better to create a shell script then you can change without having to go to the Printer Drivers and bounce Conc Mgr.
    Ie. if you profile option is XX_EMAIL_ADDRESS then
    uuencode $PROFILES$.FILENAME Budget_Report.csv | /bin/mailx -"Cisco AS Budget Report" $PROFILES$.FILENAME >/mypath/myfile 2>&1
    With regards to the failure, if your uuencode or mailx returns 1 (ie, can't find file or whatever) then your print job fails. This is why you should either log or create shell script to handle the error better.
    Regards,
    Gareth
    Blog: http://garethroberts.blogspot.com/
    Message was edited by:
    gareth.roberts
    oops, have tested changed to haven't tested!

  • How to run the report and show the output in excel file

    salam
    how to run the report and show the output in excel file,
    how to run the report and print the o/p via printer
    how to run the report and send the o/p via mail
    thank u all

    Hi,
    There are Parameters DESTTYPE, DESFORMAT and DESNAME. You can set these parameters to get as you want.
    1) Output in Excel File
         ADD_PARAMETER(PL_ID, 'DESTYPE', TEXT_PARAMETER, 'FILE');
         ADD_PARAMETER(PL_ID, 'DESFORMAT', TEXT_PARAMETER, 'DELIMITED');
         ADD_PARAMETER(PL_ID, 'DESNAME', TEXT_PARAMETER, '<file_name>.XLS');2) output to printer
         ADD_PARAMETER(PL_ID, 'DESTYPE', TEXT_PARAMETER, 'PRINTER');
         ADD_PARAMETER(PL_ID, 'DESNAME', TEXT_PARAMETER, '<printer_name>');3) Email - Have to configure SMTP and all. ( i didn't checked it)
         ADD_PARAMETER(PL_ID, 'DESTYPE', TEXT_PARAMETER, 'MAIL');
         ADD_PARAMETER(PL_ID, 'DESNAME', TEXT_PARAMETER, '<email_id>');Regards,
    Manu.
    If this answer is helpful or correct, please mark it. Thanks.

  • Duplicate enties getting attached in the email excel

    HI,
      When am trying to send the details in the excel duplicate entries are getting attached in the excel though the internal table has the correc value.The list is displaying the contents such as 1-255 are correct entries and 256-511 are the duplicate entries.
    Instead of attaching in the excel if am displaying in the contents of email the details are getting displayed correctly.Please help to correct this duplicate entries in the excel.Code is as follows
    TABLES: edidc,somlreci1.
    TYPE-POOLS: slis,sscr.
    TYPES: BEGIN OF gt_edidc,
           docnum TYPE edidc-docnum,
           status TYPE edidc-status,
           credat TYPE edidc-credat,
           idoctp TYPE edidc-idoctp,
           mestyp TYPE edidc-mestyp,
           rcvprn TYPE edidc-rcvprn,
           END OF gt_edidc.
    DATA:gi_edidc       TYPE  STANDARD TABLE OF gt_edidc.
    DATA:gw_edidc      TYPE gt_edidc.
    SELECTION-SCREEN:BEGIN OF BLOCK b01 WITH FRAME TITLE text-001.
    SELECT-OPTIONS:s_credat FOR sy-datum .
    SELECT-OPTIONS: s_mailid FOR somlreci1-receiver OBLIGATORY
                      NO INTERVALS.
    SELECTION-SCREEN:END OF BLOCK b01.
    INITIALIZATION.
      s_credat-low = ' '.
      s_credat-high = sy-datum - 2.
      APPEND s_credat.
    start-of-selection.
    SELECT docnum status idoctp mestyp rcvprn FROM edidc INTO CORRESPONDING
      FIELDS OF TABLE gi_edidc
         WHERE credat IN s_credat AND ( status EQ 64 OR status EQ 30 ).
    IF no idoc selected for the given idoc date give the error message.
      IF sy-subrc <> 0.
        MESSAGE e000 WITH 'No idoc selected for the given input'.
      ENDIF.
    DATA: lv_objpack LIKE sopcklsti1 OCCURS 2 WITH HEADER LINE.
    DATA: lv_objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE.
    DATA: lv_objbin LIKE solisti1 OCCURS 10 WITH HEADER LINE.
    DATA: lv_objtxt LIKE solisti1 OCCURS 10 WITH HEADER LINE.
    DATA: lv_reclist LIKE somlreci1 OCCURS 5 WITH HEADER LINE.
    DATA: lv_doc_chng LIKE sodocchgi1.
    DATA: lv_tab_lines LIKE sy-tabix.
    data: lc_dsn_totals TYPE string.
    DATA: gv_date_mmdd(10) TYPE c.
    DATA: gv_message(50) TYPE c.
    lv_doc_chng-obj_descr = 'IDoc Error Status'.
        lv_objtxt = 'Please Find the Attached IDOC Error List'.
        APPEND lv_objtxt.
        lv_objtxt = 'Have a good day'.
        APPEND lv_objtxt.
    Mail Contents
      DESCRIBE TABLE lv_objtxt LINES lv_tab_lines.
      READ TABLE lv_objtxt INDEX lv_tab_lines.
    *attaching the data excel sheet to be sent as the email.
    CONCATENATE 'IDOCNUMBER'  'STATUS'  'BASIC TYPE'  'MESSAGE TYPE' 'PARTNER'
    cl_abap_char_utilities=>newline INTO lv_objbin-line separated by
         cl_abap_char_utilities=>horizontal_tab.
         append lv_objbin.
      LOOP AT gi_edidc INTO gw_edidc.
        CONCATENATE gw_edidc-docnum gw_edidc-status gw_edidc-idoctp
                      gw_edidc-mestyp gw_edidc-rcvprn
                      cl_abap_char_utilities=>newline INTO lv_objbin-line
         separated by  cl_abap_char_utilities=>horizontal_tab.
        APPEND lv_objbin.
      ENDLOOP.
      APPEND INITIAL LINE TO lv_objbin.
    lv_doc_chng-doc_size = ( lv_tab_lines - 1 ) * 255 + STRLEN( lv_objtxt ).
      CLEAR lv_objpack-transf_bin.
    *OBJPACK-TRANSF_BIN = 'X'.
      lv_objpack-head_start = 1.
      lv_objpack-head_num = 0.
      lv_objpack-body_start = 1.
      lv_objpack-body_num = lv_tab_lines.
    *OBJPACK-BODY_NUM = 1.
      lv_objpack-doc_type = 'RAW'.
      lv_objpack-obj_name = 'Mail'.
      lv_objpack-obj_descr = 'First Mail'.
      lv_objpack-doc_size = lv_tab_lines * 255.
      APPEND lv_objpack.
    Creation of the entry for the compressed document
      DESCRIBE TABLE lv_objbin LINES lv_tab_lines.
    CLEAR lc_dsn_totals.
      IF sy-langu = 'E'.
        CONCATENATE 'IDOC_TOTALS_' sy-datlo '_' sy-timlo INTO lc_dsn_totals.
        endif.
    *CLEAR OBJPACK-TRANSF_BIN.
      lv_objpack-transf_bin = 'X'.
      lv_objpack-head_start = 1.
      lv_objpack-head_num = 0.
      lv_objpack-body_start = 1.
    *OBJPACK-BODY_NUM = TAB_LINES.
      lv_objpack-body_num = lv_tab_lines.
      lv_objpack-doc_type = 'CSV'.
      lv_objpack-obj_name = 'ATTACHMENT'.
      lv_objpack-obj_descr = lc_dsn_totals.
      lv_objpack-doc_size = lv_tab_lines * 255.
      APPEND lv_objpack.
    *Create the list of recipients
    LOOP AT s_mailid.
        lv_reclist-receiver = s_mailid-low.
        lv_reclist-rec_type = 'U'.
        APPEND lv_reclist .
      ENDLOOP.
    Sending the document
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = lv_doc_chng
          put_in_outbox              = 'X'
          commit_work                = 'X'
        TABLES
          packing_list               = lv_objpack
          object_header              = lv_objhead
          contents_bin               = lv_objbin
          contents_txt               = lv_objtxt
          receivers                  = lv_reclist
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          operation_no_authorization = 4
          OTHERS                     = 99.
      IF sy-subrc = 0.
        MESSAGE s000 WITH 'Email succesfully delivered'.
        SUBMIT rsconn01 WITH mode = 'INT'
                          WITH output = 'X'
                          AND RETURN.
      ELSE.
        MESSAGE s000 WITH 'Error while sending email'.
      ENDIF.

    Your code is tough to understand in the way you posted .....
    make sure you are clearing the data in some internal tables.... or make sure you are using the correct table for email body and to excel
    if at all if you are using header line clear: itab[] will clear the whole table..

  • Are You All Able to get the Output In EXCEL Format

    Hi All,
    I have one question. Are You All Able to get the Output In EXCEL Format?? I am working on Oracle Apllication 11.5.10.2 and my XML builder is 5.0.1. Problem which i m facing is this...... Whenever i am submitting a concurrent program with format type different from PDF i could not able to view the ouput in desired format. When i am pressing view output it gives me a file in XML and when i save that file with extention 'xls' or 'rtf' then i could able to see the saved file in desired format.
    Can anyone tell me where is the problem??? Is it a bug?
    I am using microsoft world 2000 sp-3.
    Please give your valuable comments. May be your comments can solve my problem..
    Thanks
    Ravi

    Hi I got Same issue
    When I change Format to EXCEL from
    Submit request>> Option>> Format = EXCEL
    In window I am getting something HTML code and
    when I try to copy it to Browser from Tools>> Copy File in to Browser I am getting following message
    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    End tag 'p' does not match the start tag 'a'. Error processing resource 'http://our url.com:8000/OA_CGI...
    <p class="c0"><a name="Text4" id="Text4"><a name="Text1_1" id="Text1_1"><span class="c1">Dept No <...
    But I can see the output when Format is PDF
    Pls suggest solution ,I am using EBS 11.5.10.2.
    Thanks
    Rahul
    Message was edited by: Rahul
    user576181

  • My iMac locks up constantly in email. I click on one or two emails. Then when I click on another email, I get the spinning wheel and have to relaunch. Why does it get confused and lock up?

    My iMac locks up constantly in email. I click on one or two emails. Then when I click on another email, I get the spinning wheel and have to relaunch. Why does it get confused and lock up? Seems like it is stuck.

    10.6.8 here, MacBook Pro. Comcast. Mail  freeze ups. Occasional warnings to use "Log Out" under the Apple icon.
    Disk Repair run several times. Shows lots of Java  "remote" issues.
    I run Disk Repair several times, shows a lot of Java, "remote" issues.
    Restart don't know if it helps, I do it all the time. What's with quitting Mail but it doesn't quit, and why a separate maneuver to "Log Out".
    i

  • I am having a problem printing emails from my Hotmail account when I am using Mozilla Firefox as my browser. When I click on the Print icon above the email and then proceed to print, the output on my Canon Pixma 830 printer is in extremely small type.

    I am not sure about all those installed plugins you have listed below.
    I know that I can always copy the text of my email and paste it into a Word file to be printed, but that is a hassle, and the output is not quite the same as when I print directly from the Web.

    Did you check what I would consider the first place to look:
    * http://kb.mozillazine.org/Problematic_extensions
    If the site is still down (at least 12 hours) when you read this try [http://webcache.googleusercontent.com/search?q=cache:http%3A//kb.mozillazine.org/Problematic_extensions Google's cache]
    Link or url would make it easier to see which page you tried rather than "your online solution for ...".
    * http://kb.mozillazine.org/Firefox_hangs ([http://webcache.googleusercontent.com/search?q=cache:http%3A//kb.mozillazine.org/Firefox_hangs cached version])
    * http://kb.mozillazine.org/Firefox_crashes ([http://webcache.googleusercontent.com/search?q=cache:http%3A//kb.mozillazine.org/Firefox_crashes cached version])
    * [https://support.mozilla.com/kb/Firefox%20hangs#os=mac&amp;browser=fx4 Firefox hangs | Troubleshooting | Firefox Help]

  • HT3228 Please let me know how to avoid receiving the spam into my email accounts on the iPad.  It is very annoying! My server puts it in the spam folder...why do I get it on the iPad?    Is it avoidable and how?

    Please let me know how to avoid receiving the spam (from the spam folder on the server) into my email accounts on the iPad.  It is very annoying!
    My server puts it in a spam folder and I do not receive it in the Ms Outlook on my desk computer...why do I get it on the iPad?    Is it avoidable and how?b

    You actually cannot do anything to your ipad when its locked but look at pictures the time and date, you need to restore it, and if it dosent let you restore, good luck chuck Heres how to restore it: Okay, i only know the itunes way soz, lol. Try to connect your ipad to itunes, if it does let you then you should be able to select the device you have in the corner somewhere, once you do that you should see a screen that looks sort of like your ipads setting, you should have a button that says "Restore" click that and your ipad should be restored. If that dosent work you should try going to your regular office depot or something. Good Luck!

Maybe you are looking for

  • Error when opening Data Form

    Hi All, Also I have tried by removing access for that user and opened the Dta Form but still it throwing me the same error: You are trying to open the data form, but cannot because all of the required dimensions are not present. Possible causes may b

  • Chinese Characters Printing as Boxes in SAPscript

    Issue...why would a Chinese standard text print fine using the "INCLUDE" method, but output as boxes when that same Chinese standard text is retrieved successfully using the "PERFORM" method? Summary...I am currently experiencing problems printing Ch

  • I am unable to get tooltips in Firefox for my application though i am using title attribute.

    I am unable to get tooltips in Firefox for my application though i am using title attribute. I have even set the browser.chrome.toolbar_tips property to true. I am getting tooltips for all other sites except mine application.

  • Edge Animate will not startup

    I just update the latest version of Edge animate from Creative Cloud. My problemis, it will not startup. I am getting an error message which said: "The procedure entry point GetGestureInfo could not be located in the dynamic link library user 32.dll.

  • Photo-wrapped cover and matching dust jacket

    Photo-wrapped to me means the photo on the front of the cover wraps around to the back cover. If you remove the dust cover and lay it out, the photo is like a panorama, from front to back. Is that the way it works, and if so, how do you lay it out in