Attaching workitem to mail step

Dear all,
I am working on a scenario in which when ever Notification of Type 'N' is created , a workflow get triggered and the workitem goes for approval to a authorized person, now that person can  attach a note to that workitem and make rejection or approval at his wich.
Now i want to send a mial to the user in SAP inbox only which should have the attachment that the approver has ,made..
Is it possible if yes then please guide me.
Thanks and Regards,
Rachit khanna

Hi Rachit,
There are 2 options.
One is adding the container element to the body of email sent to workflow.
That is the reject reason entered by the manager is stored in a varaible and you can import that data into a container element and that container element can be added at task level to the body of mail, which will appear in the body of mail.
Second option is using a SELFITEM-NOTE_CREATE instead of giving the manager an option to enter the reason.
Allowing him to Enter the subject and body of the mail, which will be mandatory. You need to import attachment from the approval task to workflow and then that attachment to be exported to the mail task, which will have the attachment to the mail sent.
Let, me know if you need more description or any other clarifications.
bye,
Sudhir.

Similar Messages

  • Attachment Content When sending PDF attachment in Send Mail Step

    Hi all ,
    I am sending a PDF document which is on the file system using "send_mil" step . It is not executing the send_mil  step with out entering anything in the Attachment Content. If i enter some thing , the Send_mil step is executed but the PDF is not opening in the received mil as it is not Properly decoded.
    Regards,
    Deepthi lakshmi.A

    Hi,
    Attachment Content is not Mandatory to enter unless you wish to override the Attachment Property.
    Basically we use this content along with Encoded Image Property like chart, spc and image loader action block.
    If you are loading file from system using Proper path in Attachment Section then no need to use Attachment Content section.
    Ensure that you have set the Attachment Content Type to "application/pdf" to send pdf files and a valid File path in Attachment section.
    Hope this helps!!
    Regards,
    Adarsh

  • Maint. Order as Attachment in workflow decision step!!!!

    Hi All,
    I am making a workflow in which i want to attach the Maintenance Order in the Decision Step , is it possible or not.
    How can i do attachment in Send Mail Step is there any provision.
    Basically my requirement is like:-
    When the User create the Maintenance Order a workflow should trigger which will go the SAP Inbox of the recipient now he has to see the maint. Order created and should approve if it can be Released or not .
    When he does the approval the application should go for the another approval and when he approves the application is sent back to the workflow initiator.
    Please suggest me what is the best way to do this scenerio. As i m very new to workflow so have only basic knowledge
    Please help me out!!!!!
    Thanks

    Hi Rachit,
    Have a look at std WF like WS20000014, WS20000021 etc..
    It will give idea about maintenace order processing
    Regarding your question about attaching objet to User decision, yes, its possible. Just Bind the Maintenance Order Object related container element to AdhocObjects elemnet of user decision.
    Your overall process can be there will be 2 user decision steps.
    Once these two steps approve, then you can use a third step with background task which will actually release the maintenace order. e.g. For this step you can use BAPI.
    Hope this helps.
    Regds,
    Akshay

  • Workitem in attachment of outlook mail sending from mail step in workflow

    Hi  Expert,
    Presently  i am sending  a mail to approver of PO to external ID to inform that he has received a workitem in SAP in Box please login into SAP system and Approve the PO....
    But now requirment has changed .
    They need  this workitem in attachment of the mail i am sending to approver. approver click on that attachment it automaticly direct to sap system to the transaction ME21N to approve PO.
    Please guide to achive the new requirment..
    Deepanker Dwivedi

    There are two ways of doing this stuff...if you are running on WAS 6.4 or above then use second one.
    First method:-
    Schedule the program RSWUWFML2 as per your requirement. This will route the workitem links to the external mail id like outlook from user can log into sap and approve or reject the workitem.The SCOT should be configured to send and recieve external mails.
    Second Method:-
    U can use extended notifications for approving the workiten from the outlook or any other extrenal mail id.
    The basic configuration required is expalined in these two links
    [http://help.sap.com/saphelp_erp2005vp/helpdata/en/d5/581ee8d56f1247bf34cfcd66d16d81/frameset.htm|
    [/people/saujanya.gn/blog/2006/12/19/how-to-get-work-items-your-outlook-inbox ]
    Please revert back if you require further inputs.

  • 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

  • Sending Attached workitem to others ????

    Hi,
    My actual requirement is when Milestone is created in tcode CJ20N, it should send a mail that Send concorrence note. The guy will attach the note and it should come back to first person who created milestone.
    I've used the Task TS11200125 for creating the attachment and add to workitem.
    Now, how can i send this attached workitem to the first person ??

    Hi,
    To achive your requirement following needs to be done
    1. Develop a custom workflow with following steps
          a. Send Mail to the person responsible to add attachment
          b. Send Workitem to person responsible to add attachment, this will have 2 options  1. Send it to Mile Stone Creator 2.Cancel and Keep in Inbox ( this will come by default, as we are aware)
          c. Send next workitem to Milestone Creator
    In b, when workitem comes to user, when he executes the workitem, on the top right you will see an option button 'Create' with attachment symbol. By clicking this user can create any note/attachment. This will get add to workitem automatically and it will carried forward to all subsequent workitems also. After adding attachment he/she should click on 'Send it to Milestone Creator'.
    Step c, will send another workitem to Milestone Cretor. He will able to see the attachment which was added by earlier User.
    2. Associating the newly developed workflow with Milestone Creation's action
       a. you should have the milestone Usage Type as 'Milestone Functions'.
       b. In Functions Tab of milestone, you have an option called 'Start Workflow Task'
       c. Select this option and click on 'Parameter'. In Paramter you can define when to start workflow based on status ( say CRTD) and which workflow to start , you have mention your custom workflow number developed as above.
    No need to use TS11200125, infact its better to use standard workitem functionality to accept attachments.
    Hope this helps you !!
    Regards
    Krishna Mohan

  • How to download / read  text attachment  in Sender Mail Adapter  IN XI

    Hi
    I would like to know how to download / read text attachment in sender mail Adapter & sent same attachment to target system using file adapter.
    Please help how to design / resolve this concept.
    Regards
    DSR

    I would like to know how to download / read text attachment in sender mail Adapter & sent same
    attachment to target system using file adapter.
    Take help from this blog:
    /people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
    From the blog:
    However in most cases
    our message will not be a part of the e-mail's payload but will be sent as a file attachment.
    Can XI's mail adapter handle such scenarios? Sure it can but with a little help
    from the PayloadSwapBean adapter module
    Once your message (attachment) is read by the sender CC, you can perform the basic mapping requirement (if any) to convert the mail message fromat to the file format.....configure a receiver FILE CC and send the message...this should be the design...
    Regards,
    Abhishek.

  • How to send ALV list report as html attachment in a mail??

    Hi all,
    I have an ALV report which I want to send as an HTML attachment in a mail to an external id. I know that spool can be converted to HTML attachment in a mail. But I don't want to have 2 programs - one for generating ALV and the other to send mail with the spool-converted of the first report as attachment. I want to send the mail in the same program itself. Is it possible? Helpful answers will be suitably rewarded.

    Hi Sandip,
    In your ALV program after the alv output is build in the program do the following steps.
    1). Export the list to memory
    2). Import the list from mempry
    3). Do a COmpress of the data
    4). Send an email as an attachment using the normal FM.
    Take a look at the following links which will explain how to do the above steps.
    http://www.geocities.com/mpioud/Z_EMAIL_ABAP_REPORT.html
    http://www.thespot4sap.com/Articles/SAP_Mail_SO_Object_Send.asp
    http://www.sapdevelopment.co.uk/reporting/email/attach_xls.htm
    remember to change the doc type as 'HTM' in the FM to send email.
    Cheers
    VJ

  • Install 3rd party PDF iFilter for index PDF file as attachment in e-mail (msg)

    I have called Microsoft Permium Support, base on the reply, SharePoint 2013 does not support to index a PDF file attachment in E-mail (msg) except 3rd party iFilter installed. And they finally told me how to edit Windows Registry for install the Adobe iFilter.
    But, the Adobe iFilter is too weak to call large PDF files. So, I would like to install and try the Foxit PDF iFilter, but I cannot find an installation guide for this 3rd party ifilter with SharePoint 2013. 
    Does anyone here have the experience for Foxit PDF iFilter with SharePoint 2013 can help me?
    I am not sure it is bug or feature in SharePoint 2013, but in case I still have to install 3rd party iFilter for index PDF file. I have no idea what is the out of box pdf file indexing support for.

    You ca plan to use Foxit. 
    steps are nearly the same which we use in sharepoint 2013
    1. We need to update registry for pdf . Registry value is {987f8d1a-26e6-4554-b007-6b20e2680632}
    2. we need to install the foxit ifilter
    Here are steps for same
    http://support.microsoft.com/kb/2293357
    3. run below command:
    net stop spsearch4
    net start spsearch4
    net stop osearch14
    net start osearch14
    Check below:
    http://bjarnegram.wordpress.com/2011/07/13/installing-foxit-pdf-ifilter-on-sharepoint-server-2010/

  • 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

  • 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.

  • 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.

  • Adobe form as attachment to user decision step

    Hi,
    i need to add adobe form as attachement to user decision step in workflow.
    1. i created activity step which call business object method with parameters workitem id
         i am using FM  SAP_WAPI_ATTACHMENT_ADD’  which will return attribute id
         i am passing that attribute with document id to 'ZSOFM'
            ZSOFM <-----------------------------------ZSOFM (Method to task)
          Bindings 'Attach_objects'  <------------- ZSOFM(Task to Workflow).
    2. i created user decision step
        Bindings  'Attach_objects' --------------------> 'Attach_Objects'( Workflow to user decision task).
    but when we execute first activity step in background i am not getting any PDF output .but when we  execute same method from class i can see pdf data is coming is it due to user name WF-Batch.
    when i execute activity step in back ground which will have sy-uname as WF-Batch i am not getting any PDF output data.
    please help how to solve .
    Thanks,
    Phani

    In transaction SWO1 create a z-object lets say zmyobjpdf (you might want to use it as a sub object of your standard object without delegation since they will probably have the same key).
    create a method in that object calling the adobe form.
    set it as the default method in the object header.
    now create an instance of the zmyobjpdf in the workflow for example as an attribute of the original object) and transfer it to the decision task.
    It will be displayed as an attached object pressing it will call the default method - your adobe form.
    If your question was about how to create a function module to display the form see SAP Library - PDF-Based Forms

Maybe you are looking for

  • Animated GIF size

    I need to create an animated gif banner that can be no more than 50kb in size. I've created about the simplest one that I can, which consists of 8 frames and is made up from some really shrunk down image files (filesize-wise) - and it's coming in at

  • I bought ipad 2. how do i transfer my data from ipad 1 to new ipad

    I bought a ipad 2. How do I transfer all my data from my "old" ipad to my new one before I sell it?

  • PrintToPrinter doesn't flush print buffer to printer

    Post Author: jtkaylor CA Forum: .NET I'm having a problem with PrintToPrinter. I have a VB.NET app  that sends a Crystal Report to the printer after it has displayed it in the viewer. The program runs fine aside from the fact that the first print job

  • Dropping Temp Tables

    We are currently converting our student information system from Sybase to Oracle. My task is to convert our existing sql scripts. A number of them use temp tables and I have successfully got them to run except that I cannot drop the tables at the end

  • I Have a SOUND Problem after installing 10.4.6, anyone else?

    I updated to Tiger 10.4.6 and Now I have a problem with the output sound. It is less than 2/3's of what it was in Panther, and it is raspy. As I have been looking for an answer to the problem, I discovered that this update also updates the firmware.