Attachments in Send Mail step.

Hi all,
My WF has 2 User Decisions as its first 2 starting steps where the user attaches word docs.
Problem: Now dont know how to arry forward these attachments to the SEND Mail task. Unable to locate any User Dcsn. step container element to be bound to WF.
Kindly help...
Thanks and Regards,
Sudipto.

Hi Amardeep,
Thanks.
But cud u plz. be more specific.
Where do I actually get the attachment to bind with the &attach_object. Actually the user attaches the attachment in the User Decision step. Now how to attach this attachment to my next step of SEND MAIL.
Regards,
Sudipto.

Similar Messages

  • SEND Mail Step Mail body is not getting displayed in SOST Transaction

    Hi Gurus,
        I have a very strange problem. I have developed a workflow to send notifications.  My client wants to send notifications in different languages based on the user. If the users language is english, the notification mail should trigger in english. If the user's language is French, then the notification mail should trigger in French. like if the user's language is chinese, the notification should be in chinese.
         I have used the Standard text objects (SO10) and read the text based on language of the user into the workflow container element. We have passed that container element (which has the required text in users language) to text_lines in SEND MAIL step of the workflow.  I am getting the text in the correct language based on the user.
        When the mail triggers to user, the user is getting a blank email. There is no body/text in that email.  We have checked the SOST transaction and observed that the notification email doesnt have any body, even though we have the text in workflow log.   For the users who have the English language, they are getting the text in their mail, SOST and workflow log. Where as for the other languages (French, Chinese, Spanish etc...), they are getting the blank mail, (SOST doesnu2019t have body text) but in workflow log the correct text(based on user language) is getting displayed.
        I tested the same workflow in devlopment & quality, everything is working fine. All users (English & Non-English) getting mails in their respective languages. Where as in production, only for English users it is working, but for Non-English users it is not working.   I have compared all three environments workflow definitions and they are same. I do not understand why this is behaving differently in production. Could you please help me how do I resolve this issue. 
        May I know, does any one has faced similar issue. I request you to throw some light in this area.
       Thanks in advance.
    Regards,
    V.Nagaraju

    Hello,
    Interesting! That seems like a foolproof way to handle the language problem
    which can be a challenge in multi-language workflows. Please be sure to tell us
    how you solve this and what the cause was.
    You keep referring to the language of the "user". I assume you mean the
    mail recipient?
    You have to watch out with the workflow logs, they take the language settings
    of the person viewing it into account when displaying texts, unlike SOST.
    "I have used the Standard text objects (SO10) and read the text based on language of the user into the workflow container element"
    Which user actually executes the method to do this? Is it WF-BATCH?
    Are you using an actual SendMail step? And you reference the variable text_lines##
    in the task description?
    regards
    Rick Bakker
    hanabi technology

  • 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

  • How to send Formatted text in send mail step

    Greetings
    I need to send a formatted email in the send mail step of WF, however I don't se any option to change the font/size/color etc. Currently the email body contains only simple text.
    Appreciate your quick response.
    Thanks

    >
    Weise, Roman wrote:
    > Hello Manas,
    >
    > sending a formated email with a standard mail step will not be posible as far as i know. in general sending formated emails only makes sense if you can be sure that you are in a completely consolidated environment, e.g. a company where everyone uses the same mail client with a configuration ensure through a company pc template. if you try to send formated mails to heterogeneous environment you won't be happy as email clients / web mail providers are so different that you will be busy triying to get an acceptable layout for eternity (i deal a lot with mail sending to externals and always have these discusions with my customers).
    >
    > If you are sure you have a consolidated environment you could try to send a smartform through a functional method in a workflow. smartforms allow a high flexibility in layout. If you want to try this option i can give you additional help on the implementation.
    >
    > Best Regards
    >
    > Roman Weise
    Hi Roman,
      I have the same issue and I'm in a consolidated environment. I'd like to know if sending through a smartform will produce an e-mail message with attachment or just a text mail and the steps required to do so.
    thanks in advance
    Stefano

  • Variable char 255 in the body of a Send Mail step

    When I include a variable (char 255) of the workflow container  in a "Send Mail" step body, in the sent mail I can't see all the characters. It seems to cut about 80 characters.
    Can anybody help me.
    Thanks in advance.
    Sonia

    Yes ..There  is a limitation on length, It can be extended upto 130 character, there is some note avaliable for that (please check) , but for more than 130 character i am not sure it is possible ..i solved it by splitting

  • Error in SEND MAIL step with exception 1001

    Hi Experts,
    I am getting exception 1001, error message Document <&> could not be sent
    when I put my user id in SEND MAIL step. In the same workflow,I put my user id at an activity step,and I am sucessfully receiving work item generated at that activity step in SAP Business workplace inbox.
    Can anyone please tell me why exception is happening in SEND MAIL step.
    Thanks,
    Sonali.

    Hi Surjith,
    Firstly Workflow was running fine till yesterday.
    Secondly, I put expression &_WF_INITIATOR& in the Send Mail step. Notification should go to my SAP business workplace->inbox->Document. But it is not going. Exception 1001 is happening.
    But in the same workflow, just at the immediate next activity step I put &_WF_INITIATOR& again as agent. And I am successfully receiving workitem in SAP business workplace->inbox->workflow for this activity step.
    Please guide me how to resolve the issue and why suddenly it is happening so.
    Thanks,
    Sonali.

  • ERROR  in send mail step

    In workflow  i have  user decision step with attachment as PDF, after he rejects i should send a notification to the initiater about rejection, I used send mail step after the user decision step of rejection branch,,  the send mail step is giving following error..occurs
    Executing batch work item ;Work item 000000653444: Object SELFITEM method SENDTASKDESCRIPTION cannot be executed.
    EXECUTE_METHOD_OBJECT_SYNC ; Method container for work item cannot be created
    EXECUTE_METHOD_BOR ; method container for work item cannot be created
    Executing batch work item Unable to instantiate object '_ATTACH_OBJECTS'
    is this attachment is creating any problem..

    Hi Sunil,
    In the user decision step check the binding. The attachment should be binded from workflow container to the task container and from the task container to the workflow container.
    The description given by you indicates that the binding has been done one way only i.e. from workflow container to the task container. It should also be from the task container to the workflow container.
    Since it is not able to get an instance of the '_ATTACH_OBJECTS' it is giving an error.
    Regards,
    Sameena

  • Send Mail step in ready state

    Hello Experts,
    I am a workflow novice, just starting out.
    I have copied the standard PO release workflow - WS20000075 and inserted a send mail step before activity "Release of purchase order". This was because I would like to send the PO as a PDF attachment to the approver.
    The send mail step works fine (i have custom object and method to attach and send mail), it sends out the mail with the attachment correctly, but the work item is in "ready state" and needs to be manually "completed" for the workflow to proceed. After this, the workflow proceeds perfectly.
    The send mail is marked as a background task and synchronous object method.
    What do i need to do for the "Release of purchase order" to happen as soon as the email has been sent out?
    Thanks a lot for the help.
    Regards,
    Parag.

    Hello Ravi,
    Thanks for the prompt reply, there are no erros in the workflow log.
    SWU3 was definitely done, standard PO Release workflow works fine and so do other ones. Its just that I copied the standard and inserted a new step.
    Do I somehow need to "terminate" the send mail step for the workflow to move over to the next activity ?
    Regards,
    Parag.

  • 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

  • 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

  • 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

  • Send mail to external address using send mail step.

    Hi all,
    I have one question.
    In a send mail step of workflow, when the recipient type is a Organizational Object and Org Unit, the mail is only sent to workplace? I would need to send the mail to external address from all users of Org Unit. Is possible it?
    Thanks
    Regards,
    David.

    Hi,
    1) In the Recipient type select the E-Mail address from the drop down
    2) And give the email id (in the text box)
    3) Then save & test it.
    4) Once it execute goto t.code SOST and see the email entry.
    5) If entry not found, the SCOT settings is not done then check with Basis Team
    6) If found, select it and execute.
    7) And check you email
    Regards,
    Surjith

  • Passing value of multi line container element to send mail step?

    Hi ,
    I am using send mail step type to send mail . in this mail i want to send data of multi line container element but it is writing only one line item even though my container element is holding tow line items. so how to process all line items of multi container  element in a mail. please suggest me......
    do i need to use loop until step ?
    Thanks,
    Rahul

    Hi Chindanand ,
    i tried with the same now but in the mail it is not showing me any value instead it si giving me <po_items > not found.
    po_items is the name of my multiline container element and i am simply using these po_item in mail.
    please tell me what to do......as its urgent.....
    Thanks,
    Rahul

  • Send Mail Step forced to error status

    Hi,
    In my send mail step, i'm using Expression and passing 'UserComplete' field which is the person who has completed the document in FV60 tcode. But, it ends in error status.
    The error message is,
    Work item 000000399146: Object 000000399146 method SENDTASKDESCRIPTION cannot be executed
    Message no. WL821
    Diagnosis
    The calling of the object method for the work item ended with a return value for which no handling is modeled in the workflow.
    System Response
    The work item was forced into the error status.
    Procedure
    Refer to your workflow system administrator.
    Procedure for System Administration
    Also check the binding between the task container and the method container.
    I want to know wat binding should i give for task and method ?
    Regards,
    JMB

    Hi,
    Just check what your passing in the field "UserComplete".
    You need to pass user id as USXXXXXXXX.
    US refers to USER and XXXXXXX is the user name.
    Reply back if the problem still exist.
    Regards,
    Gautham P

  • Multiple Send Mail Steps

    Hi All,
    I want to have multiple send mail steps (around 100) in my Workflow. But whenever create a step it creates a new Standard task. I do not want to create so many of them.
    Is there any way I can minimise that ? Consider that each send mail steps will have different Subject and body.
    Thanks & Regards,
    Debabrata Mohanty

    Hi Sanju,
    Thanks for the reply. I have to send miltiple mails to multiple people at multiple stages (Not at the same time).
    The subject and body are different for different mail. I could have used dynmic variables from worklfow container.
    But the subject and body are descriptive texts more than even 1000 characters.
    I thought of creating multiline string variables. But again we can not format the paragraph, punctuating and all in the
    body part if I only bind dynamic variables from workflow container.
    Hope you got the problem.
    Thanks & Regards,
    Deb

Maybe you are looking for