Email Body length issue

Hi expert,
I am using SO_NEW_DOCUMENT_ATT_SEND_API1 to send email. However, I found out the the length for each line in body is only 255 character. Is there any possible way to enlarge this field?
Best Regards,
WF

Hello,
The length of single line that can be used is restricted to 255 characters. But the body goes into an internal table, so you can add multiple lines with 255 characters but the length on a sinle line can be only 255 characters.
Regards,
Sachin

Similar Messages

  • 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.

  • Issue with email body size exceeding 4000 characters in Apex

    Hi
    We are getting "ORA-01403: no data found" error in our apex application whenever the the email body size exceeds 4000 characters. When the content of the email body are edited to reduce the size, it is working fine.
    In our application, the item details will be emailed as part of email body and when the number of items are more, the size of the email body exceeds 4000 characters and when we try to send email of these details we are getting "ORA-01403: no data found" error.
    Need your help to know if there is any way in apex to handle this issue and to send email with size exceeding 4000 characters from apex application.
    Please advice.
    Regards,
    Sri

    >
    Update your forum profile with a real handle instead of "user13394362".
    ALWAYS include the following information with the initial question:
    <li>APEX version
    <li>DB version and edition
    <li>Web server architecture (EPG, OHS or APEX listener)
    <li>Browser(s)/versions(s) used
    <li>Theme
    <li>Templates
    <li>Region type
    I am using APEX_MAIL.SEND procedure from apex application to send the mail. The argument P_BODY_HTML which holds the email body content is of VARCHAR2 datatype and it has a limit of 4000 characters. So I am looking for a way to send the mail through APEX_MAIL.SEND even if the email body size exceeds 4000 characters.As (somewhat telegraphically) pointed out above, <tt>apex_mail.send</tt> is overloaded to accept either <tt>VARCHAR2</tt> or <tt>CLOB</tt> <tt>p_body_html</tt> parameters. Use a <tt>CLOB</tt> <tt>p_body_html</tt> parameter.
    Please consult the documentation before posting questions here.

  • XML Publisher Email Body Attached Bursting Control File 11i EBS HRMS

    Hi there
    I have a problem with the Brusting , when I received an email through the bursting, I get the Email Body as an Attached File.
    XML Publsiher
    5.6 Build 45
    EBS 11.5.10.2
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
    <xapi:request select="/XXPER/LIST_G_COMPANY_CODE">
    <xapi:delivery>
    <xapi:email id= "XXPER" server="is050.atco.com" port="25" from="${FROM_EMAIL_ADDRESS}" reply-to ="${FROM_EMAIL_ADDRESS}">
    <xapi:message id="XXPER" to="${TO_EMAIL_ADDRESS}" attachment="true" subject="XXPER Employees List Company: ${COMPANY_CODE}">
    Status: Normal, Successful Completion.
    Regards
    </xapi:message>
    </xapi:email>
    </xapi:delivery>
    <xapi:document output="XXPEREmployees List" output-type="pdf" delivery="XXPER">
    <xapi:template type="xsl-fo" location= "xdo://XX.XXPER.en.00/?getSource = true">
    </xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    Regards
    ASIM

    I HAVE ADDED THE FOLLOWING statement BEFORE subject, and it resolved the issue.
    content-type="text/html"
    For Example:
    <xapi:message id="XXPER" to="${TO_EMAIL_ADDRESS}" attachment="true" content-type="text/html" subject="Employees List Company: ${COMPANY_CODE}">
    Regards
    ASIM

  • How do I add an email body text for remittance advices / payment advices?

    Hello,
    I am trying to send an email body text with the pdf remittance advice to my vendors.
    Background:
    We are running automatic payments to vendors via transaction F110. We have configured the pay run to produce remittance advices for vendor payments. Finally we activated the BTE 00002040, through transaction FIBF, to use a custom copy of the function module SAMPLE_PROCESS_00002040.
    Our payment run sends emails with pdf-file attachments to our vendors correctly.
    <b>The Issue:</b>
    I can not find a way to add text to the body of the email with the attached remittance advice.
    Has anyone advise on how to populate the email body with text?
    Thank you and best regards
    Karsten Arold

    Hello Subhashree,
    I have not implemented the functionality, but I found rerference to SAP Note 1033893 in another forum post.
    Email text to Payment Advice in BTE2040
    Allan

  • Email body automatically changes inside a shared mailbox.

    Hi There,
    We have exchange 2010 environment sp3 Ru6. We have some users accessing a Shared mailbox via outlook and sometimes a few of them face the issue of the email body of an email getting replaced with another email in the same mailbox (both emails then have same
    images in their body). for example. if there is a mail from one sender with a certain subject and an image pasted in the body then sometimes another email from a different sender with a different subject is also observed to have the same image pasted in its
    body (thereby replacing its own). this has happened with a lot of users using the mailbox and with random emails.
    Kindly note: users have arranged the emails by their color categories. it happens if email is in any of the folder in shared mailbox and happens only in a few cases.
    Looking for an urgent solution

    Hi Ramandeep,
    According to your description, I understand that some e-mail send to shared mailbox are be inserted an image in the body.
    If I have misunderstand your concern, please do not hesitate to let me know.
    This may be related to transport rule, it can add some picture as disclaimer in message. Please open EMC to double check whether problematic message trigger the rule. More details about
    Understanding Disclaimers, please refer to:
    http://technet.microsoft.com/en-us/library/bb124352(v=exchg.141).aspx#Images
    Additional, we can use Message Tracking or Deliver Report tools with problematic message to get more helpful message for further troubleshooting. For your reference:
    http://technet.microsoft.com/en-us/library/bb124375(v=exchg.150).aspx
    Best Regards,
    Allen Wang

  • 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

  • No email body in mail for exchange? Nokia E52

    On my Nokia E52 i have setup mail for exchange access to gmail, but all it seems to download is the header with who its from and the subject? There isnt any mention of the email body/message at all?
    My contacts and calendar all sync properly.
    Am i missing something?  On my ipod touch it downloads the messages using the exact same account

    Curious issue, on the 22nd January 2010, I also got a system message stating ‘Mail for Exchange – Your account does not have permission to synchronise with your current settings.'  then a further message saying that the phone required a locking password etc.  This resulted in the phone being locked before it could be opened.
    I'm sure nothing changed on the local mail servers, so I wonder what has changed on the Mail For Excange settings?

  • Email Smartforms with Email Body

    Hello SAP Community,
    Sorry if my question has been asked before, but I did not find any answeres yet.
    I am using BO SOFMFOL and these FM to send my smartforms to external email:
    - CREATE_RECIPIENT_OBJ_PPF
    - CREATE_SENDER_OBJECT_PPF
    - SO_USER_AUTOMATIC_INSERT
    This is working fine.  My question is: How do you add an Email  Body?  I am on ECC 6.0.
    Appreciate any inputs on this issue.
    Many thanks,
    Kim

    Hi Kim,
    I had a requirement to convert the out put into PDF format and send an email using the function module SO_NEW_DOCUMENT_ATT_SEND_API1.
    I am providing my coding, hope it helps: 
    form SEND_EMAIL .
    DATA:   t_mailpack   TYPE sopcklsti1 OCCURS 0 WITH HEADER LINE,
              t_mailhead   TYPE solisti1   OCCURS 0 WITH HEADER LINE,
              t_mailbin    TYPE solisti1   OCCURS 0 WITH HEADER LINE,
              t_mailtxt    TYPE solisti1   OCCURS 0 WITH HEADER LINE,
              t_mailrec    TYPE somlreci1  OCCURS 0 WITH HEADER LINE.
      DATA: wa_maildata    TYPE sodocchgi1,
            l_filename(50) TYPE c,
            l_fldname(30)  TYPE c,
            l_fldval(100)  TYPE c,
            l_lines        TYPE i,
            l_text         TYPE text128 .
      DATA: w_email_subrc  TYPE i.
      DATA: w_ship like vbfa-vbeln.
      CLEAR: wa_maildata,
             t_mailtxt,
             t_mailbin,
             t_mailpack,
             t_mailhead,
             t_mailrec.
      REFRESH: t_mailtxt,
               t_mailbin,
               t_mailpack,
               t_mailhead,
               t_mailrec.
    *-- Fill output file
    *- Fill header
      CLEAR: t_mailbin.
    t_mailbin[] = pdf_tab[].
      t_mailbin[] = it_att[].     "Uthaman
    *This line is added to get the shipment no in Subject Line
    SELECT SINGLE * FROM vbfa WHERE vbelv EQ nast-objky
                                AND vbtyp_v EQ c_vbtyp_v_j
                                AND vbtyp_n EQ c_vbtyp_n_8.
    w_ship = vbfa-vbeln.
    shift w_ship left deleting leading '0'.
    *-- File name
    if nast-kschl EQ 'ZFPL'.
      CLEAR l_filename.
      CONCATENATE 'Packing List -'
                  sy-datum4(2) sy-datum6(2) sy-datum(4) '.PDF' INTO l_filename.
    *-- Creation of the document to be sent File Name
      wa_maildata-obj_name = 'Packing List'.
    *-- Mail Subject
      CONCATENATE l_filename '-' 'Shipment No -' w_ship INTO wa_maildata-obj_descr SEPARATED BY space.
    *-- Mail Contents
      t_mailtxt-line = 'Packing List'.
      APPEND t_mailtxt.
    ENDIF.
    if nast-kschl EQ 'ZFBA'.
      CLEAR l_filename.
      CONCATENATE 'Booking Advice -'
                  sy-datum4(2) sy-datum6(2) sy-datum(4) '.PDF'
                  INTO l_filename.
    *-- Creation of the document to be sent File Name
      wa_maildata-obj_name = 'Booking Advice'.
    *-- Mail Subject
      CONCATENATE l_filename '-' 'Shipment No -' w_ship INTO wa_maildata-obj_descr SEPARATED BY space.
    *-- Mail Contents
      t_mailtxt-line = 'Packing List'.
      APPEND t_mailtxt.
    ENDIF.
    *-- Prepare Packing List
    *-- Write Packing List (Main Subject)
      CLEAR: l_lines, t_mailpack.
      DESCRIBE TABLE t_mailtxt LINES l_lines.
    READ TABLE t_mailtxt INDEX l_lines.
      t_mailpack-doc_size = ( l_lines - 1 ) * 255 + STRLEN( t_mailtxt ).
    CLEAR t_mailpack-transf_bin.
      t_mailpack-transf_bin = ' '.
      t_mailpack-head_start = 1.
      t_mailpack-head_num = 0.
      t_mailpack-body_start = 1.
      t_mailpack-body_num = l_lines.
      t_mailpack-doc_type = 'RAW'.
      APPEND t_mailpack.
      t_mailhead = l_filename.
      APPEND t_mailhead.
    *-- Write Packing List (Attachment)
      CLEAR: l_lines, t_mailpack.
      DESCRIBE TABLE pdf_tab[] LINES l_lines.
    READ TABLE pdf_tab INDEX l_lines.
      t_mailpack-doc_size = ( l_lines - 1 ) * 255 + STRLEN( t_mailbin ).
      t_mailpack-transf_bin = 'X'.
      t_mailpack-head_start = 1.
      t_mailpack-head_num = 1.
      t_mailpack-body_start = 1.
      t_mailpack-body_num = l_lines.
      t_mailpack-doc_type = 'PDF'.
      t_mailpack-obj_name = l_filename.
      t_mailpack-obj_descr = l_filename.
      t_mailpack-obj_langu = 'E'.
      APPEND t_mailpack.
    *-- Set recipients
    tables :  ztotcemail.
    SELECT SINGLE * FROM vbfa WHERE vbelv EQ nast-objky
                                AND vbtyp_v EQ c_vbtyp_v_j
                                AND vbtyp_n EQ c_vbtyp_n_8.
    CLEAR vttk.
    SELECT SINGLE * FROM vttk WHERE tknum EQ vbfa-vbeln.
    SELECT SINGLE * FROM ztotcemail WHERE tplst = vttk-tplst
                                      AND lifnr = vttk-tdlnr.
    IF SY-SUBRC EQ 0.
      t_mailrec-receiver = ztotcemail-smtp_addr. .
      t_mailrec-rec_type  = 'U'.
      APPEND t_mailrec.
    ENDIF.
    **-- Sending the document
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = wa_maildata
          put_in_outbox              = 'X'
         commit_work                = 'X'  " N-16
        TABLES
          packing_list               = t_mailpack
          object_header              = t_mailhead
          contents_bin               = t_mailbin[]
          contents_txt               = t_mailtxt[]
          receivers                  = t_mailrec
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          operation_no_authorization = 4
          OTHERS                     = 99.
      w_email_subrc = sy-subrc.
      IF sy-subrc EQ 0.
        MESSAGE s000(zotc) WITH 'Email output sent successfully'.
      ELSE.
        MESSAGE s000(zotc) WITH 'Can not send email output'.
      ENDIF.
    endform.                    " SEND_EMAIL
    Regards,
    Kittu

  • Insert XML Tags in BPEL Email body

    Hi All,
    in one of bpel process we are inserting Xml message in the email body. but in the email all message is coming without start and end tags.
    lets say my xml meaasage is *<name>test</name>*
    the output iam getting in the mail is test
    we cannot use mime type 'text/plain',bcz we are inserting this xml message in html template.
    is there any way to send xml message in the email body?
    Any help would be appreciate...
    Thanks,
    Sudhakar.m

    Hi
    Thanks for the reply.
    Currently we are using same way as you mentioned ,that still not working.the mail is coming without xml tags.
    is there any workaround for this issue??
    Regards,
    Sudhakar.M

  • Formatting EMAIL Body

    Hi All,
    We have a requirement of sending email notification. The issue is that I am able to send an attachment successfully in email, but the format of data in email body is distorted. It si being shown as :
    Dear User\nThis is to inform that a price protection process(mentioned in Subject) was erred with details below:\nError Detail : \nProcess Name : ERRORSERVICEASYNC\nExecution Detail Id : 578\nTransaction Number : PPTXN1\nThanks\n** This is a computer generated mail, please do not reply to this
    Whereas I want it to appear as:
    Dear User
    This is to inform that a price protection process(mentioned in Subject) was erred with details below:
    Error Detail :
    Process Name : ERRORSERVICEASYNC
    Execution Detail Id : 578
    Transaction Number : PPTXN1
    Thanks
    ** This is a computer generated mail, please do not reply to this
    Also I am writing the code that I have used in Email Body in BPEL Process:--
    <%"Dear User"%><%"\n"%><%"This is to inform that a price protection process(mentioned in Subject) was erred with details below:"%><%"\n"%><%"Error Code : "%><%bpws:getVariableData('inputVariable','payload','/client:DPPUserNotifAsyncProcessRequest/client:ErrorCode')%><%"\n"%><%"Error Summary : "%><%bpws:getVariableData('inputVariable','payload','/client:DPPUserNotifAsyncProcessRequest/client:ErrorSummary')%><%"\n"%><%"Error Detail : "%><%bpws:getVariableData('inputVariable','payload','/client:DPPUserNotifAsyncProcessRequest/client:ErrorDetail')%><%"\n"%><%"Process Name : "%><%bpws:getVariableData('inputVariable','payload','/client:DPPUserNotifAsyncProcessRequest/client:ProcessName')%><%"\n"%><%"Execution Detail Id : "%><%bpws:getVariableData('inputVariable','payload','/client:DPPUserNotifAsyncProcessRequest/client:ExecutionDetailId')%><%"\n"%><%"Transaction Number : "%><%bpws:getVariableData('inputVariable','payload','/client:DPPUserNotifAsyncProcessRequest/client:TransactionNumber')%><%"\n"%><%"Thanks"%><%"\n"%><%"** This is a computer generated mail%><%please do not reply to this"%>
    Any Idea how to format the email body so as to beautify & make the data appear to end user more beautified?????? Calling all experts

    hi Lalit ,
    I hope ur <IncomingServerSettings> port should not be same as <OutgoingServerSettings> port number .Generally for incomeing SMTP will be used and for outgoing mail POP will be used.So kindly look into the BPEL Developer's guied for more information in configurein the ns_email.xml. And one more thing, that as per my understanding OracleBPEL will not support for secure transcation over SMTP.
    i hope ur config will be like the one below:
    <EmailAccount>
    <Name>Default</Name>
    <GeneralSettings>
    <FromName>Oracle BPM</FromName>
    <FromAddress>[email protected]</FromAddress>
    </GeneralSettings>
    <OutgoingServerSettings>
    <SMTPHost>Server' IPADRESS</SMTPHost>
    <SMTPPort>25</SMTPPort>
    </OutgoingServerSettings>
    <IncomingServerSettings>
    <Server>Server' IPADRESS</Server>
    <Port>110</Port>
    <Protocol>pop3</Protocol>
    <UserName>XXXXXXX</UserName>
    <Password ns0:encrypted="false" xmlns:ns0="http://xmlns.oracle.com/ias/pcbpel/NotificationService">XXXXXXX</Password>
    <UseSSL>false</UseSSL>
    <Folder>Inbox</Folder>
    <PollingFrequency>1</PollingFrequency>
    <PostReadOperation>
    <MarkAsRead/>
    </PostReadOperation>
    </IncomingServerSettings>
    Regards,
    Dinesh kumar.S

  • Transfer Report output to email body

    Hi,
    I have some problems in transferring my report output into the email body. As i know, there is a function to transfer the report output to the email as attachment. But for my current requirement, i would like to transfer the report output the the email body. My current report output is in table form and as i transfer the report output to the email body, it should be the same format as the report output in the email body. I am using write function to show this report. May i know how should i go about solving this problem?
    Appreciate if you could help.
    Thanks.
    Regards,
    Rachel

    Hi Rachel,
    Check this sample program which uses the standard FM for sending email .
    zdp_solisti1 is a structure having fields naming LINE of type LCHR and its length being 2500.
    *******Email declarations
    data : gv_delimit TYPE c,
    lv_lncnt1(5) TYPE c,
    tempread(10) TYPE c VALUE 0,
    objpack TYPE sopcklsti1 OCCURS 0 WITH HEADER LINE,
    objhead TYPE zdp_solisti1 OCCURS 1 WITH HEADER LINE,
    objbin TYPE soli OCCURS 0 WITH HEADER LINE,
    objtxt TYPE zdp_solisti1 OCCURS 0 WITH HEADER LINE,
    reclist TYPE somlreci1 OCCURS 0 WITH HEADER LINE,
    doc_chng LIKE sodocchgi1,
    tab_lines LIKE sy-tabix.
    CLEAR GV_DELIMIT.
    GV_DELIMIT = CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.
    TEMPREAD = LV_LNCNT1.
    REFRESH OBJTXT.
    CONCATENATE 'The no. of error records are : ' TEMPREAD
    INTO OBJTXT-LINE.
    APPEND OBJTXT.
    CLEAR OBJPACK. REFRESH OBJPACK.
    CONCATENATE C_CODE
    C_CMMT
    C_COMMENT1
    INTO OBJTXT-LINE SEPARATED BY GV_DELIMIT.
    APPEND OBJTXT.
    LOOP AT IT_DATA INTO WA_DATA.
    CONCATENATE WA_DATA-ZCODE
    WA_DATA-ZCOMMENT
    WA_DATA-ZREASON
    INTO OBJTXT-LINE SEPARATED BY GV_DELIMIT.
    APPEND OBJTXT.
    ENDLOOP.
    CLEAR GV_DELIMIT.
    CLEAR OBJPACK. REFRESH OBJPACK.
    CLEAR DOC_CHNG.
    TAB_LINES = 0.
    OBJHEAD = REJFILE. APPEND OBJHEAD.
    DESCRIBE TABLE OBJTXT LINES TAB_LINES.
    READ TABLE OBJTXT INDEX TAB_LINES.
    DOC_CHNG-OBJ_NAME = REJFILE.
    MOVE TEXT-006 TO
    DOC_CHNG-OBJ_DESCR.
    DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
    CLEAR OBJPACK-TRANSF_BIN.
    OBJPACK-HEAD_START = 1.
    OBJPACK-HEAD_NUM = 0.
    OBJPACK-BODY_START = 1.
    OBJPACK-BODY_NUM = 1. " 3.
    OBJPACK-DOC_TYPE = 'RAW'.
    APPEND OBJPACK.
    FOR ASCII TO BINARY OBJECT FUNCTION
    TOTLINEXFER = 0.
    TOTXFER = 0.
    BINMAXLEN = 255.
    REFRESH OBJBIN.
    LV_CR = CL_ABAP_CHAR_UTILITIES=>CR_LF.
    TGTMAXLEN = BINMAXLEN.
    TGTLEN = 0.
    LOOP AT OBJTXT FROM 2.
    IF NOT OBJTXT-LINE CP 'The no. of records are '." AND
    CONCATENATE OBJTXT-LINE LV_CR INTO BUFFER.
    SRCOBJLEN = STRLEN( BUFFER ).
    SRCOBJPTR = 0.
    WHILE SRCOBJLEN > 0 .
    XFERLEN = TGTMAXLEN - TGTLEN.
    IF XFERLEN > SRCOBJLEN.
    XFERLEN = SRCOBJLEN.
    MOVE BUFFERSRCOBJPTR TO OBJBIN-LINETGTLEN.
    TGTLEN = TGTLEN + SRCOBJLEN.
    SRCOBJLEN = 0.
    CLEAR BUFFER.
    ELSE.
    MOVE BUFFER+SRCOBJPTR(XFERLEN) TO
    OBJBIN-LINE+TGTLEN(XFERLEN).
    APPEND OBJBIN.
    CLEAR OBJBIN-LINE.
    TGTLEN = 0.
    SRCOBJLEN = SRCOBJLEN - XFERLEN.
    SRCOBJPTR = SRCOBJPTR + XFERLEN.
    TOTLINEXFER = TOTLINEXFER + 1.
    ENDIF.
    TOTXFER = TOTXFER + XFERLEN.
    ENDWHILE.
    ENDIF.
    ENDLOOP.
    IF TGTLEN > 0.
    APPEND OBJBIN.
    TOTLINEXFER = TOTLINEXFER + 1.
    ENDIF.
    CLEAR OBJPACK-TRANSF_BIN.
    OBJPACK-TRANSF_BIN = 'X'.
    OBJPACK-HEAD_START = 1.
    OBJPACK-HEAD_NUM = 0.
    OBJPACK-BODY_START = 1.
    OBJPACK-BODY_NUM = TOTLINEXFER.
    OBJPACK-DOC_TYPE = 'XLS'.
    OBJPACK-OBJ_NAME = REJFILE.
    OBJPACK-OBJ_DESCR = 'Rejected Entries File'.
    OBJPACK-DOC_SIZE = TOTXFER.
    APPEND OBJPACK.
    REFRESH RECLIST.
    MAIL1 = 'xxxxxxxx' " Email Address
    RECLIST-RECEIVER = MAIL1.
    RECLIST-REC_TYPE = 'U'.
    APPEND RECLIST.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    DOCUMENT_DATA = DOC_CHNG
    PUT_IN_OUTBOX = 'X'
    COMMIT_WORK = 'X'
    TABLES
    PACKING_LIST = OBJPACK
    OBJECT_HEADER = OBJHEAD
    CONTENTS_BIN = OBJBIN
    CONTENTS_TXT = OBJTXT
    RECEIVERS = RECLIST.
    IF SY-SUBRC 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
           As per your requirement, In  the above program you need to fill OBJTXT with the contents of your internal table as per your requirement. This is the data which is displayed as the body of your mail.
    Hope this is helpful to you. If you need further information, revert back.
    Reward all the helpful answers.
    Regards
    Nagaraj T

  • Outlook 2010 email body missing parts

    Some of our users are having issues viewing their old emails kept inside the inbox.
    The email body is missing.
    This emails are old and have been archived into Enterprise Vault, but recently have had issues.

    Please try to select the email body by pressing Ctrl+A to see if the automatic font colour changes to white. If this is the case, you might need to update the setting.
    If it's not a font issue, please try below workarounds:
    Please check if users have any antivirus add-ins intergrated with their Outlook. If yes, please try to disable them temporarily, then check messages again.
    Check the view settings to see if there are any corrupted views caused this issue. Try outlook.exe /cleanviews
    Please have a try and feel free to post back.
    Thanks,
    Ethan Hua CHN
    TechNet Community Support

  • CFolder - Modify the Notification email body

    Hi All,
    I have the following requirement.
    There is a generic Folder - Transmittals that is created in cFolders. Documents can be attached to this folder.
    The requirement is that when a notification is send out of this folder the name of the documents in the folder has to be included in the email body.
    I couldn't find any BADI for this requirement ,but this could be achieved by implementing  an enhancement point in the method to send notification emal. The issue is that I am not able to get the name of the document in the folder at this point.
    Please let me know if any one has come across a similar requrement and haa a solution or any better way to achieve this.
    Thank you in advance.
    CP

    Hi Gurus
    I also have the same type of reuirement. Any advices on this ...
    Regards
    Palanaiappan

  • Email Reply Formatting Issue

    I am having an issue with my Droid Charge when replying to an email using an Exchange account.
    Normally, when someone receives a reply, the email is formatted like this:
    Great!  Thanks!
    Sent from my Verizon Wireless Phone
    From: SenderLast, SenderFirst
    Sent: Tuesday, August 02, 2011 8:06 AM
    To: MeLast, MeFirst
    Subject: RE: Dummy Email Subject
    Hey buddy!  How are you doing?
    Sender
    However, when people get replies from me, it is formatted like this:
    Great!  Thanks!
    Sent from my Verizon Wireless Phone
    "SenderLast, SenderFirst" wrote:
    Hey buddy!  How are you doing?
    Sender
    Any ides on how to fix this?

    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.

Maybe you are looking for