How can i send an email with subject more than 50 char.

Hi
Can you please explain How can i send an email with subject more than 50 char?? I am using Cl_BCS=>SET_MESSAGE_SUBJECT but it is throwing an error " An exception of the type CX_SY_REF_IS_INITIAL has occured which is not caught" .
Regards
Alok

Try using the following FM
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
      EXPORTING
        document_data              = i_mail_data
        put_in_outbox              = c_x
      TABLES
        packing_list               = i_objpack[]
        object_header              = i_objhead[]
        contents_bin               = i_objbin[]
        contents_txt               = i_objtxt[]
        receivers                  = i_receivers[]
      EXCEPTIONS
        too_many_receivers         = 1
        document_not_sent          = 2
        document_type_not_exist    = 3
        operation_no_authorization = 4
        parameter_error            = 5
        x_error                    = 6
        enqueue_error              = 7
      OTHERS                     = 8.
Regards
Avinash
Edited by: Avinash Jagtap on Dec 2, 2009 7:00 AM
Edited by: Avinash Jagtap on Dec 2, 2009 7:02 AM

Similar Messages

  • How can you send an email out to more than 65 persons at a time?

    I have an email notification list of 175 persons who regularly get communications from me. I have recently discovered that only 65 of them are getting these emails. How can I send to my entire list?
    Thanks!

    Is the list stored on a server or in Thunderbird?
    I'm not aware of a limit to the number of recipients of a message in Thunderbird when you use a list. A limit may be imposed by your service provider as an anti-spam measure. You may want to search around to learn more about any limits there.

  • How Can I Send A Video Message To More Than One Pe...

    I have been trying to send a video message to two or three people on my contact list.  Is it possible to do this by adding a name to the list on the message or can I send the same message to a second person after sending it to the first?  Or do I have to record a second and third message, if I want to send it to 2 or 3 people on my contact list?

    Thank you so much, will do it.
    Happy Holiday Season!

  • HT3529 how can I send a text message to more than 10 phone numbers at once

    I am trying to send messages to multiple phones, when I create a new message the phone doesnot allow me to add more than 10 numbers.

    You'll need to see if there's an app in the App Store that does what you want. Search for "Group SMS" or similar.

  • How can I send  PDFby email that is larger than 20 MB even after compression of file?

    I have adobe acabat X Pro.

    Each email service has its own limits, but that's way too big anyway. But there are many services for sending huge files. Here's one https://www.acrobat.com/sendnow/en/home.html

  • How can I to send an email with a longer than 50 characters subject?

    I'm trying to send an email through an abap program ( report ), but when the email arrives to the SOST transaction the subject is cut to 50 characters. How can I send an email with a longer than 50 characters subject?

    check this below code and do changes in ur report
    FORM SEND_MAIL_SUPPORT  TABLES   P_EM_BODY
                            USING    P_TITLE.
    *_ Start of the code to send an email notification
      DATA : ATTACH_REC TYPE I.
      DATA: OBJPACK LIKE SOPCKLSTI1 OCCURS 2 WITH HEADER LINE,
            OBJHEAD LIKE SOLISTI1 OCCURS 1 WITH HEADER LINE,
            OBJBIN LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE,
            OBJTXT LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE,
            DOC_CHNG LIKE SODOCCHGI1,
            TAB_LINES LIKE SY-TABIX.
    Creation of the document to be sent
      DOC_CHNG-OBJ_NAME = 'Mat Attach'(010).
      DOC_CHNG-OBJ_DESCR = P_TITLE.
      APPEND LINES OF P_EM_BODY TO OBJTXT.
      DESCRIBE TABLE OBJTXT LINES TAB_LINES.
      READ TABLE OBJTXT INDEX TAB_LINES.
      DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
    *Creation of the entry for the compressed document
      CLEAR OBJPACK-TRANSF_BIN.
      OBJPACK-HEAD_START = 1.
      OBJPACK-HEAD_NUM = 0.
      OBJPACK-BODY_START = 1.
      OBJPACK-BODY_NUM = TAB_LINES.
      OBJPACK-DOC_TYPE = 'RAW'.
      APPEND OBJPACK.
      DESCRIBE TABLE IT_ERROR LINES ATTACH_REC.
      IF ATTACH_REC GE '1'.
    *Start of email attachement of internal table conversition
       APPEND LINES OF IT_ERROR TO OBJBIN.
    WRITE: '----
    ' TO OBJBIN.
    APPEND OBJBIN.
    CLEAR OBJBIN.
    CONCATENATE 'CCode.' 'A/CDocNum.' '  FYear.' 'DType.' 'PDate.' '  RefField.' INTO
                 V_TEXT SEPARATED BY ' '.
    APPEND V_TEXT TO OBJBIN.
    CLEAR V_TEXT.
    WRITE: '----
    ' TO OBJBIN.
    APPEND OBJBIN.
    CLEAR OBJBIN.
    LOOP AT IT_ERROR.
    CONCATENATE IT_ERROR-BUKRS IT_ERROR-BELNR IT_ERROR-GJAHR IT_ERROR-BLART
                 IT_ERROR-BUDAT IT_ERROR-STATUS INTO V_TEXT SEPARATED BY '   '.
    APPEND V_TEXT TO OBJBIN.
    CLEAR V_TEXT.
    ENDLOOP.
    WRITE: '----
    ' TO OBJBIN.
    APPEND OBJBIN.
    CLEAR OBJBIN.
        DESCRIBE TABLE OBJBIN LINES OBJPACK-BODY_NUM.
        OBJPACK-TRANSF_BIN = 'X'.
        OBJPACK-HEAD_START = 1.
        OBJPACK-HEAD_NUM = 1.
        OBJPACK-BODY_START = 1.
        OBJPACK-DOC_SIZE = OBJPACK-BODY_NUM * 255.
        OBJPACK-DOC_TYPE = 'RAW'.
        OBJPACK-OBJ_DESCR = 'List of Error Documents'(012).  " Description
        APPEND OBJPACK. CLEAR OBJPACK.
      ENDIF.
      RECLIST-RECEIVER = S_EMAIL-LOW.
      RECLIST-REC_TYPE = 'U'.
      RECLIST-COPY = 'X'.
      APPEND RECLIST.
    Sending the document
      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
        EXCEPTIONS
          TOO_MANY_RECEIVERS         = 1
          DOCUMENT_NOT_SENT          = 2
          OPERATION_NO_AUTHORIZATION = 4
          OTHERS                     = 99.
    *CHECK SY-SUBRC = 0.
    ENDFORM.                    " SEND_MAIL_SUPPORT

  • How can I send an email to apple?

    How can I send an email to apple? I want to send them an e-mail but I dont find their e-mail on the site!

    hummam salahieh wrote:
    hey i need to know how can i stop my apple id from working i need to delete my apple id anyone can help plz
    Your issue has nothing to do with the subject of theis thread. The first thing you should do is to start your own thread. Use a properly descriptive subject line. Explain exactly what you were trying to do, what happened when you tried, what error messages you got and what troubleshooting steps you've already taken (saying "everything" is not useful information).
    Best of luck.

  • How can I send an email to a group from my iPhone?

    I want to send an email to a group in my contacts, but when I select the group, the individuals display for selection.  How can I send an email by addressing it to the group? 

    I recently upgraded my wife's computer to mountain lion so we could sync it with her iPhone, allowing her to send emails to the groups she manages whether she's at home or on the road.
    Is it really the case that the iPhone is incapable of this?  The mac does it fine and the iPhone goes through the motions but then bails when you hit send, saying it isn't a valid address.
    This really makes no sense.  Isn't this the whole point of iCloud?

  • How do I send an email with hyperlinks active upon receipt?

    How do I send an email with hyperlinks active upon receipt? Currently the hyperlinks are only active once I open the attachment. I want them to arrive active just like they do in the emails I receive from Office Depot et al.

    mlaughbaum wrote:
    BTW, it is "showing". It's just that the links aren't active.
    Sometimes you need to look at it from the perspective of a recepient. Save the message before sending and close it. It will be in your Drafts Folder. Click once on it in the Drafts list so you can view is as the recepient would. (Don't open for edit) The links should be active.
    Jerry

  • How do I send an email with blind address recipients?

    How do I send an email with blind address recipients?

    When you open a New Message there's a little box with three lines next to the Subject Box. When you click it you get a drop down menu with a list of options. Click on Bcc Address Field. That will add a BCC box to your message.

  • How can I send an email from Sharepoint Online using sandbox solution?

    How can I send an email from Sharepoint Online using sandbox solution?
    If possible I do not want to use workflow.
    Is It possible to do it without using workflow?

    hello Steven Andrews,
    when any user sends a message using contact us page in SharePoint online.
    1. We are inserting item in Contact Us List . - This is working fine
    for anonymous users also. We have used Office365 anonymous codeplex wsp and it is working fine. Anonymous user is able to insert new record in the Contact Us List.
    2. Once, new record is inserted in Contact Us list, we want to fire email notifying thanks to the user on his email id as well as to our company x person for notification of new inquiry. 
    We tried using Workflow having impersonation step for  anonymous user but it is not working for Anonymous users. Workflow is able to sent the email if someone logged into system but not working for Anonymous user although workflow is getting started
    but not able to send email although used Imperonsation step.
    We are stuck into implementing second step.

  • How can I send an email to a group in my address book, but hide the individual names and email addresses?

    how can I send an email to a group in my address book, but hide the individual names and email addresses?

    You used to be able to do this through leaving unchecked the box in preferences "when sending to a group show all member addresses". However, that feature failed some time ago (two or three years?) and the only way to hide the addresses now is to put the group in the BCC field.

  • How can I send a text with a picture attachment on my new iPhone5c?

    How can I send a text with a picture attachment on my new iPhone5c? It won't send or recieve!!.

    Does your carrier support it?
    Follow the steps in this guide.
    http://www.imore.com/how-send-photo-using-imessage

  • How do I send an email with a "read receipt" please

    how do I send an email with a "read receipt" please

    banyard,
    There is no support for read receipts in Apple mail.
    Sorry,
    Captfred

  • How do I send an email with a group address and not show the addresses/names of the recipients?

    How do I send an email with a group address and not show the addresses/names of the recipients?

    Use BCC.   That's blind carbon copy.   And copy paste the address into the BCC field.  It really depends what e-mail program you use how to enable BCC.

Maybe you are looking for

  • Dynamially modifying faces-config.xml (when tomcat is running)

    i want to add or change the navigation rules or use dynamic navigation in JSF, as it is don in the struts(changing config file when tomcat is running) . i have don it in struts but cannot find way in JSF. do JSF framework provide any facilty for doin

  • Pre-defined header in report

    Hi All, Maybe a stupid question but ... when we create a new ABAP (se38->create) in our system, a report header (lines and pre-defined fields) is already in there. It's not an existing pattern in the system (no entries in TSE05). Can anyone tell me w

  • [SOLVED] wine arial font only bold and italic

    I have installed office 2003 in wine. Some one send me a document in arial regular font. It looks fine in winxp, but when I open with the word by wine the all the arial font looks bold and italic. I have also tried with winetricks corefonts but nothi

  • System_imode_too_large error in sap

    Hi Experts, In Quality system program is giving system_imode_too_large error. Could you please tell me how can i resolve this, Regards, Rama Krishna.

  • How to get Live wallpapers in Mac OSX?

    I was wondering how could I get live wallpapers for my mac. Is there any safe way becasue normally the computer craches or doesnt work due to those wallpapers downloaded from websites. Isnt there an "Apple" way? Get it? hehe