Custom e-mail send method not working

Hi all,
I have a custom workflow (my first one, so bear with me), and implemented in the BOR a method that calls a FM which implements CL_BCS class to send an e-mail.
BOR is a Z copy of BUS1065.
The workflow is triggered from a FM called using SWEHR3 transaction every time a particular infotype is created/updated from either PA30 or PA40.
The strange thing is the email is not appearing in SOST transaction and of course, not being sent. (Commit Work is in place).
And what is more... if I execute the FM outside the PA30/40-SWEHR3 scenario, the e-mail sent is working perfectly.
So... anyone can point me in the right direction to solve this?
Thanks in advance for your valuable time.
Regards,
Andres.

Hi Viji: I think the business object method alone works fine. As I said, when I execute the FM "manually", the e-mail is sent. Workflow log isn't showing any error in any form of execution.
Hi Patrick: All workflow config. is in place. I know that because all the other workflows are working.
Anyway... I'm happy to say I managed to solve the issue and here's how I did it. If anyone has a better solution, please share it.
While I was going through the standard code of method "SendTaskDescription" BOR "SELFITEM", I noticed this SAP comment:
*- There problems with the implementation of persistence service
*- of objects. The symptom of this problems is that sendorders
*- (SCOT) are not saved if an object pool exists. Therefore we
*- create a new session in this environments.
The "new session in this environments" made me think in "STARTING NEW TASK", so this the final calling sequence:
PA30/PA40:
--> Trigger Z Function configured in Tx. SWEHR03.
> Call Z RFC Function STARTING NEW TASK.
> Do lots of stuff and triggers Workflow.
And everything works like a charm!
Thanks for your suggestions!

Similar Messages

  • Dynamic Configuration of Mail-Sender does not work

    Hi,
    we use XI 3.0 SPS 19.
    In my szenario I have a mail sender and I have receiver determination with conditions depending on the mail subject.
    In the condition editor, I selected the context object "SHeaderSUBJECT" to build my condition.
    In the mail communication channel I turned on the Checkbox "adapter specific message attributes".
    But the condition doesn't work!!!
    I wrote a small UDF to get the dynamic configuration of my mail sender-message - but it's NULL.
    If I change my scenario from Mail-Sender to a file-sender, everything works fine (I can select the filename, etc.).
    Is there a problem with dynamic configuration of a mail sender?
    Thx all for your help!
    Regards
    Wolfgang Hummel

    Check also "Variable Transport Binding".
    You see in the SXMB_MONI whether the ASMA is available or not.
    Regards
    Stefan

  • Services/Mail/Send file not working

    I used to email audio files from iTunes using the "Services/Mail/Send file" menu item. It created a new mail in Mail.app with the file attached. Doesn't work any more - ideas?

    Hi =)
    Pat,
    I've tried also to send the file while logged in my gmail account.
    It still doesn't work and I got the same error message.
    Why do you think this happens?
    Thank you for replying =)

  • Custom e-mail send method (workflow) not working

    Hi all,
    I have a custom workflow (my first one, so bear with me), and implemented in the BOR a method that calls a FM which implements CL_BCS class to send an e-mail.
    BOR is a Z copy of BUS1065.
    The workflow is triggered from a FM called using SWEHR3 transaction every time a particular infotype is created/updated from either PA30 or PA40.
    The strange thing is the email is not appearing in SOST transaction and of course, not being sent. (Commit Work is in place).
    And what is more... if I execute the FM outside the PA30/40-SWEHR3 scenario, the e-mail sent is working perfectly.
    So... anyone can point me in the right direction to solve this?
    Thanks in advance for your valuable time.
    Regards,
    Andres.

    Hi Klaus,
    As I said, all the Commits are in place. In fact, I added extra ones just in case.
    Anyway... I'm happy to say I managed to solve the issue and here's how I did it. If anyone has a better solution, please fell free to share it.
    While I was going through the standard code of method "SendTaskDescription" BOR "SELFITEM", I noticed this SAP comment:
    *- There problems with the implementation of persistence service
    *- of objects. The symptom of this problems is that sendorders
    *- (SCOT) are not saved if an object pool exists. Therefore we
    *- create a new session in this environments.
    The "new session in this environment" made me think in "STARTING NEW TASK", so this the final calling sequence:
    PA30/PA40
    --> Trigger Z Function configured in Tx. SWEHR03.
    > Call Z RFC Function STARTING NEW TASK.
    > Do lots of stuff and triggers Workflow.
    And everything works like a charm!
    Thanks for your suggestions!

  • Mail Send Icon Not Working

    When i try to send a new message with adress correctly filled in the send icon doesn't do anything when i click on it. The iMac is online and server settings have all been checked but I don't think its that problem; more as if something has been disabled but can't find what that might be. Any help or suggestions please ?

    Hello,
    Who is your eMail provider, the part after the @ sign?
    In Mail's Window Menu, choose Connection Doctor, any red dots for status, if so what is the message?
    Then click the Show Details button & Check again.

  • Mail Sending Script not working

    Hi,
    When I run the following script - it gives no error and runs fine. However I do not receive any emails. Any reason why?
    SET serveroutput ON
    prompt Email Testing.'
    DECLARE
    v_connection UTL_SMTP.CONNECTION;
    BEGIN
    v_connection := UTL_SMTP.OPEN_CONNECTION('IP',25);
    UTL_SMTP.HELO(v_connection,'IP');
    UTL_SMTP.MAIL(v_connection,'[email protected]);
    UTL_SMTP.RCPT(v_connection,'[email protected]');
    UTL_SMTP.DATA(v_connection,'Sent From PL/SQL Chinmay');
    UTL_SMTP.QUIT(v_connection);
    END;
    IP stands for ip of my database server.
    ~Chinmay

    IP doesn't stand for ip of your oracle server, but for the ip of an smtp server,
    that's is the reason the script success but you don't receive anything

  • Why does Adobe sendnow work and the newest and greatest Adobe Send does not work?

    Why does Adobe sendnow work and the newest and greatest Adobe Send does not work? I wasted about 8 hours on trying to get Adobe Send to upload 269 files that amounted to 469MB. When it did not work I made a zip file and after a lot of wasted run time that did not work. The first situation gives little indication of when a file is loaded compared to Adobe SendNow. In both cases with Send it failed with a message like only the first 50 can be loaded. When I went and looked none of them had been loaded. With the zip file (I wanted to hide the individual files so they would not be counted) it appeared to work but very slowly and finally said it was done and I went and looked and it had done anything for oever 2 hours except a false "I'm runninng" indication.
    Thus, I took a chance with Adobe SendNow and it works great. It never gave me a limit on the amount of files nor on the size of the complete job. It shows me one file at a time when it has finished with the file uploading it. SendNow has never given me any problems.
    Why woiuld you want to change the program from SendNow to Send without the newest program being the best, fastest, user friendly program of the two? It just doesn't make sense to me. I suggest that Adobe keep SendNow working until Send is fixed. I would also suggest that SendNow and how it looks be kept, called Send, then modify Send one thing at a time until you get it to the point you need it to be for Acrobat. I have heard nothing good and now I have experienced it that Send is a piece of junk. I wasted most of my work day on giving Adobe the benefit of the doubt to find out I made a very bad decision to trust Adobe to make good decisions on the transfer of a function to another place .... both Adobe's responsibility.without making it painless for your customers that totally rely on you. Don't throw away customer confidence as it is very hard to get it back.

    Funny how you answer to "troll". (What's your handle on AT&T forums?)
    Yep! Verizon living up to it's contractual obligations by not releasing updates. Caveat emptor!
    I think there are some reasonable expectations here to keep customer's happy. When one carrier offers upgrades there is an expectation the same will happen across all the carriers. We have seen that except Big Red.
    Verizon could have said the update is in MS court months ago and stilled the voice of the disgruntled, or at least redirected it, but instead chose to be silent. Not for market share but for partial blame I think.
    We will have to agree to disagree since you only see Terms & Conditions and I, see customer satisfaction.

  • Icloud mail sending doesn't work for outlook2010

    I am trying to setup icloud on my PC, but smtp send is not working. I used icloud control panel as well to get the settings. Does anyone know how to fix it? I am using IMAP and receiving works, but sending doesn't work. I tried these settings also: https://discussions.apple.com/thread/3109623?start=0&tstart=0

    Add me to the list.  I can receive fine via IMAP settings but cannot send.  I also set my client up with the same IMAP settings you referenced.
    It had been working for the last week or so fine.
    I'm using Windows Live Mail.

  • My mail icon is not working after update ios 6.1.1 ????

    dear sir please give me soluction.
    my mail icon is not working after update of ios 6.1.1

    You can only purchase apps and other media for the county's sore in which yu are located. You account, included payment method, also must be associated with that country.
    Sam applies for updating apps. Note that not all apps are available in all country so y will not be able to update an app if you are in another country and that app is not available in that country or your account is not associated with that country.
    You can change the country and other things by:
    iOS: Changing the signed-in iTunes Store Apple ID account

  • Mailto and Send Link not working on Mac 10.4.6

    Send Link and Mail To are not working Mac OS 10.6.4. I have been unsuccessful trying Mail, Gmail, and re-installing Firefox.
    I have been using Add This to send the links in an email, but would very much like to use Send LInk.
    I'd appreciate any suggestions.
    == This happened ==
    Every time Firefox opened
    == Several months ago

    Yes I did. First I used Mail, then changed it to Gmail. When neither worked, I re-installed Firefox and got rid of as many apps as I could. I tried both again - but no luck.
    I have copied and pasted links into either of these mail programs or used Add On,which requires opening a new tab, finding and entering the email address, closing or switching back to the original tab, etc.
    Thanks for your suggestion.

  • Why does send link not work in firefox 6?

    The ? is self explanatory. Send to, mail to, does not work in forefox 6.0.2...

    # Go to '''tools''' (if you have the orange firefox button enabled, you may have to press '''alt''' to temporarily show the menu bar) -> '''options'''
    # Click on the '''Applications''' tab
    # Find '''mailto''', and select the application you would like to use.
    See also: [[Changing the e-mail program used by Firefox|Changing the e-mail program used by Firefox]]

  • Fetch new mail messages does not work

    On my notebook the fetch new mail messages does not work
    Settings:
    - Fetch new messages:     every minute
    - Play sound Purr
    I need to us the manual button.
    On my imac it works fine with the same accounts

    My mail sounds are all screwed up. I hear the plane fly when I send an email but when I receive mail, no sound. I have rules set up which worked in Tiger. One rule is for mail to play a message "You have a message from "John Doe" when I receive an email from "John Doe" but it only plays when I send "John Doe" and email. Assbackwards.
    Sometimes when reading new mail, it just disappears. I have to click on it again. I find this version of email to be very flaky!
    Dave Brenneman

  • E-mail notification does not work. PX12-400r

    E-mail notification does not work. Test message fails, like everyone else. Is that possible? Someone else had this problem?

     Hello gusev67
    Have you tried with/without custom email notification (SMTP) settings?  
    Have you checked if the defaut or custom SMTP port has been forwarded to your px12?
    Have you checked if your ISP is blocking SMTP ports for your connection?
    LenovoEMC Contact Information is region specific. Please select the correct link then access the Contact Us at the top right:
    US and Canada: https://lenovo-na-en.custhelp.com/
    Latin America and Mexico: https://lenovo-la-es.custhelp.com/
    EU: https://lenovo-eu-en.custhelp.com/
    India/Asia Pacific: https://lenovo-ap-en.custhelp.com/
    http://support.lenovoemc.com/

  • Why will "mail" send but not receive?

    Hello, mail program sends mail, but won't receive. I've restarted twice, and restarted modem too, but mail continues to not work properly. Any suggestions?

    Try this maybe some help here.
    http://www.apple.com/support/macosx/mailassistant/

  • Mail flow is not working Exchange 2010 to 2013 in coexistence mode

    Hi ,
    We are migrating Exchange 2010 sp3 to Exchange 2013.
    mail flow is not working from 2010 to 2013, mails are qued up in smtp relay queueu.
    already added 2010 ip  address  to 2013 receive connector and give anonymous permission.
    but still mails are smtp relay queue.

    Hi Sujith,
    As requested by
    Nithyanandham please post the error from Queue Viewer.
    Few things to check. 
    Please remove IP address from "Default Receive connector" first.
    Ensure both servers can ping by FQDN and it returns correct IP.  i.e.  ping exch2013.contoso.com
    Make sure both exchange server can communicate each other. if possible try to telnet port 25 by FQDN of the Exchange2013 server and try to send an email from exchange2010 using the URL below. if there is any error please post error.
    http://exchange.mvps.org/smtp_frames.htm
    Make sure "Exchange server Authentication" is ticked in your default receive connector properties. If not ticked tick it and restart Transport service and check mail flow again.
    Thanks, MAS
    Please mark as helpful if you find my comment helpful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you.

Maybe you are looking for

  • Why does my ipod touch 4g do this when i plug my headphones in? (not your usual headphone question)

    Can anybody help me out? I bough my Ipod Touch on December 26th at about 11 am. I took it home registered it all all of that stuff, downloaded some apps and put music onto it. I then proceeded to use my headphones with my ipod and everything worked f

  • Backup incremental level 1 for recover of copy datafile (BLOCKING?)

    Hi, I recently added a datafile copy backup to the backup strategy. This is an extra backup to supplement compressed backupsets. The datafile copy incremental was set to run at 5 am. I noticed that a process that was set to run at the same time as th

  • How to setup and load hierarchies in BW?

    Dear BW gurus, We have vendor hierarchy in ECC table LFMH.In BW when i try to load this hierarchy for 0VENDOR using 0VENDOR_LKLS_HIER datasource, i do not see the hierarchy that i need from the ECC (in the "available hierarchies in OLTP" option in th

  • Recreate Recovery Partition

    Hi, I recently had a hard disk failure and recovered onto the new hard disk from a Time Machine Backup.  While the disk was failing I found the Recovery Partition valuable.  The recovered contents didn't include creating a new Recovery Partition. Any

  • Rollover Java Script Problem

    I just upgaded to a new Windows 8 system and also upgraded from old Macromedia Dreamweaver 8 to CS6. On my old system, when I inserted an image object / rollover image, the code that was written inserted BORDER="0". That made it so when viewed in a b