Workflow : Mail Step Problem

Hi,
I am getting a peculiar problem with Mail step. I am getting the following ERROR :
<i><b>Work Item XXX Object YYY method SWW_BI_EXECUTE_S cannot be executed</b></i>
What could be the problem?
All the containers are properly BINDED are getting passed to the Mail Step.
Regards,
Raja Sekhar

If you are using the standard Selfitem.SendTaskDescription method and are getting the error, one or more of the values being passed could be wrong. Check if Workflow technical log has more info on the error.
Cheers,
Ramki Maley.

Similar Messages

  • Mail step not working with expression

    Hi Experts,
    I am using the business object bus2080 for Tcode iw21, to trigger workflow on notification status change. I have mail step in my workflow,mail is being sent successfully when it has only text, but when i am using the expressions, say notification number in that mail, no mail is being send, getting error "Error handling for work item 000000660111".
    Please let me know your valuable comments on this issue.
    Thanks
    Ishtiyaq

    Hi Rob,
    The worflow container I am using is of the type BUS2080. Binding in the start event is as below
    Event -> Workflow
    &_EVT_OBJECT&     &ZBUS2080&
    and in the Mail Step
    Workflow-> Mail Step
    &ZBUS2080&     &ZBUS2080&
    Also in the mail subject and body  I am adding the expression using button 'Insert Expressions'.
    thanks,
    Ishtiyaq

  • Regarding runtime error ehile execution of Mail step in workflow

    Hi all when i execute mail step in workflow i am getting following error-
    SQL error in the database when accesing a table.
    How to correct the error
       Database error text........: "SQL system error. MSGID= Job=038082/DEV05/WP02"
       Internal call code.........: "[RSQL/INSR/ARFCSDATA ]"
       Please check the entries in the system log (Transaction SM21).
       If the error occures in a non-modified SAP program, you may be able to
       find an interim solution in an SAP Note.
       If you have access to SAP Notes, carry out a search with the following
       keywords:
       "DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"
       "SAPLARFC" or "LARFCU03"
       "END_TRANSACTION_NONE_LOCAL_UPD"
       If you cannot solve the problem yourself and want to send an error
       notification to SAP, include the following information:
       1. The description of the current problem (short dump)
          To save the description, choose "System->List->Save->Local File
       (Unconverted)".
       2. Corresponding system log
          Display the system log by calling transaction SM21.
          Restrict the time interval to 10 minutes before and five minutes
       after the short dump. Then choose "System->List->Save->Local File
       (Unconverted)".
       3. If the problem occurs in a problem of your own or a modified SAP
       program: The source code of the program
          In the editor, choose "Utilities->More
    Please guide.
    Thanks.

    Hi Sanjay,
    Firstly are you using Send mail Activity or are u calling Fm SO_DOCUMENT_SEND_API1.
    Well  I suppose u are calling the FM, in that case just check the data that you are fetching before calling this FM. This error is related to sql query so check your select statements used before sending mail.
    Hope this helps.

  • SEND MAIL STEP IN WORKFLOWS.

    hi gurus,
    The send mail step sends a notification to the sap inbox of the user. This step works fine in a client, whereas it fails in another......I am not aware of the reason.
    Regards,
    Sukumar.

    hi,
    please check the agent finding rule is failed in the log or the background job is scheduled properly inorder to schedule or delver the mails using the transaction : swnconfig if it EP 5.0 or above.
    if it is issue with the workflow like buffer problem, then try this technique
    You have changed your workflow template in client 000. If you look to the workflow definition in another client with SWDD, then you see the newest version as just maintained in client 000. But at runtime, the old (former) version of the workflow definition is used.
    Cause:
    When activating a workflow template, then also some client specific data is replicated from client 000 to the other clients. In this replication there is currently an error. I just talked to a workflow colleague. The problem we have observed seems to be just the tip of an iceberg ... . They are working on the issue(s) related to this.
    Workaround:
    Execute  function module SWD_WFD_REPLICATE_FROM_9999 in the client, you need to have the newest template definition. Enter your workflow template ID (with pattern "WSxxxxxxxx") in parameter IM_TASK and execute. Make sure that you do not lock the template in SWDD.
    Then you also (may) need to execute transaction SWU_OBUF to synchronize the buffer
    i hope this answers your query.
    Regards,
    Saujanya

  • Regarding Mail step in a workflow.

    Hi All,
    I have a Mail step in the work flow and the mail needs to be send to all people in a particular position. But the position number is not a static one it is determined dynamically in back ground step and is available in an element of the workflow container.
    The problem is when i choose position in the Agents i am not able to assign the workflow container element.
    The WF container element refers to: SWHACTOR-OBJID
    Could anyone please tell me the solution.
    Points are definite.
    Thanks & Regards,
    Goutham.

    Hi Umang,
    Thanks for your reply. I have 2 doubts about this.
    1.) Is it fine if I change the event of this standard workflow itself. i.e. from RELEASESTEPCREATED to RELEASED ?
    2.)If I create a customised workflow & if I change the event from  RELEASESTEPCREATED to RELEASED then will it send the mail to PO releaser for each release, because the current process to send mail to each releaser is a must, only the confirmation for each PO reelase should be stopped.
    Please suggest .

  • PROBLEM IN SENDING MAIL TO POSITIONS THROUGH SEND MAIL STEP

    Hi Experts,
    I am facing some problems in sending mail to positions from the organization structure from the send mail step.When I am using user as the recipient type it is working fine...but when i am choosing S position as the recipient type it is giving the error in the workflow log stating that method SENDTASKDESCRIPTION cannot be executed.
    I need to find a solution urgently...any suggestion would be sincerely appreciated.
    thanks.
    Narsingh

    Well you have probably tried this.. but just a recheck.
    1 . send email setep select Organizational Object
    2. Recipient Type Organizational Unit
    3. Here do an F4 and then select the Unit...
    Try this SAP behaves weirdly at times...
    after this do Refresh Buffers.. and Org Unit...
    Let us know if this works

  • Reg: WorkItem &  Mail Inbox Problem for Multiple users In workflow

    Hi,
    I have developed a wofkflow application to sent SAP mails and Workitems to multiple users. I Have a Container which has the property as multi line. and i mapped this container variable with expression of my mail step. This means i can send multiple mails at the sae time....Its working Fine. But the problem is,
    Suppose I am sending mails to User1 & User2. Both are receiving the mail, But if user1 read the mail user2 mail is set as read document instead of unread doucument.....
    How to Solve this? any solution ?

    Hi
    See if this document is of any help to you.
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c6456e89-0a01-0010-0189-a7961fe42034">An expert guide to new SAP workflow capabilities</a>
    Regards,
    Raj

  • Mail send problem in workflow

    Hello Experts,
       Recently I am facing a peculiar problem while working in a simple workflow.This workflow has nothing but a send mail step type.I have set the recipients as workflow initiator. Subject and Body contain only simple texts.Thats all.
    But while executing the workflow the it gives an error status.
    The error is: Unable to read RFC destination WORKFLOW_LOCAL_200.
    Can somebody help regarding the problem?
    Thanks & Regards,
    Manas

    I have checked SWU3 transaction. There I have checked
    Maintain Runtime Environment -> Configure RFC Destination.
    Both has prefix with red x symbol.I have also performed automatic customizing of Configure RFC Destination.
    It gives result as given below.
    Log Entry- RFC Destination does not exist.
    Please suggest what to do next to recover the problem.
    Thanks & Regards,
    Manas

  • Attachment to Mail step in workflow

    Hi All
         I have to create a attachment to the standard mail step , for that i have created a object of type SOFM and sent it back to the workflow conatiner ATTACHOBJECTS  and later this element is binded to ATTACHOBJECTS of the mail step conatiner element but it is not getting attached.
    after refferring some threads I have come to know that we need to pass it to the multiline element _ATTACHMENTS of the mail step.
    So i have done the binding between ATTACHOBJECTS ---> ATTACHMENTS of the mail step then it is going to error state
    and the error is "DOCUEMNT <FOL33XXXXXXXEXTXXXX73> COULD NOT BE SENT"
    Thanks & Regards
    Pavan

    Hi Rick,
    I've checked all the settings and everything is fine.
    The problem is with sending attachment.When we are sending mail without attachment, it is working fine.
    Also attachment is getting generated perfectly.I can see the attchment at work item of mail send through SWI1.
    One more point I want to add that attachment is in pdf format.
    Thanks & Regards,
    Anirban

  • How to send mails in HTML format from the send mail step of workflow?

    Hi,
    I have a requirement where I need to send mails in the html format from the send mail step of the workflows.
    But what I found out that the html tags are not renderd and as such the output is in plain text.
    I know that there is an alternative of using an activity step and use my own custom code from within there,But due to certain business constraints, I need to use the send mail step only.
    My SCOT settings are all right.
    Please let me know how it can be done.
    Thanks,
    Samrat.

    Samrat,
    It can't be done, you have to use your own activity step.
    What are these constraints that refrain you from doing that?
    Rgds,
    Patrick

  • Send mail step in local workflow

    Hi Experts,
    I have inserted a send mail step in my local workflow. But while executing the workflow rather than sending mail my workflow stops with status In process in send mail step. In graphical log its displaying as "No agent found" for send mail step. But i have assigned workflow initiator as agent. But other than send mail if i use other steps like user decision or activity in local workflow, wokflows proceeds with execution and sets to status completed. Should i not use send mail in local workflow step?
    Things i have done:
    1. I have mail workflow as general task from PFTC.
    2. Tried with SWU_OBUF
    3. Correctly assigned WF_INITIATOR as expression for send mail.
    Kindly help me in this regard.
    KR,
    S Bharath

    Dear Bakker,
    Sorry for the confusion. In send mail I tried with 2 options,
    1. I directly gave expression as WF_INITIATOR
    2. I created a workflow container element with type SWHACTOR and assigned a user id as initial value.
    In both cases I am not getting send mail icon and status mail sent (one that usually comes for a send mail step in log) but instead i am getting an activity icon displayed with status ready. But there is no agent icon displayed (usually we click this to find the assigned agent). So the status of the workflow remains as In process.
    KR,
    S Bharath

  • Mail step in workflow is in infinite loop.

    Dear All,
           I have created a workflow with deadline monitoring feature.In the workflow created,I have defined a mail step in a loop with loop condition priority = 8 and three minute for deadline.When the workflow gets triggered , the mail step is in infinite loop and as a result the recipient is receiving the mail every three minutes once.
          Now I want to stop the workflow from infinite loop.Please provide me the solution for which I will be grateful.
    Thanks and regards,
    Pari

    Maybe you should check the thread you created unde the user Vijay Kumar [here.|need to kill the dead line menotoring;
    Regards,
    Martin
    Edited by: Martin Nooteboom on Jul 7, 2008 3:43 PM
    I see Mike also noticed and locked the other thread. Thanks Mike.

  • Problem with mail step

    Hi,
    I am using a User decision step and if the user rejects, then a popup will come and the user will enter the rejection reason and it needs to go the manager.
    I am using a custom task and calling the FM TXW_TEXT_NOTE_EDIT and the values are passing from the step to workflow container (ZTEXT_NOTE) and when i use the container element (ZTEXT_NOTE) in a mail, I am not able to see the reason that entered by the user.
    P.S. In SWI1, it shows that Workflow container (ZTEXT_NOTE) contains the reason and when i pass to mail step (that has a mulitiline container), I am not able to see the reason. Bindings are correct between workflow to mail step.
    Please help in this regard.
    Regards,
    V Kumar

    HI V Kumar,
    As far as i think you can not send the Note directly via email step.
    Either you need to create seperate activity step in which call any function module that will send the Note as text to desired address. Or you can send it as attachment.

  • Problem in Workflow matching step

    Hi,
    I am facing a problem in Workflow matching step. I have user kaushikb assigned to it.
    Execution Type: Any Single, Assignee Type: User and Execution Type: Any Single.
    Match Record Scope: Records vs Records, Strategy: MDM_NAME.
    This Strategy: MDM_NAME is based on 3 rules: MDM_NAME1, MDM_NAME2 and MDM_NAME3.
    MDM_NAME1 is done based on transformations MDM_NAME1[XFM], MDM_NAME2[XFM] and MDM_NAME3[XFM].
    Now my problem is even after matching and merging a large number of records it is not going to
    the next step. Do I need to match and merge all duplicate records? If the Matching process is rerun
    the score becomes less as the same records are compared again. After this the link assume gets activated and then clicking it activates the next step.
    Regards
    Kaushik Banerjee

    Hi Kaushik,
    Match step is an Automated step in the MDM workflow.On selecting this step you need to mention the strategy that needs to run on the records to match them.When you reach the Match step you need to Perform the step to run the mentioned Strategy .
    When you Perform the Match step it will display the Matching result provided you select the Matching mode in MDM data manager.
    You can merge or not merge the matched records Once your Matching is performed by the system, You can move your Workflow to the Next step which is Process.
    When you are selecting Any single as your execution type it means you have more tahn one user for executing this task but you want any single one of them to perform it.
    So whenever you have selected Any single as the excution type for any process .The user accepting to perfrom the task needs to Accept the task .
    So when User1 wants to perform the task he will have to select Accept and then proceed with the task.
    When the owner of the workflow is testing the entire workflow he needs to Assume the task as he is not the Assigned user but the Assumed one.
    So if you have build your workflows correctly and moving in step as explained you should be able to select the next step
    You can follow the below link to understand the process better:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0be83e4-a1e6-2a10-c1be-8395ae948844
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • Experiencing problems with workflow- validate step

    I am experiencing problems with workflow->validate step in Hyperion FDM.
    I am not able to export unmapped dimension members to Excel.
    Earlier everything worked fine.
    But now all of a sudden it has become a serious problem.
    when I click Export to Excel,processing starts and it's never coming to an end.
    Every thing is getting stuck up.
    Could any one suggest solution to this as it is delaying my deliverable.

    Try opening excel first, then doing the export from FDM.

Maybe you are looking for

  • Upgrade to Iphone 4S (preorder) online using another upgrade

    Hello, I have read other peoples questions on upgrading to the 4S using someone else's plan, I just wanted to confirm that I understand it properly. I will be using my moms upgrade to get the 4S as I understand, when I preorder, I will use her line t

  • Best Template for Creating a Sales Log/Hotsheet?

    Any suggestions? Looking for the best Numbers template to serve as a log for all new business contacts, the communications made, etc. Maybe a simple checklist will do.

  • Any way to install EFI 1.7 ?

    Hello, Is there really any way to install the updated EFI 1.7 in a Macbookpro Early 2008 ? I'm sure that the controller is compatible with the SATA II and i really need an update of the EFI in my computer. On the apple updated EFI page there is even

  • Managing iTunes with external drive

    I just recently moved my iTunes music folder to an external drive. It's working beautifully. It's easy enough to make sure that I have the external drive attached when listening to or importing new music from CD's. However, if I have my iTunes consta

  • Exceptions swallowed in Phase Listeners

    To frame this question.. we have implemented phase listeners at our company to perform "framework-type" tasks within all of our applications. These phase listeners perform critical tasks. We just received a JSF fixpack from IBM and suddenly, all of t