Table as Email Body

Hi.
I want to send some data in a Table format as an email body.
Is it possible? If yes then how it can be done?

Hi ,
Yes, it is possible we have to use "HTML" tags to send .
   DOC_TYPE = 'HTM'.
    MAILREC-RECEIVER = WA_PA0105-USRID_LONG.
    MAILREC-REC_TYPE  = 'U'.
    APPEND MAILREC.
    CLEAR: MAILREC.
    DOC_DATA-OBJ_NAME = 'Absence Details .'(029) .
    CONCATENATE 'Absence details for'(021) TEXT_DATE INTO DOC_DATA-OBJ_DESCR SEPARATED BY SPACE.
    DOC_DATA-OBJ_LANGU = SY-LANGU .
    APPEND TEXT-200 TO OBJTEXT .  " <html> <STYLE type="text/css">
    APPEND TEXT-201 TO OBJTEXT .  "</STYLE></head ><body><p>
    APPEND TEXT-202 TO OBJTEXT .  "</STYLE></head ><body><p>
    APPEND TEXT-100 TO OBJTEXT .  "Dear Sir/ Madam,
    APPEND TEXT-203 TO OBJTEXT .  "<BR>
    APPEND TEXT-203 TO OBJTEXT .  "<BR>
    CONCATENATE 'The below Employee ware absent on'(050) TEXT_DATE INTO OBJTEXT.
    APPEND OBJTEXT .
    APPEND TEXT-204 TO OBJTEXT.   "<table border="1">
    APPEND TEXT-205 TO OBJTEXT.   "<tr bgcolor="#d0d0d0" valigh="top"><td >Description</td>
    LOOP AT IT_ZHR_TIME INTO WA_ZHR_TIME.
      CONCATENATE  '<td>' WA_ZHR_TIME-L_PERNR  '</td>' INTO OBJTEXT.
      APPEND OBJTEXT.
      CONCATENATE  '<td>' WA_ZHR_TIME-L_DATE+6(2) '.'
                         WA_ZHR_TIME-L_DATE4(2) '.' WA_ZHR_TIME-L_DATE0(4)  '</td></tr>' INTO OBJTEXT.
      APPEND OBJTEXT.
      CLEAR WA_ZHR_TIME.
    ENDLOOP.
    APPEND TEXT-203 TO OBJTEXT.   "<BR>
    APPEND TEXT-203 TO OBJTEXT.   "<BR>
    APPEND TEXT-214 TO OBJTEXT.   "</table>
    APPEND TEXT-203 TO OBJTEXT.   "<BR>
    APPEND TEXT-203 TO OBJTEXT.   "<BR>
    APPEND TEXT-203 TO OBJTEXT.   "<BR>
    APPEND TEXT-203 TO OBJTEXT.   "<BR>
    APPEND TEXT-215 TO OBJTEXT.   "</body></html>
    APPEND TEXT-203 TO OBJTEXT .  "<BR>
    APPEND TEXT-203 TO OBJTEXT .  "<BR>
    OBJTEXT = 'This is for your information .'(026)  .
    APPEND TEXT-203 TO OBJTEXT .  "<BR>
    APPEND OBJTEXT .
    OBJTEXT = 'This auto Generated Mail.'(027) .
    APPEND OBJTEXT .
for more tags got to SE80  check under Tag browser

Similar Messages

  • Excel Pivot Table within Email Body - Is there an ability for Recipients to manipulate table within email?

    Hello,
     Each morning, I paste an update to an Excel pivot table for an inner company report and circulate via Outlook email.  Is there any way for my recipients to be able to manipulate the table within the body of the Outlook email?  Or do they
    have to resort to the attached Excel file containing the original of the pivot table I've pasted into the email.
    Thank you.
    Eric Korslin

    Cant do.
    Only as file, opened from attachment.
    Oskar Shon, Office System MVP - www.VBATools.pl
    if Helpful; Answer when a problem solved

  • Email Body formatting Issue

    Hi,
    We have a requirement to send an email with body in the below mentioned format. I have populated the final internal table with necessary data. I have concatenated all the columns of each record of the final internal table into a text variable with necessary spaces and appended to another internal table of type 'SOLI_TAB'. I am using CL_BCS class to send email. But I am facing an issue with the formatting. Also the column headings should be in bold.
    Column1        Column2         Column3     Column4      Column5
    XXXXX          XXXXXX         XXXXXX    XXXXXX      XXXXX
    XXXXX          XXXXXX         XXXXXX    XXXXXX      XXXXX
    XXXXX          XXXXXX         XXXXXX    XXXXXX      XXXXX
    Current Behaviour:
    Column1        Column2         Column3     Column4      Column5
    XXXXX          XXXX        XXXXXX    XXXXXX      XXXXX
    XXXXX          XXXXXX         XXXXXX    XXXXXX      XXXXX
    XXXXX          XXXXXX         XXXX    XXXXXX      XXXXX
    Can any one help me on this?
    Regard

    hi ,
    Why cant you try putting tablle format for this. and you can make header in bold also
    refer this page
    Table as Email Body
    Thanks Sam.

  • Displaying the contents of internal table- in email Step of workflows

    Hello Folks,
    I wanted to display the contents of an internal table ( would contain a list of opportunites ), in an email sent throught the workflow:
    My idea was to LOOP AT <ITAB> into <WA> from an external program and then call the workflow for each content of the <WA>. This will be a problem as, if there are like 1000 records in the internal table, then workflows will be called 1000 times...sending 1000 emails..
    My requirement is that we need to send a single email to the single person, displaying the content of the internal table in the email body......
    My question
    1) Is this scenario possible through worflows ?
    2) If not, please provide an alternative ..
    Thanks
    Anand

    Do you mean to say that just by inserting the multiline element
    within the body of the 'Send email' step type, the contents
    of the multiline element is displayed automatically without
    we having to loop at it somehow ?
    Follow the below apporach,
    1. First create a multiline container element in the workflow conatiner.
    2. Populate the internla table , by using the bor methods and pass back the populated ITAB to the WF by using the binding concept.
    3. Now create a mail step in the workflow, you have the option of inserting the workflow container elements into the mail conten, so insert the multiline container element , then it prompts to select the option like a) Do you liek to display only first line b) Display the ITAB line by line c) Display ITAB lines continuously with out line break.
    4. based upon the requirement select any one of the options.
    Note: Make sure the line length of the ITAB won't excced 132 charecters, because the send mail step will consider only 132 characters.

  • How can I attach an image without the image is in the email body? (using the new mail the Lion)

    How can I attach an image without the image is in the email body? (using the new mail the Lion)
    I want in attachment, not in the body mail.

    I think your only solution is to zip the image files first and then attach them.
    Read this from a site I found:
    Sending Graphical Attachments -- When you attach a graphical image to your message, the recipient of your message sees the image inline (that is, in the body of the message) if her email client supports inline display. ("Take Control of Email with Apple Mail" contains a table listing the capabilities of popular Mac and PC email clients.) If a client does not support inline display (or the recipient has turned off the inline display option), the file appears as an attachment that must be opened in a separate program.
    On the one hand, an inline image is easier for the recipient to see - all she has to do is look at it. On the other hand, inline images can be frustrating to scroll through. If you do not wish to send a graphical image inline, you must compress the file before attaching it - Mail, sadly, lacks a built-in compression option, though fortunately for Panther users, the Finder offers Zip compression without requiring a separate application.
    Note that when you compose a new message, Mail always shows attachments in the body of your message. You can manually drag them somewhere else, but many email clients display all attachments in a separate list, regardless of where you place them in the message body.
    If you paste an image into a message or drag & drop an image from another window (say, a Web browser), Mail converts the raw image data to an attachment in TIFF format. On the other hand, if you drag & drop the icon of an image file (or use the Attach button to locate the file using the file browser), Mail leaves the attached image in its original format. This difference is significant, because although most email clients can display JPEG images just fine, support for TIFF - especially in non-Mac email clients - is less common. If possible, I suggest attaching image files as opposed to pasting or dragging in raw image data.

  • IS possible to extract data from email body using ssis?

    IS possible to extract data from email body using ssis?
    the email come with a display table
    CRISTINA&amp MICROSOFT Forum

    Hi perezco,
    As Piotr said, this can be done through .NET programming in a Script Task or a Script Component. For the code snippet, please refer to the following thread:
    http://forums.asp.net/t/1629654.aspx 
    In addition, there are also third party SSIS components that provide such a functionality such as:
    http://www.cozyroc.com/ssis/receive-mail-task 
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • Output in Email Body Formatting Warped

    Hi All
    I am completly new to powershell & am googling about for code.
    I have been able to so far to send the results of a powershell query by email and am mightly impressed it worked.
    When the query is done on the command line it works great, by email the output is spread wide and the fields dont align with each other.
    I have pasted my commands below. I am querying the Exchange Mailbox sizes and wish to sort by the biggest down.  This works great and I out put it to a text file.
    I then read the text file and substitute it for the body of the email.
    On the outlook email recepient end It looks to me like the window size of outlook causes the text to wrap around and it is no longer displayed lengthways.
    Is there anything I can do?
    Thanks
    Below gets data
    Get-WMIObject -Class Exchange_Mailbox -Namespace ROOT\MicrosoftExchangev2 -ComputerName
    MyExchangeServer | Where-Object {$_.LastWriteTime -le (Get-Date).AddYears(1)} | Select-Object MailboxDisplayName,Size
    | sort-object size -descending
    Below tells which exchnage server to use
    $psEmailServer = "MyExchangeServer"
    Below is the text file containing the data I need assigned to $body
    $body= (Get-Content mailboxsize.txt)
    Below sends the email using the contents of the email as the email body, BUT it dosent come out right and its out of alignment in outlook.
    send-mailmessage -from "[email protected]" -to "[email protected]" -subject "test powershell email" -body "$body"
    confuseis

    The PowerShell console uses a fixed-width font, by default, but most email clients don't.  The best solution is to use the ConvertTo-Html command on the results of your pipeline, instead of saving the text to a file.  This renders the objects in
    an HTML table instead of relying on a fixed-width font, and then you use the -BodyAsHtml switch when calling Send-MailMessage:
    $data = Get-WMIObject -Class Exchange_Mailbox -Namespace ROOT\MicrosoftExchangev2 -ComputerName MyExchangeServer |
    Where-Object {$_.LastWriteTime -le (Get-Date).AddYears(1)} |
    Select-Object MailboxDisplayName,Size |
    sort-object size -descending
    $psEmailServer = "MyExchangeServer"
    $body = $data | ConvertTo-Html | Out-String
    Send-MailMessage -From "[email protected]" -To "[email protected]" -Subject "test powershell email" -Body $body -BodyAsHtml
    Edit:  If you absolutely must send the contents of the file as-is, you can still try sending the body as HTML, wrapping the body text in a <pre> tag, which should be displayed in a fixed-width font:
    $body = Get-Content mailboxsize.txt -Raw
    $body = '<pre>{0}</pre>' -f [System.Net.WebUtility]::HtmlEncode($body)
    $psEmailServer = "MyExchangeServer"
    Send-MailMessage -From "[email protected]" -To "[email protected]" -Subject "test powershell email" -Body $body -BodyAsHtml

  • Email body format is not correctly in SOST using SO_DOCUMENT_SEND_API1

    Hi Experts,
    I am sending email from my program, Email body is not coming correct format in the SOST as it is in the internal table.
    Below code i was written if any one knows please suggest.
        CONCATENATE DBHOST ':' SY-REPID INTO SUBJECT.
        DESCRIBE TABLE EMAIL_BODY LINES LINCOUNT.
        MOVE SUBJECT TO V_DATA-OBJ_DESCR.
        V_DATA-OBJ_NAME = 'TEXT'.
      IT_PACK-HEAD_START = '000000000000001'.
      IT_PACK-BODY_START = '000000000000001'.
      IT_PACK-DOC_TYPE = 'HTM' .
      IT_PACK-BODY_NUM = LINCOUNT.
      APPEND IT_PACK.
      IT_RECEIVER-RECEIVER = ADDRESSEE.
      IT_RECEIVER-REC_TYPE = 'U'.
      IT_RECEIVER-COM_TYPE = 'INT'.
      APPEND IT_RECEIVER.
      LOOP AT EMAIL_BODY.
        MOVE EMAIL_BODY-TDLINE TO IT_TEXT-LINE.
        APPEND IT_TEXT.
        CLEAR IT_TEXT.
      ENDLOOP.
        lv_RECEIVER = program input field email address.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
        EXPORTING
         DOCUMENT_DATA                    = V_DATA
         PUT_IN_OUTBOX                    = 'X'
         SENDER_ADDRESS                   = lv_RECEIVER
         SENDER_ADDRESS_TYPE              = 'INT '
        TABLES
          PACKING_LIST                    = IT_PACK
         CONTENTS_TXT                     =  IT_TEXT
          RECEIVERS                       = IT_RECEIVER
       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.
    Eagerly waiting for your response.
    Thanks,
    Kumar

    what do you mean by "not correctly"?  Is the text wrapping at 80 characters, or ??  Where's your example of the "not correctly" text?

  • Need to send the report output in email body.

    Hi Friends,
    I need to send the report output in body of the email but not as an attachment.
    Requesting your suggestions. Please elaborated answers are expected.
    Thanks & Regards,
    S.Suresh Babu.

    If you are looking for same output to be available in the email body, i think this is not possible.
    If you are just concentrated on the data, then you can do as below.
    1. In your custom program, submit the actual report program via spool and by making use of that spool, read the spool content (We have function modules which can download the content from spool to the internal table), and by making use of this internal table, build the actual internal table as required which will be passed to email function module lets say SO_OBJECT_SEND etc..
    2. You can make use of even LIST_TO_MEMORY and LIST_FROM_MEMORY function modules as well instead of spool, if you have data in the final internal table.
    I am not sure, how can we handle in terms of logos if any.....or the data in the top of page related things......

  • Error 500 in Email body sent by BPM Task

    Hi All,
    We are sending an email notification with task payload whenever a task is created by configuring Notification properties associated with a task in BPM 11g.
    The emails are going fine for individual emails but when we are sending the email to a DL (Group emails) an Error 500--Internal Server
    is coming in email body.. the task payload is not rendered.
    What may be the reason and what is the solution?
    Warm Regards,
    Sam

    Hi,
    Please use the follwoing FM in a task-mehtod to send mail.
    CONCATENATE '<A HREF=' lv_link '>'
       INTO ls_text.
    APPEND ls_text TO lt_text.
    CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
      EXPORTING
        document_data              = ls_document_data
        document_type              = 'HTM'
        put_in_outbox              = 'X'
        commit_work                = 'X'
      TABLES
        object_content             = lt_text
        receivers                  = lt_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.
    Where lv_link  is the varibale wihich holds thlink more than 132 charecters.
    Thanks and regards,
    SNJY

  • UTL_SMTP writing to email body after writing to attachment doesn't work

    Read in contents of files and Write text to email body if size is < 10k , otherwise to an attachment. Problem is after writing to an attachment we can't get it to switch to write the next file contents to the message body.
    Example; we have 6 files in the table array. The first two files are less than 10k in size so the text from these files get written to the mail body. The third file size is 12k so the text gets written to an attachment. The 4th file is 2k but instead of being written to the email message body it gets appended to the previous attachment. All subsequent files of size < than 10k get appended to the attachment.

    Sounds like you've written some custom code and it has a bug in it. How about you post a SMALL (yet complete) example that can be run by anyone with an Oracle database (the same version as you, which you've not told us and should). From there you should get lots of help.
    To get your version
    select *
    from v$version;

  • Formating Email Body In SO_NEW_DOCUMENT_SEND_API1

    Hai,
    I am Trying to send an email, from my program , where body of the email is simply hardcoded.
    I need the email body in the below format with just 2 lines.
    Hi,
    line 1 :-Report Generated successfully
    line 2:- This mail is SAP generated pls dont reply.
    But My problem is all these lines are coming in a single line  . I have done all possible experiments but of no use...
    now depending on SDN..Help pls...Here is the code..
    objtxt-line = 'Hi,'.
    *    CONCATENATE cl_abap_char_utilities=>newline 'Hi' into objtxt-line respecting blanks.
         APPEND OBJTXT.
         CLEAR OBJTXT.
        APPEND OBJTXT.
         CLEAR OBJTXT.
        OBJTXT-LINE = P_MSG.
    *    CONCATENATE cl_abap_char_utilities=>newline p_msg cl_abap_char_utilities=>newline INTO OBJTXT-LINE respecting blanks.
         APPEND OBJTXT.
         CLEAR OBJTXT.
        CONCATENATE 'DO NOT REPLY TO THIS EMAIL. '
                      'THIS IS A SAP-SYSTEM GENERATED EMAIL!!' INTO OBJTXT-LINE .
         APPEND OBJTXT.
         CLEAR OBJTXT.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
        EXPORTING
          DOCUMENT_DATA                    = EMAIL_data
         PUT_IN_OUTBOX                    = 'X'
    *     SENDER_ADDRESS                   = SY-UNAME
    *     SENDER_ADDRESS_TYPE              = 'B'
         COMMIT_WORK                      = 'X'
    *   IMPORTING
    *     SENT_TO_ALL                      =
    *     NEW_OBJECT_ID                    =
    *     SENDER_ID                        =
        TABLES
          PACKING_LIST                     = PACKING_DETAIL
    *     OBJECT_HEADER                    =
    *     CONTENTS_BIN                     =
         CONTENTS_TXT                     =  objtxt
    *     CONTENTS_HEX                     =
    *     OBJECT_PARA                      =
    *     OBJECT_PARB                      =
          RECEIVERS                        = EMAIL_SEND
       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.                                      "Commented by jm1227 - 07/18/2011
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *  ENDIF.
    CASE SY-SUBRC.
          WHEN 0.
            LOOP AT S_EMAIL.
                WRITE: / S_EMAIL-low, ': succesfully sent'.
                skip.
            ENDLOOP.
          WHEN 1.
            WRITE: / 'Too many receivers specified !'.
          WHEN 2.
            WRITE: / 'No receiver got the document !'.
          WHEN 4.
            WRITE: / 'Missing send authority !'.
          WHEN OTHERS.
            WRITE: / 'Unexpected error occurred !'.
        ENDCASE.
    ENDFORM.                    " SEND_MAIL
    Thanks Jeevan.

    Hi Kumar,
    Is your GS_PACKING_LIST-DOC_TYPE   = raw or different?
    Best regards.

  • Email body text formating

    Hi ALL,
    I need to display the following data in the email body with Material records and DIR records
    Line 1 (Header Line):
    "Material Master Records "
    Line 2:
    [ space ]
    Line 3 (New Record):
    Material Number              Material Desc.          MatGrp                 Basic Material                UOM                  
    Line 1 (Header Line):
    "Document Info. Records "
    Line 2:
    [ space ]
    Line 3 (New Record):
    DocType                   Document                      Part                               Version                                     Doc.Desc.                   
    I am using the FM 'SO_NEW_DOCUMENT_ATT_SEND_API1' to send the mail and populating the contents_txt internal table with Material and DIR records using OFFSETS.
    I am getting alignment problems and space is getting trucated between the fields.
    Can somebody tell me how to do a proper formating to the email body
    Thanks
    Bhasker

    I hope every thing in the mail is in Charater format , every field and length .
    the only thing for these sort of option is to have a fixed distance based on max and min length the text can occupy .
    Line 1 (Header Line):
    "Material Master Records "
    Line 2:
    [ space ]
    Line 3 (New Record):
    Material Number Material Desc. MatGrp Basic Material UOM
    declare the text as
    begin of itab occurs 0 ,
    s1(200) type c,
    endof itab
    1. first text for the header .
    itab-S1+10(100)  = " Header text'.
    append itab .
    clear itab.
    2.
    append itab ====> fill force an empty line
    3.
    use concatenate f1X(Y ) f2X(Y ) itab-f3+X(Y ) into itab-s1 separated by space
    append itab.
    will keep the format in justified format .
    similarly repeat the same for the second header .
    regards,
    vijay

  • Email Body

    Hi,
    We are sending Sales or. document as PDF attachement through mail.
    The requirement is attached PDF document should show in email body.
    Is it possible? Please provide help full information.

    hi this is a working program for the email  with excel bady..
    REPORT  ZMAIL.
    *& Report  ZEMAIL_ATTACH                                               *
    *& Example of sending external email via SAPCONNECT                    *
    TABLES: ekko.
    PARAMETERS: p_email   TYPE somlreci1-receiver .
    TYPES: BEGIN OF t_ekpo,
      ebeln TYPE ekpo-ebeln,
      ebelp TYPE ekpo-ebelp,
      aedat TYPE ekpo-aedat,
      matnr TYPE ekpo-matnr,
    END OF t_ekpo.
    DATA: it_ekpo TYPE STANDARD TABLE OF t_ekpo INITIAL SIZE 0,
          wa_ekpo TYPE t_ekpo.
    TYPES: BEGIN OF t_charekpo,
      ebeln(10) TYPE c,
      ebelp(5)  TYPE c,
      aedat(8)  TYPE c,
      matnr(18) TYPE c,
    END OF t_charekpo.
    DATA: wa_charekpo TYPE t_charekpo.
    DATA:   it_message TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
                    WITH HEADER LINE.
    DATA:   it_attach TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
                    WITH HEADER LINE.
    DATA:   t_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
            t_contents LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            t_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
            t_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            t_object_header LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            w_cnt TYPE i,
            w_sent_all(1) TYPE c,
            w_doc_data LIKE sodocchgi1,
            gd_error    TYPE sy-subrc,
            gd_reciever TYPE sy-subrc.
    *START_OF_SELECTION
    START-OF-SELECTION.
      Retrieve sample data from table ekpo
      PERFORM data_retrieval.
      Populate table with detaisl to be entered into .xls file
      PERFORM build_xls_data_table.
    *END-OF-SELECTION
    END-OF-SELECTION.
    Populate message body text
      perform populate_email_message_body.
    Send file by email as .xls speadsheet
      PERFORM send_file_as_email_attachment
                                   tables it_message
                                          it_attach
                                    using p_email
                                          'Example .xls documnet attachment'
                                          'XLS'
                                          'filename'
                                 changing gd_error
                                          gd_reciever.
      Instructs mail send program for SAPCONNECT to send email(rsconn01)
      PERFORM initiate_mail_execute_program.
    *&      Form  DATA_RETRIEVAL
          Retrieve data form EKPO table and populate itab it_ekko
    FORM data_retrieval.
      SELECT ebeln ebelp aedat matnr
       UP TO 10 ROWS
        FROM ekpo
        INTO TABLE it_ekpo.
    ENDFORM.                    " DATA_RETRIEVAL
    *&      Form  BUILD_XLS_DATA_TABLE
          Build data table for .xls document
    FORM build_xls_data_table.
      data: ld_store(50) type c.  "Leading zeros
      CONSTANTS: con_cret(5) TYPE c VALUE '0D',  "OK for non Unicode
                 con_tab(5) TYPE c VALUE '09'.   "OK for non Unicode
    *If you have Unicode check active in program attributes thnen you will
    *need to declare constants as follows
    *class cl_abap_char_utilities definition load.
    *constants:
       con_tab  type c value cl_abap_char_utilities=>HORIZONTAL_TAB,
       con_cret type c value cl_abap_char_utilities=>CR_LF.
      CONCATENATE 'EBELN' 'EBELP' 'AEDAT' 'MATNR' INTO it_attach SEPARATED BY con_tab.
      CONCATENATE con_cret it_attach  INTO it_attach.
      APPEND  it_attach.
      LOOP AT it_ekpo INTO wa_charekpo.
    *Modification to retain leading zeros
      inserts code for excell REPLACE command into ld_store
      =REPLACE("00100",1,5,"00100")
        concatenate '=REPLACE("' wa_charekpo-ebelp '",1,5,"'
                                 wa_charekpo-ebelp '")' into ld_store .
      concatenate ld_store into .xls file instead of actual value(ebelp)
        CONCATENATE wa_charekpo-ebeln ld_store  wa_charekpo-aedat wa_charekpo-matnr  INTO it_attach SEPARATED BY con_tab.
        CONCATENATE con_cret it_attach  INTO it_attach.
        APPEND  it_attach.
      ENDLOOP.
    ENDFORM.                    " BUILD_XLS_DATA_TABLE
    *&      Form  SEND_FILE_AS_EMAIL_ATTACHMENT
          Send email
    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.
      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 it_attach INDEX w_cnt.
      w_doc_data-doc_size =
         ( w_cnt - 1 ) * 255 + STRLEN( it_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.
      t_receivers-receiver = ld_email.
      t_receivers-rec_type = 'U'.
      t_receivers-com_type = 'INT'.
      t_receivers-notif_del = 'X'.
      t_receivers-notif_ndel = 'X'.
      APPEND t_receivers.
      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.
    ENDFORM.
    *&      Form  INITIATE_MAIL_EXECUTE_PROGRAM
          Instructs mail send program for SAPCONNECT to send email.
    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
    *&      Form  POPULATE_EMAIL_MESSAGE_BODY
           Populate message body text
    form populate_email_message_body.
      REFRESH it_message.
      it_message = 'Please find attached a list test ekpo records'.
      APPEND it_message.
    endform.                    " POPULATE_EMAIL_MESSAGE_BODY
    regards,
    venkat.

  • Format of email body in bursting control file

    Hi,
    I am hoping this is a simple question for someone that is not as new as I am to bursting...
    What is the new line character I should be using to format the outgoing email body within the bursting control file.
    At present, the entire email body appears as one paragraph regardless of whether I have included new lines or not. I am no doubt missing something simple given that it is 5.20pm on a Friday.
    Any help is appreciated.
    Kind regards,
    Wes

    Version 11.5.10.2
    XML/BI Publisher Version : 5.6.3
    i have put the log file here for your reference
    XML/BI Publisher Version : 5.6.3
    Request ID: 1691733
    All Parameters: ReportRequestID=1691732:DebugFlag=Y
    Report Req ID: 1691732
    Debug Flag: Y
    Updating request description
    Updated description
    Retrieving XML request information
    Node Name:COLFARMT
    Preparing parameters
    null output =/u3010/app/oracle/UAT/common/admin/out/UAT1_colfarmt/o1691733.out
    inputfilename =/u3010/app/oracle/UAT/common/admin/out/UAT1_colfarmt/o1691732.out
    Data XML File:/u3010/app/oracle/UAT/common/admin/out/UAT1_colfarmt/o1691732.out
    Set Bursting parameters..
    Temp. Directory:/u0350/app/apps/UAT/xx/1.0/log
    [033108_044049404][][STATEMENT] Oracle XML Parser version ::: Oracle XDK Java 9.0.4.0.0 Production
    Start bursting process..
    [033108_044049410][][STATEMENT] /u0350/app/apps/UAT/xx/1.0/log
    [033108_044049474][][STATEMENT] BurstingProcessor ::: Property Key ---> burstng-source
    [033108_044049475][][STATEMENT] Inside burstingConfigParser
    [033108_044049482][oracle.apps.xdo.batch.BurstingProcessorEngine][STATEMENT] ========================> startElement() ::: startDocument is entered <========================
    [033108_044049688][oracle.apps.xdo.batch.BurstingProcessorEngine][STATEMENT] ========================> startElement() ::: startDocument is entered <========================
    [033108_044050177][][STATEMENT] template File/u0350/app/apps/UAT/xx/1.0/data/PurchaseOrder.rtf
    [033108_044050245][][STATEMENT] Logger.init(): *** DEBUG MODE IS OFF. ***
    [033108_044050731][][STATEMENT] [ PDF GENERATOR ]---------------------------------------------
    [033108_044050732][][STATEMENT] XDO version = Oracle XML Publisher 5.6.3
    [033108_044050732][][STATEMENT] java.home = /usr/j2sdk1.4.2_08/jre
    [033108_044050732][][STATEMENT] XDO_TOP = null
    [033108_044050732][][STATEMENT] Config Path = null
    [033108_044050732][][STATEMENT] Debug Cfg Path= null
    [033108_044050733][][STATEMENT] Font dir = /usr/j2sdk1.4.2_08/jre/lib/fonts/
    [033108_044050733][][STATEMENT] Locale = en
    [033108_044050733][][STATEMENT] Fallback font = type1.Helvetica
    [033108_044050733][][STATEMENT] [ PDF GENERATOR PROPERTIES ]----------------------------------
    [033108_044050736][][STATEMENT] digit-substitution=null(not set)
    [033108_044050736][][STATEMENT] font.ALBANY WT J.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ALBANWTJ.ttf
    [033108_044050736][][STATEMENT] font.ALBANY WT K.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ALBANWTK.ttf
    [033108_044050737][][STATEMENT] font.ALBANY WT SC.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ALBANWTS.ttf
    [033108_044050737][][STATEMENT] font.ALBANY WT TC.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ALBANWTT.ttf
    [033108_044050737][][STATEMENT] font.ALBANY WT.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ALBANYWT.ttf
    [033108_044050737][][STATEMENT] font.ANDALE DUOSPACE WT J.normal.bold=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOJB.ttf
    [033108_044050737][][STATEMENT] font.ANDALE DUOSPACE WT J.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOJ.ttf
    [033108_044050738][][STATEMENT] font.ANDALE DUOSPACE WT K.normal.bold=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOKB.ttf
    [033108_044050738][][STATEMENT] font.ANDALE DUOSPACE WT K.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOK.ttf
    [033108_044050738][][STATEMENT] font.ANDALE DUOSPACE WT SC.normal.bold=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOSCB.ttf
    [033108_044050738][][STATEMENT] font.ANDALE DUOSPACE WT SC.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOSC.ttf
    [033108_044050739][][STATEMENT] font.ANDALE DUOSPACE WT TC.normal.bold=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOTCB.ttf
    [033108_044050739][][STATEMENT] font.ANDALE DUOSPACE WT TC.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOTC.ttf
    [033108_044050739][][STATEMENT] font.ANDALE DUOSPACE WT.normal.bold=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOB.ttf
    [033108_044050739][][STATEMENT] font.ANDALE DUOSPACE WT.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUO.ttf
    [033108_044050739][][STATEMENT] font.CG TIMES.italic.bold=type1.Times-BoldItalic
    [033108_044050739][][STATEMENT] font.CG TIMES.italic.normal=type1.Times-Italic
    [033108_044050740][][STATEMENT] font.CG TIMES.normal.bold=type1.Times-Bold
    [033108_044050741][][STATEMENT] font.CG TIMES.normal.normal=type1.Times-Roman
    [033108_044050741][][STATEMENT] font.COURIER NEW.italic.bold=type1.Courier-BoldOblique
    [033108_044050741][][STATEMENT] font.COURIER NEW.italic.normal=type1.Courier-Oblique
    [033108_044050741][][STATEMENT] font.COURIER NEW.normal.bold=type1.Courier-Bold
    [033108_044050741][][STATEMENT] font.COURIER NEW.normal.normal=type1.Courier
    [033108_044050742][][STATEMENT] font.COURIER.italic.bold=type1.Courier-BoldOblique
    [033108_044050742][][STATEMENT] font.COURIER.italic.normal=type1.Courier-Oblique
    [033108_044050742][][STATEMENT] font.COURIER.normal.bold=type1.Courier-Bold
    [033108_044050742][][STATEMENT] font.COURIER.normal.normal=type1.Courier
    [033108_044050742][][STATEMENT] font.DEFAULT.italic.bold=type1.Helvetica-BoldOblique
    [033108_044050742][][STATEMENT] font.DEFAULT.italic.normal=type1.Helvetica-Oblique
    [033108_044050743][][STATEMENT] font.DEFAULT.normal.bold=type1.Helvetica-Bold
    [033108_044050743][][STATEMENT] font.DEFAULT.normal.normal=type1.Helvetica
    [033108_044050743][][STATEMENT] font.HELVETICA.italic.bold=type1.Helvetica-BoldOblique
    [033108_044050743][][STATEMENT] font.HELVETICA.italic.normal=type1.Helvetica-Oblique
    [033108_044050743][][STATEMENT] font.HELVETICA.normal.bold=type1.Helvetica-Bold
    [033108_044050743][][STATEMENT] font.HELVETICA.normal.normal=type1.Helvetica
    [033108_044050743][][STATEMENT] font.MONOSPACE.italic.bold=type1.Courier-BoldOblique
    [033108_044050744][][STATEMENT] font.MONOSPACE.italic.normal=type1.Courier-Oblique
    [033108_044050744][][STATEMENT] font.MONOSPACE.normal.bold=type1.Courier-Bold
    [033108_044050744][][STATEMENT] font.MONOSPACE.normal.normal=type1.Courier
    [033108_044050744][][STATEMENT] font.SANS-SERIF.italic.bold=type1.Helvetica-BoldOblique
    [033108_044050744][][STATEMENT] font.SANS-SERIF.italic.normal=type1.Helvetica-Oblique
    [033108_044050744][][STATEMENT] font.SANS-SERIF.normal.bold=type1.Helvetica-Bold
    [033108_044050745][][STATEMENT] font.SANS-SERIF.normal.normal=type1.Helvetica
    [033108_044050745][][STATEMENT] font.SERIF.italic.bold=type1.Times-BoldItalic
    [033108_044050745][][STATEMENT] font.SERIF.italic.normal=type1.Times-Italic
    [033108_044050745][][STATEMENT] font.SERIF.normal.bold=type1.Times-Bold
    [033108_044050745][][STATEMENT] font.SERIF.normal.normal=type1.Times-Roman
    [033108_044050745][][STATEMENT] font.SYMBOL.normal.normal=type1.Symbol
    [033108_044050746][][STATEMENT] font.TIMES NEW ROMAN.italic.bold=type1.Times-BoldItalic
    [033108_044050746][][STATEMENT] font.TIMES NEW ROMAN.italic.normal=type1.Times-Italic
    [033108_044050746][][STATEMENT] font.TIMES NEW ROMAN.normal.bold=type1.Times-Bold
    [033108_044050746][][STATEMENT] font.TIMES NEW ROMAN.normal.normal=type1.Times-Roman
    [033108_044050746][][STATEMENT] font.TIMES.italic.bold=type1.Times-BoldItalic
    [033108_044050746][][STATEMENT] font.TIMES.italic.normal=type1.Times-Italic
    [033108_044050747][][STATEMENT] font.TIMES.normal.bold=type1.Times-Bold
    [033108_044050747][][STATEMENT] font.TIMES.normal.normal=type1.Times-Roman
    [033108_044050747][][STATEMENT] font.ZAPFDINGBATS.normal.normal=type1.ZapfDingbats
    [033108_044050747][][STATEMENT] pdf-changes-allowed=0
    [033108_044050749][][STATEMENT] pdf-compression=true
    [033108_044050749][][STATEMENT] pdf-enable-accessibility=true
    [033108_044050749][][STATEMENT] pdf-enable-copying=false
    [033108_044050749][][STATEMENT] pdf-encryption-level=0
    [033108_044050749][][STATEMENT] pdf-font-embedding=true
    [033108_044050749][][STATEMENT] pdf-hide-menubar=false
    [033108_044050750][][STATEMENT] pdf-hide-toolbar=false
    [033108_044050750][][STATEMENT] pdf-no-accff=false
    [033108_044050750][][STATEMENT] pdf-no-cceda=false
    [033108_044050750][][STATEMENT] pdf-no-changing-the-document=true
    [033108_044050750][][STATEMENT] pdf-no-printing=false
    [033108_044050750][][STATEMENT] pdf-open-password=
    [033108_044050751][][STATEMENT] pdf-permissions=0
    [033108_044050751][][STATEMENT] pdf-permissions-password=
    [033108_044050751][][STATEMENT] pdf-printing-allowed=0
    [033108_044050751][][STATEMENT] pdf-replace-smartquotes=true
    [033108_044050751][][STATEMENT] pdf-security=false
    [033108_044050751][][STATEMENT] ------------------------------------------------------
    [033108_044051077][oracle.apps.xdo.common.font.FontFactory$FontDef][STATEMENT] Type1 font created: Helvetica
    [033108_044051091][oracle.apps.xdo.common.font.FontFactory$FontDef][STATEMENT] Type1 font created: Times-Roman
    [033108_044051237][][STATEMENT] WARNING: Old RTF version detected, nested table disabled
    [033108_044052301][][STATEMENT] WARNING: Old RTF version detected, nested table disabled
    [033108_044052383][oracle.apps.xdo.template.rtf.RTF2XSLParser][STATEMENT] Time spent: 1665
    [033108_044052394][oracle.apps.xdo.common.font.FontFactory][STATEMENT] type1.Helvetica closed.
    [033108_044052394][oracle.apps.xdo.common.font.FontFactory][STATEMENT] type1.Times-Roman closed.
    [033108_044052649][][STATEMENT] Logger.init(): *** DEBUG MODE IS OFF. ***
    [033108_044052649][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor constructor is called.
    [033108_044052901][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor has been initialized without default config.
    [033108_044052901][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setTemplate(String) is called with '/u0350/app/apps/UAT/xx/1.0/log/033108_044049420/xdo2.tmp'.
    [033108_044052916][][STATEMENT] Logger.init(): *** DEBUG MODE IS OFF. ***
    [033108_044052916][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setData(String) is called with '/u0350/app/apps/UAT/xx/1.0/log/033108_044049420/xdo0.tmp'.
    [033108_044052920][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setOutput(String)is called with '/u0350/app/apps/UAT/xx/1.0/log/033108_044049420/PurchaseOrder 6023571.pdf'.
    [033108_044052948][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setOutputFormat(byte)is called with ID=1.
    [033108_044052950][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.generate() called.
    [033108_044052950][oracle.apps.xdo.template.FOProcessor][STATEMENT] createFO(Object, Object) is called.
    [033108_044053858][oracle.apps.xdo.common.xml.XSLT10gR1][STATEMENT] oracle.xdo Developers Kit 10.1.0.3.0 - Production
    [033108_044053859][oracle.apps.xdo.common.xml.XSLT10gR1][STATEMENT] Scalable Feature Disabled
    [033108_044055032][oracle.apps.xdo.template.fo.FOProcessingEngine][STATEMENT] Using proxy for PDF Generator
    [033108_044055064][oracle.apps.xdo.template.FOProcessor][STATEMENT] Calling FOProcessingEngine.process()
    [033108_044055065][][STATEMENT] Using optimized xslt
    [033108_044055100][oracle.apps.xdo.template.fo.datatype.AttrKey][STATEMENT] WARNING: Found undetermined AttrKey: xmlns:xlink
    [033108_044055108][][STATEMENT] [ PDF GENERATOR ]---------------------------------------------
    [033108_044055108][][STATEMENT] XDO version = Oracle XML Publisher 5.6.3
    [033108_044055108][][STATEMENT] java.home = /usr/j2sdk1.4.2_08/jre
    [033108_044055109][][STATEMENT] XDO_TOP = null
    [033108_044055112][][STATEMENT] Config Path = null
    [033108_044055112][][STATEMENT] Debug Cfg Path= null
    [033108_044055112][][STATEMENT] Font dir = /usr/j2sdk1.4.2_08/jre/lib/fonts/
    [033108_044055112][][STATEMENT] Locale = en
    [033108_044055112][][STATEMENT] Fallback font = type1.Helvetica
    [033108_044055112][][STATEMENT] [ PDF GENERATOR PROPERTIES ]----------------------------------
    [033108_044055115][][STATEMENT] digit-substitution=null(not set)
    [033108_044055115][][STATEMENT] font.ALBANY WT J.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ALBANWTJ.ttf
    [033108_044055116][][STATEMENT] font.ALBANY WT K.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ALBANWTK.ttf
    [033108_044055116][][STATEMENT] font.ALBANY WT SC.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ALBANWTS.ttf
    [033108_044055116][][STATEMENT] font.ALBANY WT TC.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ALBANWTT.ttf
    [033108_044055116][][STATEMENT] font.ALBANY WT.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ALBANYWT.ttf
    [033108_044055116][][STATEMENT] font.ANDALE DUOSPACE WT J.normal.bold=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOJB.ttf
    [033108_044055116][][STATEMENT] font.ANDALE DUOSPACE WT J.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOJ.ttf
    [033108_044055116][][STATEMENT] font.ANDALE DUOSPACE WT K.normal.bold=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOKB.ttf
    [033108_044055130][][STATEMENT] font.ANDALE DUOSPACE WT K.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOK.ttf
    [033108_044055130][][STATEMENT] font.ANDALE DUOSPACE WT SC.normal.bold=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOSCB.ttf
    [033108_044055131][][STATEMENT] font.ANDALE DUOSPACE WT SC.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOSC.ttf
    [033108_044055137][][STATEMENT] font.ANDALE DUOSPACE WT TC.normal.bold=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOTCB.ttf
    [033108_044055137][][STATEMENT] font.ANDALE DUOSPACE WT TC.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOTC.ttf
    [033108_044055137][][STATEMENT] font.ANDALE DUOSPACE WT.normal.bold=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOB.ttf
    [033108_044055138][][STATEMENT] font.ANDALE DUOSPACE WT.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUO.ttf
    [033108_044055138][][STATEMENT] font.CG TIMES.italic.bold=type1.Times-BoldItalic
    [033108_044055138][][STATEMENT] font.CG TIMES.italic.normal=type1.Times-Italic
    [033108_044055138][][STATEMENT] font.CG TIMES.normal.bold=type1.Times-Bold
    [033108_044055138][][STATEMENT] font.CG TIMES.normal.normal=type1.Times-Roman
    [033108_044055138][][STATEMENT] font.COURIER NEW.italic.bold=type1.Courier-BoldOblique
    [033108_044055138][][STATEMENT] font.COURIER NEW.italic.normal=type1.Courier-Oblique
    [033108_044055138][][STATEMENT] font.COURIER NEW.normal.bold=type1.Courier-Bold
    [033108_044055138][][STATEMENT] font.COURIER NEW.normal.normal=type1.Courier
    [033108_044055139][][STATEMENT] font.COURIER.italic.bold=type1.Courier-BoldOblique
    [033108_044055139][][STATEMENT] font.COURIER.italic.normal=type1.Courier-Oblique
    [033108_044055139][][STATEMENT] font.COURIER.normal.bold=type1.Courier-Bold
    [033108_044055139][][STATEMENT] font.COURIER.normal.normal=type1.Courier
    [033108_044055139][][STATEMENT] font.DEFAULT.italic.bold=type1.Helvetica-BoldOblique
    [033108_044055139][][STATEMENT] font.DEFAULT.italic.normal=type1.Helvetica-Oblique
    [033108_044055139][][STATEMENT] font.DEFAULT.normal.bold=type1.Helvetica-Bold
    [033108_044055139][][STATEMENT] font.DEFAULT.normal.normal=type1.Helvetica
    [033108_044055139][][STATEMENT] font.HELVETICA.italic.bold=type1.Helvetica-BoldOblique
    [033108_044055140][][STATEMENT] font.HELVETICA.italic.normal=type1.Helvetica-Oblique
    [033108_044055140][][STATEMENT] font.HELVETICA.normal.bold=type1.Helvetica-Bold
    [033108_044055140][][STATEMENT] font.HELVETICA.normal.normal=type1.Helvetica
    [033108_044055140][][STATEMENT] font.MONOSPACE.italic.bold=type1.Courier-BoldOblique
    [033108_044055140][][STATEMENT] font.MONOSPACE.italic.normal=type1.Courier-Oblique
    [033108_044055140][][STATEMENT] font.MONOSPACE.normal.bold=type1.Courier-Bold
    [033108_044055140][][STATEMENT] font.MONOSPACE.normal.normal=type1.Courier
    [033108_044055140][][STATEMENT] font.SANS-SERIF.italic.bold=type1.Helvetica-BoldOblique
    [033108_044055140][][STATEMENT] font.SANS-SERIF.italic.normal=type1.Helvetica-Oblique
    [033108_044055141][][STATEMENT] font.SANS-SERIF.normal.bold=type1.Helvetica-Bold
    [033108_044055141][][STATEMENT] font.SANS-SERIF.normal.normal=type1.Helvetica
    [033108_044055141][][STATEMENT] font.SERIF.italic.bold=type1.Times-BoldItalic
    [033108_044055141][][STATEMENT] font.SERIF.italic.normal=type1.Times-Italic
    [033108_044055141][][STATEMENT] font.SERIF.normal.bold=type1.Times-Bold
    [033108_044055141][][STATEMENT] font.SERIF.normal.normal=type1.Times-Roman
    [033108_044055141][][STATEMENT] font.SYMBOL.normal.normal=type1.Symbol
    [033108_044055141][][STATEMENT] font.TIMES NEW ROMAN.italic.bold=type1.Times-BoldItalic
    [033108_044055141][][STATEMENT] font.TIMES NEW ROMAN.italic.normal=type1.Times-Italic
    [033108_044055142][][STATEMENT] font.TIMES NEW ROMAN.normal.bold=type1.Times-Bold
    [033108_044055142][][STATEMENT] font.TIMES NEW ROMAN.normal.normal=type1.Times-Roman
    [033108_044055142][][STATEMENT] font.TIMES.italic.bold=type1.Times-BoldItalic
    [033108_044055142][][STATEMENT] font.TIMES.italic.normal=type1.Times-Italic
    [033108_044055142][][STATEMENT] font.TIMES.normal.bold=type1.Times-Bold
    [033108_044055142][][STATEMENT] font.TIMES.normal.normal=type1.Times-Roman
    [033108_044055142][][STATEMENT] font.ZAPFDINGBATS.normal.normal=type1.ZapfDingbats
    [033108_044055142][][STATEMENT] pdf-changes-allowed=0
    [033108_044055142][][STATEMENT] pdf-compression=true
    [033108_044055143][][STATEMENT] pdf-enable-accessibility=true
    [033108_044055143][][STATEMENT] pdf-enable-copying=false
    [033108_044055143][][STATEMENT] pdf-encryption-level=0
    [033108_044055143][][STATEMENT] pdf-font-embedding=true
    [033108_044055143][][STATEMENT] pdf-hide-menubar=false
    [033108_044055143][][STATEMENT] pdf-hide-toolbar=false
    [033108_044055143][][STATEMENT] pdf-no-accff=false
    [033108_044055143][][STATEMENT] pdf-no-cceda=false
    [033108_044055143][][STATEMENT] pdf-no-changing-the-document=true
    [033108_044055144][][STATEMENT] pdf-no-printing=false
    [033108_044055145][][STATEMENT] pdf-open-password=
    [033108_044055145][][STATEMENT] pdf-permissions=0
    [033108_044055145][][STATEMENT] pdf-permissions-password=
    [033108_044055145][][STATEMENT] pdf-printing-allowed=0
    [033108_044055145][][STATEMENT] pdf-replace-smartquotes=true
    [033108_044055145][][STATEMENT] pdf-security=false
    [033108_044055145][][STATEMENT] ------------------------------------------------------
    [033108_044055220][][STATEMENT] Rendering page [1]
    [033108_044055238][oracle.apps.xdo.common.font.FontFactory$FontDef][STATEMENT] Type1 font created: Helvetica
    [033108_044055238][oracle.apps.xdo.common.font.FontFactory$FontDef][STATEMENT] Type1 font created: Times-Roman
    [033108_044055246][][STATEMENT] Phase2 time used: 83ms
    [033108_044055531][][STATEMENT] Continue rendering page [1]
    [033108_044055585][oracle.apps.xdo.common.font.FontFactory$FontDef][STATEMENT] Type1 font created: Helvetica-Bold
    [033108_044055799][][STATEMENT] Generating page [1]
    [033108_044055843][][STATEMENT] Rendering page [2]
    [033108_044056064][][STATEMENT] Generating page [2]
    [033108_044056096][][STATEMENT] Rendering page [3]
    [033108_044056271][][STATEMENT] Generating page [3]
    [033108_044056303][][STATEMENT] Rendering page [4]
    [033108_044056407][][STATEMENT] Phase2 time used: 876ms
    [033108_044056443][][STATEMENT] Continue rendering page [4]
    [033108_044056483][][STATEMENT] Generating page [4]
    [033108_044056512][][STATEMENT] Rendering page [5]
    [033108_044056613][][STATEMENT] Generating page [5]
    [033108_044056635][][STATEMENT] Rendering page [6]
    [033108_044056653][][STATEMENT] Phase2 time used: 210ms
    [033108_044056654][][STATEMENT] Continue rendering page [6]
    [033108_044056654][][STATEMENT] Phase2 time used: 1ms
    [033108_044056654][][STATEMENT] Continue rendering page [6]
    [033108_044056656][][STATEMENT] Phase2 time used: 2ms
    [033108_044056666][][STATEMENT] Continue rendering page [6]
    [033108_044056676][][STATEMENT] Generating page [6]
    [033108_044056681][][STATEMENT] Rendering page [7]
    [033108_044056731][][STATEMENT] Phase2 time used: 65ms
    [033108_044056731][][STATEMENT] Continue rendering page [7]
    [033108_044056731][][STATEMENT] Phase2 time used: 0ms
    [033108_044056732][][STATEMENT] Continue rendering page [7]
    [033108_044056732][][STATEMENT] Phase2 time used: 0ms
    [033108_044056733][][STATEMENT] Continue rendering page [7]
    [033108_044056733][][STATEMENT] Generating page [7]
    [033108_044056735][][STATEMENT] Phase2 time used: 3ms
    [033108_044056736][][STATEMENT] Total time used: 1668ms for processing XSL-FO
    [033108_044057034][][STATEMENT] ProxyGenerator creating new page: 1
    [033108_044057111][][STATEMENT] ProxyGenerator creating new page: 2
    [033108_044057189][][STATEMENT] ProxyGenerator creating new page: 3
    [033108_044057242][][STATEMENT] ProxyGenerator creating new page: 4
    [033108_044057301][][STATEMENT] ProxyGenerator creating new page: 5
    [033108_044057331][][STATEMENT] ProxyGenerator creating new page: 6
    [033108_044057343][][STATEMENT] ProxyGenerator creating new page: 7
    [033108_044057382][][STATEMENT] Starting Generator.close()
    [033108_044057388][oracle.apps.xdo.common.font.FontFactory][STATEMENT] type1.Helvetica closed.
    [033108_044057388][oracle.apps.xdo.common.font.FontFactory][STATEMENT] type1.Helvetica-Bold closed.
    [033108_044057388][oracle.apps.xdo.common.font.FontFactory][STATEMENT] type1.Times-Roman closed.
    [033108_044057389][][STATEMENT] Generator.close() took: 6ms
    [033108_044057389][][STATEMENT] Total time to process commands from ProxyGenerator tmp file: 643ms
    [033108_044057389][oracle.apps.xdo.template.FOProcessor][STATEMENT] clearInputs(Object) is called.
    [033108_044057412][oracle.apps.xdo.template.FOProcessor][STATEMENT] clearInputs(Object) done. All inputs are cleared.
    [033108_044057477][][STATEMENT] initConfig(): config file used :null
    [033108_044057478][][STATEMENT] initCustomFactories(): loading custom delivery channels :{}
    [033108_044057478][oracle.apps.xdo.delivery.DeliveryManager][STATEMENT] initConfig(): loading default properties :{}
    [033108_044057479][oracle.apps.xdo.delivery.DeliveryManager][STATEMENT] createRequest(): called with request type :smtp_email
    [033108_044057522][oracle.apps.xdo.delivery.DeliveryManager][STATEMENT] createRequest(): exiting
    [033108_044057577][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Adding an attachment ...[filename]=[PurchaseOrder 6023571.pdf], [content-type]=[application/pdf], [index]=[-1], [disposition]=[inline]
    [033108_044057585][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Character set for MIME headers : UTF-8
    [033108_044057586][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Character encoding for MIME headers : B
    [033108_044057588][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Exiting addAttachment()
    [033108_044057589][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] submit(): Called
    [033108_044057589][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] setDefaultServerProperties(): No default server found for this request type: smtp_email
    [033108_044057589][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] setDefaultServerProperties(): properties defined in this request.
    [TEMP_DIR:String] [u0350/app/apps/UAT/xx/1.0/log/033108_044049420]
    [ASYNC_CHECK_INTERVAL:Integer] [60000]
    [HOST:String] [colfarmt.hpa.org.uk]
    [SMTP_TO_RECIPIENTS:String] [[email protected]]
    [SMTP_ENCODING:String]
    [SMTP_CONTENT_FILENAME:String] [messageBody.txt]
    [SMTP_CONTENT_TYPE:String] [text/html;charset=UTF-8]
    [SMTP_SUBJECT:String] [Purchase Order No: 6023571]
    [BUFFERING_MODE:Boolean] [true]
    [SMTP_CC_RECIPIENTS:String] [[email protected]]
    [SMTP_FROM:String] [[email protected]]
    [TEMP_FILE_PREFIX:String] [dlvr]
    [PORT:Integer] [(java.lang.Integer]
    [RETRY:Integer] [0]
    [SMTP_ATTACHMENT:Attachment] [(oracle.apps.xdo.delivery.smtp.Attachment]
    [RETRY_INTERVAL:Integer] [60000]
    [TEMP_FILE_SUFFIX:String] [.tmp]
    [SMTP_ATTACHMENT_FIRST:Boolean] [(java.lang.Boolean]
    [SMTP_CHARSET:String] [UTF-8]
    [ASYNC_TIMEOUT:Integer] [86400000]
    [033108_044057590][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] submit(): BUFFERING_MODE is ON.
    [033108_044057590][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] submit(): TEMP_DIR found, start document buffering : /u0350/app/apps/UAT/xx/1.0/log/033108_044049420
    [033108_044057590][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] backupDocument(): Starting document buffering.
    [033108_044057602][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] backupDocument(): Creating temporary file for buffering : /u0350/app/apps/UAT/xx/1.0/log/033108_044049420/dlvrbrfaxe1m4B55646.tmp
    [033108_044057603][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] backupDocument(): 63 bytes have been written to the temporary file.
    [033108_044057603][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] filterDocument(): Starting document preprocessing.
    [033108_044057603][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] filterDocument(): No native command found for preprocessing, exiting.
    [033108_044057603][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] backupDocument(): Finished document buffering.
    [033108_044057603][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] submit(): Start reading the buffered document file. : /u0350/app/apps/UAT/xx/1.0/log/033108_044049420/dlvrbrfaxe1m4B55646.tmp
    [033108_044057603][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] submit(): Calling DeliveryRequestHandler.submitRequest()
    [033108_044057604][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequestHandler][STATEMENT] submitRequest(): called
    [033108_044057604][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequestHandler][STATEMENT] submitRequest(): This request has never been submitted before.
    [033108_044057607][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] Start parsing HTML file...(filename:messageBody.txt)(current dir:null)
    [033108_044057607][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] Reached the end of InputStream.
    [033108_044057608][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Adding an attachment ...[filename]=[messageBody.txt], [content-type]=[text/html;charset=UTF-8], [index]=[-1], [disposition]=[null]
    [033108_044057608][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Character set for MIME headers : UTF-8
    [033108_044057608][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Character encoding for MIME headers : B
    [033108_044057608][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Exiting addAttachment()
    [033108_044057609][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT]
         Dear Sir/Madam,
         Please review the attached PO 6023571
    [033108_044057666][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequestHandler][STATEMENT] submitRequest(): Character set for MIME headers : UTF-8
    [033108_044057666][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequestHandler][STATEMENT] submitRequest(): Character encoding for MIME headers : B
    [033108_044058067][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequestHandler][STATEMENT] submitRequest(): exiting
    [033108_044058067][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] submit(): Finished calling DeliveryRequestHandler.submitRequest()
    [033108_044058067][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] submit(): Process done successfully. Exiting submit()
    [033108_044058085][oracle.apps.xdo.batch.BurstingProcessorEngine][STATEMENT] ========================> startElement() ::: endDocument is entered <========================
    [033108_044058086][oracle.apps.xdo.batch.BurstingProcessorEngine][STATEMENT] ========================> startElement() ::: endDocument is entered <========================
    Bursting process complete..
    Generating Bursting Status Report..
    [033108_044058202][oracle.apps.xdo.batch.bursting.FileHandler][STATEMENT] /u0350/app/apps/UAT/xx/1.0/log/033108_044049420/xdo0.tmp is deleted
    [033108_044058203][oracle.apps.xdo.batch.bursting.FileHandler][STATEMENT] /u0350/app/apps/UAT/xx/1.0/log/033108_044049420/xdo1.tmp is not deleted
    [033108_044058226][oracle.apps.xdo.batch.bursting.FileHandler][STATEMENT] /u0350/app/apps/UAT/xx/1.0/log/033108_044049420/xdo2.tmp is deleted
    [033108_044058226][oracle.apps.xdo.batch.bursting.FileHandler][STATEMENT] /u0350/app/apps/UAT/xx/1.0/log/033108_044049420/xdo3.tmp is not deleted
    [033108_044058238][oracle.apps.xdo.batch.bursting.FileHandler][STATEMENT] /u0350/app/apps/UAT/xx/1.0/log/033108_044049420/xdo4.tmp is deleted
    [033108_044058262][oracle.apps.xdo.batch.bursting.FileHandler][STATEMENT] /u0350/app/apps/UAT/xx/1.0/log/033108_044049420/PurchaseOrder 6023571.pdf is deleted

Maybe you are looking for