Mail - Not working in RFC call

Hi,
I  have custom IDoc sending from one box to another , Say for example A to B. My problem is if any error found in the data in box B while updating the application document. I am generating a mail using the following code in Box B
      v_length = strlen( v_string ).
      v_hlength = v_length. .
      send_request = cl_bcs=>create_persistent( ).
      try.
          document = cl_document_bcs=>create_document(
                                        i_type    = 'RAW'
                                        i_text = i_content[]
                                        i_subject = v_subject ).
          call method send_request->set_document( document ).
          sender = cl_sapuser_bcs=>create( v_sender ).
          call method send_request->set_sender
            exporting
              i_sender = sender.
          loop at i_recipient.
            translate i_recipient-smtp_addr to lower case.
            recipient = cl_cam_address_bcs=>create_internet_address(
    i_recipient-smtp_addr ).
            call method send_request->add_recipient
              exporting
                i_recipient  = recipient
                i_express    = ' '
                i_copy       = ' '
                i_blind_copy = ' '
                i_no_forward = ' '.
          endloop.
          move : 'E' to v_request_status.
          v_status = v_request_status.
          call method send_request->set_status_attributes
            exporting
              i_requested_status = v_request_status
              i_status_mail      = v_status.
          send_request->set_send_immediately( 'X' ).
          send_request->send( ).
          commit work.
        catch cx_document_bcs into bcs_exception.
      endtry.
But if sending the IDoc from A to B the mails are not generated ie not found in SOST . ( I checked the IDoc it showing as Error)
But If i login in Box B and run the same IDoc in Box B thru WE19 and reprocess it generating the mails.
Any info why ?

Any info ?

Similar Messages

  • Lion 10.7 / pop mail not working...

    on an intel mac pro... pop mail not working... problems with 110 port connecting to server... any suggestions?

    The only possible way to get my mail working with Mac OS X 10.7.4 was to use Thunderbird (latest version, 13) instead of Apple Mail. I don't know if this was related to my ISP only but I'm surprised that there aren't more discussions about this problem. Apparently, it is very widespread from what my ISP said. They said there is a problem with (or change in) the way Apple Mail handles POP accounts under Mac OS X 10.7.x. They are getting dozens of calls about it every day. My POP account, which worked perfectly under Mac OS X 10.6.8, simply would not retrieve mail under Mac OS X 10.7.4 using the exact same settings. I tried absolutely everything that I could find on the Internet to resolve the problem in order to continue to use Apple Mail.
    So for anyone else experiencing this problem, forget Apple Mail. Download Thunderbird and set up your POP account exactly as it was set up under Snow Leopard and your problem will be solved. Looks like Apple has some fixing to do. This is unacceptable, regardless of what Apple's excuse is or whatever their reason was for making this change.
    I like Thunderbird. I'm actually kind of glad this happened now

  • Apple Mail not working after internet outage.

    10.9.5 Mail not working after internet outage.  Connection doctor shows everything green.  Other apps connecting to internet fine.   Mailboxes show online.  I can login and get mail via web iCloud.com.  But Mail app will not send or receive.  Tried rebooting Mac, and restarting Mail.  Tried Rebuild.  Second day with this problem.

    Troubleshooting Apple Mail
    Troubleshooting sending and receiving email messages
    Troubleshooting sending email messages

  • MOH not working in Directed call park

    Hello All,
    After upgrading the voice gateway from 15.1(2)T2 to15.1(3)T4 im facing this issue.
    MOH is not working in Directed call park. We have 10 Directed call park numbers 100-109, users are parking the calls by pressing trasfer key (transfer key-->dial 100-->transfer key). The Music is stopped playing after the user presses the transfer key for the 2nd time. MOH is working fine in hold and call  park. I can see the MOH session in Show ccm-manager music-on-hold and the same MOH session is continuing after pressing the transfer for the 2nd time, only the music is stopping. There are some sites in the same cluster which MOH working in all conditons but the router is rnning with
    Using: 2900 series voice gateway with H.323, Centralized cluster.
    Assistace will be musch appricidated
    Thanks,
    Murali

    This issue has been identified as new BUG. Cisco is working on this.
    -M

  • Mail not working in new mini mac

    i got new mini mac and mail not working. i get this message.
    You have Mail version 4.2 (1078/1084). It can’t be used on Mac OS X Version 10.6.8 (Build 10K549). For more information, click the Help button.
    dont know what to do
    thanks

    Should be Mail 4.5.  With Spotlight, check to see if you have more than one version of the Mail app onboard.  Also, make sure that there is one at the root level of the Applications folder, and that it is namely simply Mail before applying the Combo.
    Ernie

  • HT2216 I am on OSX 10.7.5 and recently had to reinstall it due to 'mail' not working correctly.  That problem was resolved but now my I can't use the 'right click' function on the apple usb mouse.  Any clues?

    I am on OSX 10.7.5 and recently had to reinstall it due to 'mail' not working correctly.  That problem was resolved but now my I can't use the 'right click' function on the apple usb mouse.  I only have a previous version re-install disc as I bought the latest OSX off the app store.  Any help gratefully received?

    Hmmm, no, no drivers needed, now it sounds like a bad install... unless you might have some old Mouse software installed???
    If 10.7.0 or later...
    Bootup holding CMD+r, or the Option/alt key to boot from the Restore partition & use Disk Utility from there to Repair the Disk, then Repair Permissions.
    If that doesn't help Reinstall the OS.

  • ADS does not work.(Service call exception)

    Hi All,
    According to SAP note 937697 "Usage of SAP NetWeaver BI Diagnostics & Support Desk Tools", when running the tool, it gives following error:
    ADS does not work.(Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://sapbwd.ni.ad.newsint:50000/AdobeDocumentServices/Config?style=document")
    I have been looking into system to find out how to solve the issue, but could not, is there anyone who can help me with exact instructions what I do need to do.
    Thanks in advance
    sahmad

    Dear Sahmad,
    I would suggest you to check notes 1004321 and 944221. The first one says that mostly of this kind of issues (and I have already seen several ones) is caused for bad passwords for user ADSUSER or this account expired. The second note is a troubleshoot note you can also do.
    You can also follow this procedure to check that:
    Please open the Visual Administrator and browse to Server -> Services -> Security Provider -> Policy Configurations
    In the Components tab you will see the service.destinations policy. Click on this and then click on the AccessDestinations security Role. Modify this and add the J2EE_ADMIN/Administrator user to this role and save.
    Maybe the password is not set correctly as well. I think it worths to be set it again. First you have to identify where your ADSUSER maintained.
    Go to http(s)://<SERVER>:<PORT>/useradmin search for ADSUSER If Datasource:
    - LDAP -> check psw of ADSUSER in LDAP and enter it in SM59
    - UME data -> check psw of ADSUSER  in Visual Admin and enter it in SM59
    - ABAP -> check psw of ADSUSER the ABAP system in the following client:
    Visual Admin->UME Provider->Properties->ume.r3.connection.master.client
    If you want, also, you can change the ADS by the SAP Export Library, as per SAP Note 1112132. It is very simple to activate and will bypass ADS, doing every function ADS does.
    I hope it helps.
    Kind Regards,
    Marcio

  • Mail not working since OS X Yosemite download

    Mail not working since OS-X Yosemite download! Getting the message ''your mail index has been damaged, to repair it, quit mail'
    Same message keeps appearing despite following instructions - need mail for work! Hope someone has the answer please? iPhoto not working either since download.

    Back up all data before proceeding.
    Triple-click anywhere in the line below on this page to select it:
    ~/Library/Preferences/MobileMeAccounts.plist
    Right-click or control-click the line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item selected. Quit the application if it's running. Move the selected item to the Trash. Relaunch the application and test.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • Why does the mail not work when i updated my 5s to iOs 8?

    why does the mail not work when i updated my 5s to iOs 8?

    Thank you for the reply. But can you tell me what this configuration is about and how I should do this?

  • Mail not working after upgrade

    mail not working after upgrade. I have been told my Belkin modem [surf] is not compatable. Would this be the problem?

    just solved the problem...
    had to delete in user-library-pref-com.apple.mail.plist
    then restart mail
    www.macbug.de/kategorie/mac-os-x-105-leopard/

  • Microphone of my iphone is not working when i call anyone nobody can listen but me, its working with headphone but its also working with videocam recording, please help me to solve this probelm.

    microphone of my iphone is not working when i call anyone nobody can listen me its working with headphone. but it is working with videocam recording, please help me to solve this probelm.

    Try this:
    1. Reset the iPhone by pressing and holding the sleep/wake and home buttons and releasing them, when the Apple logo appears on the display. Now test again.
    2. If the issue persists: Restore the iPhone without any of your own content, using this description from Apple: http://support.apple.com/kb/HT4137
    3. If the issue persists, Your iPhone need repair.

  • Mail not working after installing os x

    mail not working after installing os x, anyone know how to fix this?

    it is a 2.7GHz intel core iS and the version is OS X 10.9.

  • Microphone not working on a call when cellular data is on...any help..ty..

    microphone not working on a call when cellular data is on...The person at the other end of the call cant hear me and when i turn it off it works fine..

    Hi there ravitejanvr,
    You may find the troubleshooting steps in the article below helpful.
    iPhone: Microphone issues
    http://support.apple.com/kb/ts5183
    -Griff W. 

  • ICloud mail not working. I can send but cannot receive. Is the system down?

    iCloud mail not working. I can send but cannot receive. Is the system down?

    Same here. I can send mails from iCloud.com Webmail, but cannot receive.
    A message that you sent could not be delivered to one or more of
    its recipients. This is a permanent error. The following address
    failed:
    "[email protected]":
    SMTP error from remote server after RCPT command:
    host: mx1.icloud.com.akadns.net
    5.1.1 unknown or illegal alias: [email protected]
    On iOS 6 device I can't receive, neither send mails.
    https://dl.dropbox.com/u/2234051/IMG_0001.PNG
    However, if I change to @me.com, everything works fine.

  • Mail not working after Yosemitesecurity update in march 2015

    mail not working after Yosemite security update in march 2015

    More information about what it isn't doing would be helpful.
    Mail troubleshooting - Yosemite
    Mail (Yosemite): If you can’t receive messages
    Mail (Yosemite): If you can’t send messages

Maybe you are looking for