Link in Email getting truncated

Hi All,
            I am trying to send a html link in the email but when the agent is getting the link he is not able to see the complete link.The link is 230 characters long.So how to make sure that the agent gets the complete link.
Any suggestions on this.
Thanks in advance,
Saket.

Hi Saket,
This is a limitation of the u2018Send Mailu2019 step in the workflow. There is a limitation on the length of the hyperlink to be inserted.
I would suggest you to use FM SO_NEW_DOCUMENT_SEND_API1 for sending mail.
You can make a call to this FM in your BO method and call this BO method in an Activity step in the workflow.
Hope this helps.
Regards,
Saumya

Similar Messages

  • Email  getting truncated in SOST

    Dear SRMer's,
    System Information : SRM4.0
    As part of the business requirement, our email address in SRM need to be a max length of 100 characters. When testing by creating a shopping cart and adding an approver with a 100 character length email,  in SOST, the email address is getting truncated to 40 characters and the following error message is displayed:
    "Cannot process message, no route from Sender XYZ  to Receipient ABC"
    Here is the long text of the error message:
    Cannot process message, no route from Sender XYZ  to receipient ABC
    Message no. XS826
    Diagnosis
    To continue processing, the system requires a valid route from sender XYZ  to recipient ABC (type INT).
    System response
    The action was terminated.
    Error occurred in R/3 in SAPconnect
    Procedure
    If this error was generated within R/3 by SAPconnect, you have the following options:
    Create a route (i.e. assign a suitable address area, which covers the above address, to a node).
    1. Check whether the route exists, but the node to which it is assigned is not in operation. If this is the case, change the route or put the node into operation.
    2. Change the recipient address if it has been entered incorrectly.
    If the error was detected outside of R/3, please read the operator's manual for your communication software or contact the manufacturer.
    Please let me know if any one encountered this problem before and has a solution for it, or do we need to open an OSS Note.
    Points will be rewarded for answers.
    Thanks in advance,
    Bob

    Hi
    Seems to be a bug.
    Note 888730 - Approval link in e-mail for offline approval is truncated
    Note 615876 - 3.0-4.0: Extension of the field for the e-mail address
    Note 595553 - Mail has the status 'Error', but was sent
    Note 86106 - SAPconnect: Faxing from application, error XS826
    Note 1031866 - RFx & Auction URL in bidder's email notification truncated
    Note 851090 - General Note: Enabling E-mail for use in Job Bid Management
    Note 176492 - Automatic email when an alert occurs (RZ20)
    Incase this does not help, please raise a customer OSS message with SAP as well.
    Regards
    - Atul

  • Org Chart 3.0 : Email address gets truncated

    Hi,
    In position detailed view, the email address can only handle about 23 characters. Once it goes beyond that, the email gets truncated.
    I tested with employee name and position name, if these names are too long, it shows something like this: Coporate Sales Eur...
    The user knows it is too long. But in the email field, it just get truncated without the "..."
    Is this a bug?
    Thanks.

    Hi SP...
    Unfortunately for the Flash mode (Settings --> Standard), it was not possible to make the text wrap. As Stephen suggested, the best way to do this is by setting the best possible box width. I tried a lot to play with this (you can try yourself) but it seems that there is some controller outside our control that is not allowing us to use text wrap. You can see more documentation on the Adobe Flex help site:
    [http://livedocs.adobe.com/flex/3/html/help.html?content=textcontrols_08.html|http://livedocs.adobe.com/flex/3/html/help.html?content=textcontrols_08.html]
    However, if your client is using HTML mode (Settings --> Basic), then you are able to do this by doing the following:
    in \Templates_SAP\sappositionchartdetailxsl.xsl:
    Line 119: change the class="OrgChartTitle" to class="OrgChartTitle2"
    Also, in \_Themes\orgChartTheme.css, find the OrgChartTitle, copy it and rename it into OrgChartTitle2. Then REMOVE the following 3 lines from OrgChartTitle2:
         text-overflow: ellipsis;     
         overflow:hidden;
         white-space:nowrap;
    This will work if your client is using HTML mode (Basic mode) only.
    Thank you -
    Best Regards,
    Nabil

  • R3 to CRM direction - BDOC - Email address getting truncated on BP

    Hi,
    Customer details are being tranferred to CRM from R3 using BDOC.While doing so the Email address field is getting truncated to 40 Chars (if it is more than 40). This only happens when the Customer is changed in R3 and then BDOC is sent to CRM  (change in Email ID) , But when the customer is sent to CRM for the first time (new customer created), the Email ID is getting populated properly (no truncation).
    Can you please help me in the issue.
    Thanks in advance,
    Vivekanand

    Prasenjit,
    Your first two suggestions seem to work fine.  I know have a link that I think is raising an event.
    CASE iv_property.
      WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
          rv_value = cl_bsp_dlc_view_descriptor=>field_type_event_link.
      WHEN if_bsp_wd_model_setter_getter=>fp_onclick.
          rv_value = 'toemail'.
    endcase .
    Here is my hardcoded event handler but it dumps with a  FRONTEND_ERROR  ( sy-subrc = 2 )
    method EH_ONTOEMAIL.
    * Added by wizard: Handler for event 'toemail'
    CALL FUNCTION 'CALL_BROWSER'
    EXPORTING
       URL                          = 'mailto:hardcodedemailaddress'
    *   WINDOW_NAME                  = ' '
    *   NEW_WINDOW                   = ' '
    *   BROWSER_TYPE                 =
    *   CONTEXTSTRING                =
    * EXCEPTIONS
    *   FRONTEND_NOT_SUPPORTED       = 1
    *   FRONTEND_ERROR               = 2
    *   PROG_NOT_FOUND               = 3
    *   NO_BATCH                     = 4
    *   UNSPECIFIED_ERROR            = 5
    *   OTHERS                       = 6
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endmethod.
    But when I call CALL_BROWSER through se37 it worls fine and brings up my outlook client.
    Any ideas ?

  • Report output getting truncated in email attachment

    Hello Gurus,
    My requirement is to send a report output as an email attachment.
    I have done the coding for this but have a small problem. In the attachment the report is getting truncated after certain length.
    Can you advise wats the problem ?
    Regards,
    Suhas

    Hello Guys,
    I too was contemplating on those lines. But actually i was calculating the File Size incorrectly.
    Changed the code & now it working !!!!!!!
    BR,
    Suhas

  • After the Firefox update this week (Sept 7?) links from emails won't open. I get an error message. So I've temporarily set IE as my default browser, and the links work.

    After the Firefox update this week (Sept 7?) links from emails won't open. I get an error message. So I've temporarily set IE as my default browser, and the links work.

    Hi everyone, I have Snow Leopard 10.6.8. I have been very very frustrated by this problem. [I could not create new windows, and anything that opens new windows, such as trying to see what Add-ons you have etc would not work]. I read about changing screen alignment to the top... I have one screen so the option does not exist. The above messages would not fix this problem. I searched hard and did find a solution in the end. I read stuff about removing Add-ons until the problem is fixed, but its simply not the case.
    First of all open Firefox. next go to options: Help --- 'Restart with Add-ons disabled'. Tick the box for add-ons, restart firefox. Next go to Tools --- Add-ons. Next (In the Add-ons Manager' click on 'Plugins' on the left hand side pane. Look for the small blue writing that says 'Check to see if your plugins are up to date'.
    Now notice it should say 'Missing Flash'. "For your safety, Firefox has disabled your outdated version of Flash. Please upgrade to the latest version". I followed this, reinstalled Flash and it now works as it always did, no problems. For people where the above fix didn't work, try this one out. Hope it helps people!
    :o)

  • I can't always click on links in email to get to Firefox.

    Firefox suddenly doesn't respond when I click on links in emails. The problem is sporadic, as sometimes it works fines. Sometimes I can solve it by double-clicking, sometimes not. Sometimes I can fix it temporarily by closing and restarting Firefox, but the fix only lasts a short time and I'm back to square one. I'm using Firefox 32.0 on a Mac using OS10.6.8.
    I already tried making another browser my default browser, then switching back. Please advise. Thanks!

    Do you only get this problem when Firefox isn't running or also when Firefox isn't running?
    Create a new profile as a test to check if your current profile is causing the problem.
    See "Creating a profile":
    *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    If the new profile works then you can transfer files from a previously used profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over problems.
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • When I click a link in email from the dock I get "no associated application can be found but if I used comcast email it goes through does anyone know how I can enable these links on my dock email?

    When I click a link in email from the dock I get "no associated application could be found", however if I used comcast email the link will open.Does anyone know how I can enable the links to open in my apple email account on the dock?

    Barney,
    I have four groups.
    I just typed the name of one of those groups in the To field on the iPhone's email, and received:
    Invalid Address
    "<group name>" does not appear to be a valid email address.  Do you want to send it anyway?
    I clicked continue and it remains in my outbox.
    Help is appreciated.
    Thanks,
    Michael

  • Spool Is getting truncated when sent as email attachment

    Hi All,
    We are sending the spool lists for overnight jobs as emails (outlook) to certain users. The problem we are facing is that when the spool is big then not all the pages are getting transferred in the attachment. The list gets truncated.
    Has anyone faced a similar problem and if there is a way around this. Maybe there is some parameter setting in SAP which has to be adjusted.
    Pl advice.
    Thanks

    Hi
    I faced the same problem because in standard SAP dimensions of attachement is hard coded.
    Regards
    Aditya

  • Linking multiple emails to a single event in ical and/or to do's

    Hi:
    Often I receive emails and I want to link them to an event in ical. OS X does this just fine as long as there is date in the email that OS X can recognize. The problem is sometimes I get multiple emails relating to the same event and I would like to be able to link all of those emails to one single event in ical. My same questions applies to 'to do' items.
    And a follow up question--say I receive an email that has no date explicit in the text-I've tried to find some function that would allow me to schedule a new event in ical and would link that email to it. (I hope that all makes sense) I'm open to whatever solution I'll even pay money for 3rd party software if anyone knows of a good program. But I"m looking to stick to the basic ical interface. Any suggestions?

    Hi rtwigg,
    seems this is one of visio graphics limitation regarding the external data.
    visio graphics, may only support for one row.
    you may consider this idea :
    "It is a good idea to separate your rows into visual units so that you have everything you need and nothing else in a single row. To link a shape to a data row, simply drag the row from the external data window and drop it on the shape. A default data
    graphic should immediately appear next to the shape displaying some data from the row. From here you are able to customize the graphic to fit your needs"
    by means, you may need to use the visio client.
    http://blogs.msdn.com/b/visio/archive/2010/02/05/no-code-mashups-with-visio-services-and-web-part-connections.aspx
    http://msdn.microsoft.com/en-us/library/ff408345.aspx
    http://msdn.microsoft.com/en-us/library/ff394649.aspx
    http://blogs.msdn.com/b/visio/archive/2010/02/21/the-visio-services-javascript-mashup-api.aspx
    Regards,
    Aries
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Problem with links on email templates

    Problem with links on email templates
    Hi,
    We have been having issues with links on our email templates. Some of the links point to the following URL:
    http://server'sname/thirdparty/FCKeditor/editor/fckeditor.html?InstanceName=emailTemplatesDTO.htmlBody&Toolbar=NewscaleFCKEditorToolBar#URL
    Sometimes we get “Unknown internal error” on the web page.
    Can anyone help or advise on how to resolve this issue?
    Many thanks,
    Wesley.

    Hi Wesley,
    This is rather late, but we've seen the same thing frequently (and I believe can replicate it).  It's caused when you a creating a new email by copying the content of an existing one with a name space in it.
    Upon copying, the link gets scrambled.  The approach we use is to copy the email in to a new template, then strip out all of the URL links and add them back in.
    Thanks!
    Ant

  • Link in emails to open the link in new tab, not a new firefox window with home page,

    Link in emails open a new Firefox window with my default home page. How do I get Firefox to open the linked web page, in an new tab, as it used to do??
    This is for Win XP, FF 17.0.1, using Outlook as mail client.

    Do you mean the results from a search via the Google search bar on the Navigation toolbar or the Firefox Google home page (www.google.com/firefox) ?
    For the Google website you can set your preferences on the Google.com page via the [http://www.google.com/preferences?hl=en Google Search settings] link at the top right.
    Results Window: Open search results in a new browser window.
    You need to allow cookies for Google (Tools > Page Info > Permissions) to save that setting, otherwise you have to repeat it.
    For the Google search bar on the Navigation toolbar you can set the pref browser.search.openintab to true on the about:config page.
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />

  • Links in emails unable to open when clicked

    Hi,  I'm having a rather difficult time opening links in emails.  I have tried all but this route so far to get to the bottom of this issue.  I figure it must be a security issue and noticed it happening since all websites I visit are now
    "https" and  since that began months ago slowly I'm unable to now open links within emails. I have tried to delete the "s" on some sites only for there to be more conflicts and most won't open for me.  This site is unavailable
    to me >>  http://www.aweber.com/z/c/?8948cc11-7005-4322-952c-4177647842c2  It was to open link for accepting subscription to a newsletter.  Others are links to forums or other 3rd party sites that are recommended reading.  I'm not
    that computer savvy so could use some help here.  Please and thank you for your time and consideration in this matter as I'm not the only one that is experiencing this issue.  I have friends on f/b with the same issues.

    Hi,
    This issue might be related to the cache stored or security settings you have configured for the browsers, while please understand that we don't support Chrome or firefox, and we're not familiar with its settings, you might need to contact
    the browser's vender support.
    I'd like to share the following link with you as convenience
    https://www.veracode.com/blog/2013/03/browser-security-settings-for-chrome-firefox-and-internet-explorer
    NOTE
    This
    response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you.
    Microsoft
    does not control these sites and has not tested any software or information found on these sites.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • E-mails get truncated when forwarded

    When I forward an e-mail from within the e-mail app, the e-mail does not get forwarded completely. For some reason the original text gets truncated.
    I first noticed this on IOS 6 on both the iPhone 5 and iPad 3rd gen.
    Please advice me what to do, because this way the e-mail app is not reliable.
    Kind regards.

    Thank you. I will have to try this out with a known troublesome link, but I don't recall getting an "open with" dialog in these circumstances. Also, as I understand these things (and I probably don't) the links I have tried to use have been communication links rather than a file opening function. The problem I got the other day was on a BBC site and the function of the link (which was an e-mail address) was to enable me to post a question. I was able to use that address to post the question without using the link shortcut - just sent an e-mail.

  • Sending WD component link in email through Workflow

    Hi ,
    I have a Web dynpro component created.The WD application would trigger a Workflow through a Business Object event. In the workflow the user would receive an email on his outlook with the WD component link.
    I have 2 questions:
    1)  How will we send the email to the outlook mail? And the link would be a fairly long string as it is of a WD application.How can we send the link?
    2)  There is 1 more requirement in which there is a inventory number,which is the key field for the WD screen.The person receiving the outlook email with the link will be getting the link as
    eg: http://tcbdci20.xyz.net:8020/sap/bc/webdynpro/xyz/cbb_a4201_invmt?WiNr=4711.
    Here the "WiNr" would be the Inventory number parameter name and "4711" would be the inventory number.This link should directly take the user to the inventory number data filled on the WD screen.
    Is there any way thsis kind of link can be sent and generated?
    Many thanks for your help.
    Regards,
    Ameya Kulkarni

    Hi,
    Please see the below code by which I am able to send link more than 160 charecter.
    *** BEGIN_METHOD SEND_MAIL_TO_USERS CHANGING CONTAINER.
    * Data declaration
    DATA:
          lt_user_IDS type STANDARD TABLE OF SWHACTOR,
          ls_user_IDS type SWHACTOR,
          lt_EMAIL_ADDRESSES TYPE STANDARD TABLE OF ADR6-SMTP_ADDR,
          ls_EMAIL_ADDRESSES  type ADR6-SMTP_ADDR,
          lv_STATUS TYPE CFS_STATUS-STATUS_ID,
          Lv_Object_ID type crmd_orderadm_h-object_id,
          ls_document_data TYPE sodocchgi1,
          lt_text TYPE solisti1 OCCURS 0,
          l_document_data TYPE sodocchgi1,
          lt_receivers TYPE somlreci1 OCCURS 0,
          ls_wa_receive TYPE somlreci1,
          ls_text TYPE solisti1,
          lv_link_title  TYPE char50.
    DATA: lv_link1 TYPE char200 VALUE
    'http://golitsapd39.go-d01.local:8001/sap/bc/gui/sap/its/webgui?sap-',
          lv_link2 TYPE char200 VALUE
    'language=EN&sap-client=850&~transaction=DSWP_SAPSHORTCUT&~OkCode=',
          lv_link3 TYPE char200 VALUE '/08&pcmd=CRMVW&pmsgnum=',
          lv_link  TYPE char200.
    * Get container values
      SWC_GET_table CONTAINER 'User_ids' lt_USER_IDS.
      SWC_GET_table CONTAINER 'Email_addresses' lt_EMAIL_ADDRESSES.
      SWC_GET_ELEMENT CONTAINER 'Status' lv_STATUS.
      SWC_GET_ELEMENT CONTAINER 'Object_ID' lv_Object_ID.
    *=======================================================================
    * Createing final link
    *=======================================================================
    CONCATENATE lv_link1 lv_link2 lv_link3 lv_object_id INTO
                lv_link.
    *=======================================================================
    * createing subject
    *=======================================================================
    Condense  lv_status.
    Translate  lv_status to upper case.
    CASE lv_status.
      WHEN 'NEW'.
        CONCATENATE 'Pls assign Support Msg ' lv_object_id
        INTO ls_document_data-obj_descr SEPARATED BY space.
      WHEN 'AUTHORIZED'.
        CONCATENATE 'CR' lv_object_id 'is autorized'
        INTO ls_document_data-obj_descr SEPARATED BY space.
      WHEN 'CRCREATED'.
        CONCATENATE 'Please authorize' lv_object_id
        INTO ls_document_data-obj_descr SEPARATED BY space.
      WHEN OTHERS.
        CONCATENATE 'Support Msg' lv_object_id
        'is in' lv_status 'status'
        INTO ls_document_data-obj_descr SEPARATED BY space.
    ENDCASE.
    *=======================================================================
    * createing Body
    *=======================================================================
    * Hi
    CLEAR : ls_text.
    ls_text = 'Hi,'.
    APPEND ls_text TO lt_text.
    *Blank Line
    CLEAR : ls_text.
    ls_text = '<br></br>'.
    APPEND ls_text TO lt_text.
    CASE lv_status.
      WHEN 'NEW'.
    *Support Message has been created or reassigned in NEW status.
        CLEAR : ls_text.
        CONCATENATE 'Support Messag' lv_object_id
        'has been created or reassigned to you.'
        INTO ls_text SEPARATED BY space.
        APPEND ls_text TO lt_text.
    *Blank Line
        CLEAR : ls_text.
        ls_text = '<br>'.
        APPEND ls_text TO lt_text.
    *Please raise a CR and waith untill it is aurorized then make the status
    *ASSIGNED to continue further.
        CLEAR : ls_text.
        CONCATENATE
        'Please raise a CR and waith untill it is aurorized then make the'
        'status ASSIGNED to continue further.'
        INTO ls_text SEPARATED BY space.
        APPEND ls_text TO lt_text.
    *Blank Line
        CLEAR : ls_text.
        ls_text = '</br>'.
        APPEND ls_text TO lt_text.
    WHEN 'AUTHORIZED'.
        CLEAR : ls_text.
        CONCATENATE 'CR' lv_object_id 'is authorized.'
        INTO ls_text SEPARATED BY space.
        APPEND ls_text TO lt_text.
    *Blank Line
        CLEAR : ls_text.
        ls_text = '<br>'.
        APPEND ls_text TO lt_text.
    *Please check and make the status of the support message ASSIGNED
    *status to continue further.
        CLEAR : ls_text.
        CONCATENATE 'Please check and make the status of the support'
                    'message ASSIGNED status to continue further.'
        INTO ls_text SEPARATED BY space.
        APPEND ls_text TO lt_text.
    *Blank Line
        CLEAR : ls_text.
        ls_text = '</br>'.
        APPEND ls_text TO lt_text.
    WHEN 'CRCREATED'.
        CLEAR : ls_text.
        CONCATENATE 'CR' lv_object_id 'has been created.'
        INTO ls_text SEPARATED BY space.
        APPEND ls_text TO lt_text.
    *Blank Line
        CLEAR : ls_text.
        ls_text = '<br>'.
        APPEND ls_text TO lt_text.
    *Please check and authorized it.
        CLEAR : ls_text.
        ls_text = 'Please check and authorized it.'.
        APPEND ls_text TO lt_text.
    *Blank Line
        CLEAR : ls_text.
        ls_text = '</br>'.
        APPEND ls_text TO lt_text.
    WHEN OTHERS.
        CLEAR : ls_text.
        CONCATENATE 'Support Message' lv_object_id
        'is in' lv_status 'status now.'
        INTO ls_text SEPARATED BY space.
        APPEND ls_text TO lt_text.
    *Blank Line
        CLEAR : ls_text.
        ls_text = '<br>'.
        APPEND ls_text TO lt_text.
    *Please check and start working as soon as possible.
        CLEAR : ls_text.
        ls_text = 'Please check and start working as soon as possible.'.
        APPEND ls_text TO lt_text.
    *Blank Line
        CLEAR : ls_text.
        ls_text = '</br>'.
        APPEND ls_text TO lt_text.
    ENDCASE.
    *Blank Line
    CLEAR : ls_text.
    ls_text = '</br></br>'.
    APPEND ls_text TO lt_text.
    *Please click the following link to take a action.
    CLEAR : ls_text.
    ls_text = 'Please click the following link to take a action.'.
    APPEND ls_text TO lt_text.
    *inseting link
    CLEAR : ls_text.
    CONCATENATE 'VIEW/EDIT Object' lv_object_id INTO lv_link_title
    SEPARATED BY space.
    CONCATENATE '<A HREF=' lv_link '>'
       INTO ls_text.
    APPEND ls_text TO lt_text.
    CLEAR : ls_text.
    CONCATENATE  '<H5>' lv_link_title '</H5></A>'
    INTO ls_text.
    APPEND ls_text TO lt_text.
    *Blank Line
    CLEAR : ls_text.
    ls_text = '<br></br>'.
    APPEND ls_text TO lt_text.
    *Adding Signature
    *WThanks and regards
    CLEAR : ls_text.
    ls_text = 'Thanks and regards,'.
    APPEND ls_text TO lt_text.
    *Blank Line
    CLEAR : ls_text.
    ls_text = '<br>'.
    APPEND ls_text TO lt_text.
    *WF-Batch
    CLEAR : ls_text.
    ls_text = 'WF-BATCH'.
    APPEND ls_text TO lt_text.
    * Receiver
    Loop at lt_user_IDS into ls_user_IDS.
    ls_wa_receive-rec_type = 'G'.        "SAP User
    ls_wa_receive-receiver = ls_user_IDS. "Mail Address
    APPEND ls_wa_receive TO lt_receivers.
    Endloop.
    Loop at lt_EMAIL_ADDRESSES into ls_EMAIL_ADDRESSES.
    ls_wa_receive-rec_type = 'U'. "Internet User
    ls_wa_receive-receiver = ls_EMAIL_ADDRESSES. "Mail Address
    APPEND ls_wa_receive TO lt_receivers.
    Endloop.
    *This function module is used to send mail
    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.
    *If Mail Send Successful
    IF sy-subrc EQ 0.
      COMMIT WORK.
    *   Push mail out from SAP outbox
      SUBMIT rsconn01 WITH mode = 'INT' AND RETURN.          "#EC CI_SUBMIT
    ENDIF.
    END_METHOD. ***
    Thanks and regards,
    SNJY

Maybe you are looking for