Email issue in ECC 6.0

Hi,
I have written a program to send emails as shown in SAP example programs, I am not able to send the emails.
I have ran some of the SAP example programs
BCS_EXAMPLE_1
BCS_EXAMPLE_2
BCS_EXAMPLE_3
BCS_EXAMPLE_4
BCS_EXAMPLE_5
BCS_EXAMPLE_6
I still don't see email in SOST. Is there any thing apart from this code we need to do in the settings to send the email then please let me know.
Regards
Sandeep

Hi Sandeep,
You can refer this code:
FORM mail_pdf .
*&--Send PDF Form by E-Mail
  TRY.
      send_request = cl_bcs=>create_persistent( ).
*get PDF xstring and convert it to BCS format
      lp_pdf_size = XSTRLEN( ls_formoutput-pdf ).
      pdf_content = cl_document_bcs=>xstring_to_solix(
          ip_xstring = ls_formoutput-pdf ).
      IF  nast-kschl = c_zhpl.
        w_subject = text-001.
      ELSEIF nast-kschl = c_zhcs.
        w_subject = text-002.
      ENDIF.
      document = cl_document_bcs=>create_document(
            i_type    = c_pdf
            i_hex     = pdf_content
            i_length  = lp_pdf_size
            i_subject = w_subject ).
*add document to send request
      send_request->set_document( document ).
      CALL FUNCTION 'BAPI_USER_GET_DETAIL'
        EXPORTING
          username = sy-uname
        TABLES
          return   = t_return
          addsmtp  = t_addr.
      CLEAR w_addr.
      READ TABLE t_addr INTO w_addr INDEX 1.
      recipient = cl_cam_address_bcs=>create_internet_address(
          i_address_string = w_addr-e_mail ).
*add recipient to send request
      send_request->add_recipient( i_recipient = recipient ).
      sent_to_all = send_request->send(
          i_with_error_screen = c_x ).
      IF sent_to_all = c_x.
        MESSAGE i022(so).
      ENDIF.
      COMMIT WORK.
    CATCH cx_bcs INTO bcs_exception.
*Exception Handing
      MESSAGE ID bcs_exception->msgid TYPE bcs_exception->msgty
      NUMBER bcs_exception->msgno
        WITH bcs_exception->msgv1 bcs_exception->msgv2
             bcs_exception->msgv3 bcs_exception->msgv4.
      EXIT.
  ENDTRY.
ENDFORM.                    " MAIL_PDF
Regards,
Hemant
Edited by: Hemant Goyal on Sep 5, 2008 8:22 AM
Edited by: Hemant Goyal on Sep 5, 2008 8:23 AM

Similar Messages

  • Replicated vendor email address from ECC 5.0 to SRM 5.0

    Hi All
    Currently, we are trying to replicate vendor email address from ECC to SRM. We use Vendor Master – General – Email (SMTP_ADDR) to store different email address
    1. ) Case One
    - Vendor email address for vendor account receivable
    - Vendor email address for procurement
    - Vendor email address for return invoice
    Our system : SRM will only replicate defaulted vendor email address ( Standard Number )
    Question : Is it possible to replicate all email address ( the above 3 email address).
    2.) Case Two
    When we only one email address for vendor account receivable, we don’t want to replicate to SRM.
    Question: Is possible to block this vendor email address and do not replicate to SRM ?
    Thank You
    Alex

    >>Will XI 3.0 able to work with ECC 6.0 without any change or any change is required in the XI configuration level, please specify?
    As far as I know, no change is required in XI configuration.
    Regards,
    Praveen Gujjeti.

  • Email issues after Yosemite upgrade.  Several things are happening, I delete messages only to get a error indicating that I can't delete them or if I do delete them, they reappear sometime later.

    I use Apple mail on an IMAC & IMAC Mini.  As I move from one to the other these email issues persist on both.
    I try to clean out my email by deleting emails.  I sometimes get an error message indicating I can't delete the message or when I do delete the message, then sometime later or when I go on the other computer these deleted messages reappear.  I am also getting emails from some senders but the actual content belongs to another person.
    I had none of these problems prior to upgrading to Yosemite.
    Any suggestions would be helpful.
    Chuck

    adam_30 wrote:
    i can go with other carrier with my iphone 5s so for all the pple that are ging to read this read it again befor saying something to mee kk thanxso for what  relly happen is i when too do the update to the ios 8.1 solfwaer  on  my dad iphone 5 frist so i coundn`t boot it back up so i call apple an they told me how to make the iphone 5 boot backup my dad  was sineg into evering his itunes an his apple id an find myi phone an there telling me that he was not sing in but i know he was so he was  able to get into his email bec he forgot his password too but how is that tho i would like to know that tho me on the other hand i have been ******* lock out of all my gmail an the curreent email that google has lock me out too its  the current email is lock to my iphone 5s is lock to an so the owle  email i can get on its bec it save on a friends laptop an i have the frist bill that rogers send to me  its pretty much its  the proof-of-purchase that what rogers told me today when it talk to like 15 different pple i talk  today an they all told me the same thing it shown that we did  it from rogers a show the day we had it activadev an its show the number of the activadev so am i getting such a heard time to get this  done for me an like in one of the postting i did say that the one rorgers supervisor mamageran guy was talking to the apple supervisor mamageran an the rogers supervisor mamageran guy told the apple supervisor mamage that he was  confirmed  that the iphone 5s that apple lock wasnot a lost or a hot iphone 5s to the apple supervisor mamageran so after he ending up the rogers supervisor mamageran guy told me the my frist rogers bill it the same as the proof-of-purchasean that rogers supervisor mamageran is what there a saying to be so it the rogers supervisor mamageran say that that good so apple that should be good gor u an that rogers supervisor mamageran told me the he have gave that to pple an it work for them y not me just want to know
    ......................................... what?

  • HT204017 Email issues after the latest update

    I updated to the latest yosemite update yesterday and it caused email issues.  I can receive emails but when I create and send emails, they just sit in my outbox.  Any ideas or suggestions?  Is there a way to revert back to the previous version of yosemite?

    Hi roger,
    I had this same issue about a month ago. I went in and had to re-enter my password for the account I was having trouble with and then restarting my computer. If that doesn't work then I have seen people that had to go into keychain and delete their email login information and after that delete the email account and re-add it. Hope this helps.
    -crazy

  • Email Pop-UP message "Email issue detected"

    Over the last week I continually receive a pop-up message with  "Email issue detected" and the options of "Fix" or "Ignore"
    When I selct FIX it sends a test message to my Outlook 2003. A new pop-up then appears with no fault found. However it does refer to my current email address and also an old email address which I have not used in 5-6 years.
    How do I stop this and get rid of old address?

    Sounds like a bit of Malware to me.
    Try malware removal tool from Cnet Downloads http://download.cnet.com/windows/security-software/?tag=rb_content;main
    Plenty on there to choose from
    Check your exchange or major service outagesIf someone has given a helpful answer, please click on their Ratings star on the left-hand side. ***

  • Browser and email issues with OS 10.9.4

    Had a problem that I thought had been solved.  See thread here: Just installed OSX 10.9.4 - have browser and email issues
    Now a week or so later, it's back.  Same symptoms.  I have followed the procedure posted by Linc Davis.  Anybody have further ideas?
    Don Hutchins

    If you are using Safari, try going to Safari/Preferences/Advanced and set the develop menu to show. Go to the develop menu and select Empty Caches.
    If that doesn't work, Safari/Reset Safari/Remove all web site data.
    For Mail, try:
    Do a backup.
    Quit Mail.
    Go to Finder and select your user/home folder. With that Finder window as the front window, either select Finder/View/Show View options or go command - J.  When the View options opens, check ’Show Library Folder’. That should make your user library folder visible in your user/home folder. Go to Library/Containers/com.apple.mail.  Move the folder com.apple.mail to your desktop. You must move the entire folder, not just the contents.
    Restart, re-launch Mail and test. If the problem is solved, recreate any required Mail settings and import any emails you want to save from the folder on the desktop. You can then put the folder in the Trash. If the problem remains, return the folder to where you got it replacing the one that is there. 
    Information learned from Linc Davis. Thanks to leonie for some information contained in this.

  • Just installed OSX 10.9.4 - have browser and email issues

    After updating the OS to X 10.9.4, I am now getting sporadic browser and email issues.
    Email will send one message from each account, then locks up and the message is "authentication refused".
    Browser will bring up an internet page or sometimes several, then will lock up and no further URLs can be accessed.
    Both issues are temporarily solved by rebooting the machine - but recur almost immediately.
    I am pulling my hair out.  Any thoughts?
    Don Hutchins

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Remove FOPE Domain/O365 Domain (Admin needed) - Causing Email issues.

    Good Morning,
    Long time ago (2007) I messed around setting up FOPE but did not do much with it, which is or currently transitioning to Office 365? Anyways, I logged into FOPE yesterday based on some help from another company that has been unable to email us, said they
    talked to Microsoft and the rep saw we had a FOPE account setup with mail server settings pointing to our old Exchange Server.. Turns out the company and many other companys that can't email us are using FOPE/O365 and Microsoft internally is using those settings
    to route mail to our old On-Premise Exchange Server and not picking up our new MX record.
    We have since transitioned to Google Apps (thus the new MX record), but from what we see - O365 Customers look like they are being routed  to the old Exchange Server based on those settings.. It looks like FOPE is set in a "read only" mode,
    I cannot change the MX record, or IP addresses to route mail to.. I would like to formally request the deletion of the Domain from both O365 and FOPE, this should resolve our Email issues. The domain in question is bangorschools DOT org
    I have logged into O365 and deleted the domain leaving the onmicrosoft domain, but It doesnt look like I can do anything with FOPE.. Even if I could just change the IP address to point to google, or someone at Microsoft can remove the account all together?
    Thank you,
    Kyle

    Hi,
    when you have been transitioned to EOP your FOPE-settings will be readonly. So you should contact FOPE/EOP support for help to remove your domain from FOPE, they can do changes.
    Greetings
    Christian
    Christian Groebner MVP Forefront

  • Email Issue Detected

    I access my Yahoo emails via Windows Mail and I have 5 email addresses.
    Intermitantly sometimes one or other hangs when I click Send/Receive, also I sometimes get a BT message pop up headed Email Issue Detected with the option to Ignore or Fix.
    If I click Ignore next time I try to download my emails they come in OK
    Any ideas what is happening?
    I tried to post the message but can't find out how to do it?

    pugwash wrote:
    I get exactly the same problem that st-clares describes.
    Is there no solution to this very annoying problem, for heaven's sakes!
    What is the point of a forum if we cannot get a solution to such a simple problem which many more users must be experiencing?
    Hi Pugwash, welcome to the forums.
    This problem is typical of an account access problem that can last up to a few days. It only affects a very small number of users from time to time, and not always at the same time - hence there are not a lot of posts on this particular topic.
    Over the years this has just sorted itself out for each user, without there being any specific reason for the problem. It can easily be a database access failure or some form of temporary corruption.
    Can you access your email account via webmail ?
    What particular email client program are you using (e.g. Outlook, Windows Mail or Thunderbird) ?
    http://www.andyweb.co.uk/shortcuts
    http://www.andyweb.co.uk/pictures

  • Email Issue - How to turnoff "This message contains unloaded images"?

    Email Issue - How to turnoff "This message contains unloaded images"? and having to hit "Load Images" every time I view email msg.

    Mail > Preferences > Viewing
    Select "Display remote images in HTML messages"

  • IMessages and email issues

    I cannot receive iMessages and I cannot access my email. Can I still downgrade to iOS 6.1.4?  I had no issues with that version

    Thanks again.
    There is a listing for Theme in settings which gives the 3 options "Theme controlled, Combined and Separate for sms, mms and email.  I and the store have tried this option which sadly did not work, in fact it removed all remaining messages from my message folder; they are still there, but only accessible from the sms inbox folder which you have to navigate to via view folder option.  The store recommended contacting Blackberry directly as well as the forum sites for advice as they have never seen this happen before.  They also advised that if no fix was possible then to back up my files and restore to original settings and start again.
    I have since removed the battery from the device and then replaced it to see if that helped.  The device appears to have rebooted and sms messages are now showing in my message folder.  However, I still cannot receive my emails.  I have decided to remove my email accounts from the phone and then reinstate them and hope that will rectify any conflicting issues.
    Thank you for your time, it has been very appreciated and helpful.  I will let you know if this resolves the email issues.  I know it is probably not the correct way to fix but if it works then it is worth a shot.
    Denis

  • Wireless & email issues ** Updated 12/12/13**

    Having problems with connecting wireless devices?
    Try our to get advice connecting using wireless.
    You just need to choose the device you want to connect with, let us know what you specifically need help with and we’ll guide you the rest of the way.
    You can get help with fixing a wireless problem or if you’re trying to connect using wireless for the first time, you can do that too.
    We show pictures alongside each step so you know you’re doing the right thing.
    Need help with your email? 
    If you’re forgotten your password (it’s so easily done), you need help setting up your email or you’re having problems with your email account please follow the step by step instructions to get help setting up and fixing any email issues you’re having.
    Simply answer a few questions about your email account and what you need help with, and we’ll help with the rest.
    Each step includes a helpful picture to keep you right.
    BT Desktop Help
    You can also fix connection, wireless and email issues by downloading BT Desktop Help.
    Just follow the step by step instructions on how to install BT Desktop Help, and here are just some of its features:
    Sets up your wireless connection;
    Sets up your email account and fixes problems;
    Works in the background, fixing problems it finds;
    Sets up home networks for sharing folders and printers;
    Updates automatically, giving you the latest solutions.
    We’d love to get your feedback on whether this helped you so please let us know by posting on this board.
    Stephanie
    Stephanie
    BTCare Community Manager
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post. If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

    sorry forgot to mention this is the error I'm getting
    The server error encountered was: The connection to the server “mail.alannahrose.com.au” on port 110 timed out.

  • More email issues - OS 10.1.0.273 and Active Sync

    I can't believe I am back on this forum with another email issue (I am also a victim of the email wipe issue.  I updated my Q10 OS to .273 and now my active sync account won't connect.  All other emails work fine.  According to Rogers, this is a "known problem" and can be solved by using SSL/port 443 however my company uses Exchange2003 which doesn't have access through port 443.  
    Seeing the lengthty list of known bugs/issues on these forums, I assume a solution from Blackberry on this "known problem" is months away at best.  The easy solution would be to reverse my OS update and switch back to the prior version which worked but Rogers claims this is impossible on BB10.
    Before I make the dreaded decision to give my Q10 back and get an iphone or droid, can someone help with my OS rollback.  Any BB techs reading this who can make the old OS available on their website?
    As a side note, its mind boggling to me that BB10 has all these issues with active sync.  They made a strategic decison to force non-enterprise small businesses off of BES servers into active sync - you would think they would have made sure it worked first!!! (beyond these bugs, there are basic functionality issues like the oft quoted issue of not syncing deleted folders with exchange2003 which most small businesses still use).  Either they have to fix these issues fast or make some sort of free BES10 express available or they are going to lose their small business customer base.  It becomes clearer everyday that BB10 just doesnt work with Exchange2003 active sync.

    To the Developers,
    its seems that things have gotten worse, and if you really needed someone to test your update, you could have called me...
    I can't send subsequent text messages to contacts without waiting 3 minutes for the first to send.
    solve this issue ASAP
    Kind Regards
    Nestors

  • FOUND SOLUTION TO EMAIL ISSUE - "message not downloaded from server"

    It took me 4 days to figure it out but there is a solution to the problem "the messsage has not been downloaded from server" and "the message has no content".
    I do not have to set up "push" accounts from yahoo or gmail and it works with my corporate email.
    Apple can reach me at <Message was edited by: Host> to discuss this issue.

    I'm not a computer technician, and if you were to give me a few days looking at the problem, i'm sure I or anyone else could provide a solution. I'm not too bothered about the message appearing 50% of the time as i'm usually within easy reach of a Laptop or PC or can find another method to get access to my email.
    So i'm not pi**ed off that you have found a solution. I'm just trying to obtain information for a post that says "FOUND SOLUTION TO EMAIL ISSUE - "message not downloaded from server" in the Apple HELP FORUMS...

  • Exception in CRM system after creating post goods issue in ECC

    Hi Folks,
    We are facing an issue in CRM system. I will tell the scenario in details so that it would be helpful to understand,
    We are creating sales order in CRM system and it got replicated to ECC correctly. We have maintained action definition to trigger email to the customer.
    Then we will be creating delivery and then post goods issue(PGI) for items replicated to ECC systems. After PGI system will update the status in CRM sales order and here configured an action definition to trigger an email to customer.
    We have created custom badi implementations for action definition execute badi to send email. Emails are triggering correctly but after PGI creation while replicating the changes from ECC to CRM we are getting an exception in standard code because PPFTTRIGG table does not have entry. We have failed entry in CRM inbound queue and then did some debug and come to know the place of issue. Help me out with some inputs here.
    Best Regards,
    Dharmakasi.

    Hi,
    I have identified one thing here, if the action definition does not have start condition system is not updating that entry in PPFTTRIGG table. Here i got 2 questions my mind
    1. Why system is not updating the table with all the action definitions available in action profile
    2. Why system is looking for the entry which was not updated in PPFTTRIGG table?
    I do not understand problem with updating table or with action profile itself. Please give some input here. If we deactivate all the definitions which does not have start condition then there is no error.
    Best Regards,
    Dharmakasi.

Maybe you are looking for

  • Iphone 6 plus call issues

    On sprint. most of the people I call either say I sound very quiet (I'm a loud talker) or that I start at a normal volume but then I get so quiet that they can't hear me.  This happens with my bluetooth paired as well with out my Bluetooth.  Any idea

  • HT201406 My iPod 2ndG wont respond to my touch.... HELP !

    My iPod 2ndG wont respond to my touch . . sometimes it works & then other times it wont . HELPPP !!!!

  • HT4890 i can't locate my photos in my icloud

    there is no iphoto icon in my icloud and i can't seem to find my photos. the photo stream is enabled on my iphone and in the icloud preferences on my mac book pro, yet still it doesn't show up.

  • Does iSight mic work for garageband?

    My internal mic is broken, I was looking for a fast solution and the guy at mac store told me that since I have a iSight camera, I could use my iSight(cuz there's a camera and mic both) for Garageband to record. I went to open my Garageband>Preferenc

  • Rapid Installer includes Visual Composer?

    Hi all, I want to install and run NetWeaver Portal. It is planned to be connected to SAP BI. In a later step, it should be possible to create applications/models via the Visual Composer. Now my question: Could anybody say something about their experi