How to start a workflow if a document status changes ?

Hello,
I want to start a wrokflow when the status of a document changes to completed. Can anyone point out the steps that i should follow ?
What customization steps are required for this issue.
For the record, i did the following:
- i created the notification for absence workflow described in the SAP help documentation
- Then i went to spro transaction code -> cross-application components-> doc. Mngt ->control data -> define document type. then i chose KPR type, when to its status "completed" modified it and added in the task the id of a workflow and i saved.
Now when i change the status of a document to complted nothing happens.
The workflow is not triggered.
Any ideas to why ?
Points are rewarded
Regards

Hi,
    Go to transaction " BSVW " and make an entry for your status object and business object type. You can maintain status restrictions for your object type too in this transaction.
    This will trigger the workflow.
Regards,
Manikandan R

Similar Messages

  • How to split the IDOCS based on document number change whit out BPM

    Hi all,
    Thanks,for giving the responce..
    Scenario:File to IDoc.
    Problum1 : How to Split the IDocs based on document number change in the source file with out BPM.My file contains document numbers like
    20000092
    20000092
    20000092
    50000050
    50000050
    50000065
    I want 3 IDocs in target system.i.e 1 for 20000092,20000092,20000092
                                                       2 for 50000050,50000050
                                                       3 for 5000006
    By using external definations i am getting 6 IDOCs insted of 3.
    Problum 2:Is there any chnges/modifications in Directory when we are using external definations.
    Could u plz provide me the step by step process(Repository/Directory) with using of external definations.
    Thanks in advance.
    Regards,
    KP

    HI,
    for this no need of BPM.
    You can think of Idoc bundling concept to acheive this-just you need to do the external definition to change the idoc occurence
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    to achieve for each document no, one idoc, you can write small user defined function in the mapping with context handling you an achieve this.
    For this e.g
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6bd6f69a-0701-0010-a88b-adbb6ee89b34
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/877c0d53-0801-0010-3bb0-e38d5ecd352c
    Regards,
    Moorthy

  • Email notification when Document status changes in Solution Manager

    Hi,
    Is there a way to send email notification to certain people if the document status changes in Solution Manager?
    For example: A notification email should be send to business user when development is complete.
    When development is complete, document is set with status 'Build complete'. As soon as this status is set, we want to notify business user to test the object. Similarly on other document statuses as well.
    Thanks in advance.

    Hi Vikky
    Check out doco 'How to: Automatic email notification' on service.sap.com.
    SAP Support Infrastructure > SAP Solution Manager > Information for VARs ASPs and AHPs > Setup Documents (SP15+)
    Thanks
    Daniel

  • How to start a Workflow with a Dynpro action button.

    Hi @ all,
    i have the problem, that i want to start a workflow with a self-made dynpro.
    The dynpro consist the following information who had to be transported in the workflow.
    Stacknr.
    User
    Date
    Time
    and a tif data file
    Somebody have an idea how it works?
    i am very new in workflow. So if you want to help me than please with a step by step guide.
    Thanks a lot.
    Regards Phil

    Hi,
    Please go through the wiki. There are plenty of instructions. Also, this is commonly discussed topic, so try to search first. The key for your problem is that there are function modules to tirgger workflows (either directly or with an event).
    Regards,
    Karri

  • How to start a workflow by an event

    Did somebody know how to start an OWB workflow after an event occur ?
    In my application, the OWB workflow must start (and import data) after a record is insert in one of my application database table. Actually, I schedule a job to look in that table every single minute. The problem is that every minute, a connection is open and close on the application database. Also, the user have to wait for one minute (at most) before is job begin to be process. Can someone have a way to start OWB on event by using trigger, queue or something else ?
    Thank you,
    MB

    owf(your_OWF).wf_engine.LaunchProcess(item_type, item_key, process_name);
    If your process is defined as:
    Module: PRC_MODULE
    Process_flow_package: PRC_PACK
    Process_name: PROCESS
    then ITEM_TYPE is PRC_PACK,
    ITEM_KEY can be anything, like p_process_name||'_'|| SYSDATE to make sure it does not get doubled,
    and process_name is PROCESS.
    So when you call this function it would look like this:
    owf(your_OWF).wf_engine.LaunchProcess('PRC_PACK', 'PROCESS_24072009120000', 'PROCESS');

  • How to start a workflow when a value in specific column is changed?

    HI !! 
    I would like that  my workflow will run only if a value on a specific colunm will change.
    is there a way to do it without using a third colunm ?
    thank you !
    nikita.

    Hi,
    According to your post, my understanding is that you wanted to start a workflow when a value in specific column is changed.
    When you create workflow, if you check the “start the workflow automatically when an item is changed”, the workflow will be started automatically once the item is edited.
    In the other word, no matter which column we changed, the the workflow will be started automatically.
    As a workaround, we can add condition or action to make the workflow excute the next step only if the value in specific column is changed.
    There are two options to achieve it.
    Use the “Wait for Field Change in Current Item" action”. If you add the action at the first,  the workflow will excute the next step until the column is chaned to the specific value.
       2. User the “If any value equals to value” condition. If you add the condition at the first, the workflow will excute the next step if the condition is satisfied.
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • CR correction document status changes back to created

    Hi Experts!
    Does anyone of you know why in ChaRM CR Correction document the status of the document (controlled with Actions) switches back to "created" from status "In development". This switch happened to me several times when handling a normal correction and I don't know why it does that.
    Usually I have done Action related task to the correction prior the status is swithced.
    I've tried to look for a solution in the forum and in help docs but I haven't come accross any. Please don't get me wrong, I do get the full maintenance cycle working for normal corrections. This status change is more of an annoyance than an error.
    We are using SolMan 4.0 SP09
    Thankful for all hints I can get!
    BR
    Auli

    I found a previous discussion from this forum with Avinash's advice to use note 919477. This is exactly what I was looking for.
    I'm recording it here just in case anyone ever needs to solve this in the future.
    BR
    Auli

  • How to start a Workflow automatically

    Hello Friends,
    I'm new to SharePoint Designer and facing some challenges to do it. Please help me on this.
    My requirement is to send an automated email notification to an user when a specific document is created/modified in a particular folder. The document will come to SharePoint through emails (NOT by manual upload).
    Remember: This workflow works fine when we upload the document manually to the folder. But If I send the document to the SharePoint through an email (I've enabled "incoming email" setting for the folder. So that people can sent
    the document to the SharePoint) the workflow is NOT triggering.
    Below are the steps I followed
    1. I've created a list workflow and selected the folder name where the document will be saved. Let's say "File Received" is the folder name in my SharePoint and "Test File.docx" is the file that will
    saved in this folder.
    2. In the condition I wrote if current item Name contains "Test File" and in action I've created an email task
    3. and finally in start option I've checked start workflow automatically when an item is created/modified.
    This workflow is working perfectly when someone upload the document (i.e. Test File.docx). But when someone sent the same document though an email to this SharePoint, the document is saved in SP but the workflow is not triggering. 
    Any suggestion/help is really appreciable.
    version: SPD 2010
    Thanks! -Sandip

    Hi Sandeep,
    Please check this article for step by step implementation
    http://social.technet.microsoft.com/wiki/contents/articles/4607.sharepoint-2010-workflows-on-incoming-emails-in-sharepoint-documents-library.aspx
    http://sharepoint.stackexchange.com/questions/6713/how-can-i-make-a-workflow-automatically-start-when-an-email-is-received
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • IDE: automatic start of workflow for switch document

    Hello guys,
    Please, can someone tell me how do you automatically start the distributor workflow (WS20500195) without using SWUD transaction?
    I created the switch document ( switch view: distributor, switch type: end of supply), but the workflow won't start automatically, although is activated in SWE2 transaction.
    Thanks,
    Regards,
    Eduard M.

    Hello Anand,
    The workflows (distributor, new supplier, former supplier) were activated in SWE2 transaction.
    I also activated the triggering events from SWDD transaction for each workflow.
    Object type: ISUSWITCHD
    Event of the object: CREATED
    The thing is that after creating the switch document, I thought the workflow will start automatically (i mean after having customized the workflows in SPRO + SWE2 + SWDD).
    Anyway, thanks for your help.
    Best regards,

  • How to start over while keeping all documents in tact..

    Hi everybody,
    I made a separate admin user account because everyone seems to say its good for security. Anyway, whenever I'm in it my computer runs a whole lot faster than on my main account. I assume this is because it's folders aren't filled with junk and probably a lot of other factors too. I was wondering if it was possible to easily start over again with a new account and keep all my documents in tact to speed things up. I use CleanMyMac often and that seems to speed it up but not as much as using the admin account. I have a Time Machine if that helps.
    Thanks. Happy new year!

    No, you don't want a new catalog each time you import.
    May I suggest:
    Lightroom 5 - Free Quick Start Guide PDF eBook | The Lightroom Queen 
    Adobe Lightroom 5 - The Missing FAQ | The Lightroom Queen
    How To Get Started With Lightroom 5 - 10 Things Beginners Want To Know How To Do | Adobe Creative Cloud TV: Photographer…
    Adobe TV--excellent video tutorials:
    http://tv.adobe.com/product/lightroom/
    Spend a little time viewing the tutorials and you will get the hang of how LR works.  It's worth the effort!
    Hope this helps.
    John

  • How to start approval procedure for a Document/Draft using DI API

    Hi!
    My code imports purchase orders from one non-B1 system to SAP B1 using DI API. The problem is that in B1 system there is an approval process configured and I need the newly created purchase order to enter this approval process.
    Currently this is not done because approval procedure isn't triggered when creating documents using DI API.
    I had an idea to create a draft of PO instead of the PO and then push this draft into approval process somehow. But I can't find a way how to tell DI API to start approval procedure for my draft/document.
    Thank you for your replies!
    Jan

    Unfortunately there is no way to trigger the approval process for any object added through the DI API.
    Your workaround of adding the documents as drafts is as close as you can really come but maybe you could extend it slightly - it will involve a UI API addon:
    Make the addon mandatory, and add a UDF to the user table, for example "U_Approver" and a UDF to PO document, like "U_Approval"
    - Set this U_Approval to yes when adding through DI and add as draft
    - When user opens draft document in the application, check are they an approver (U_Approver = "Y")
    - If they are not, and try to view/add a draft which is flagged as needing approval, block them from adding.
    You could further expand your DI project to send a mail to the approver whenever a draft PO is added.

  • Creating a script for Notification and Processing of document status change

    Hello,
    I work for a company that uses SAP.  I'm not sure how much of what goes on in our company is company-specific, and how much of it would be understandable by anyone who uses SAP as this is the first company I've worked with that uses SAP.
    I'll explain my issue.
    See this picture: http://imagesi.com/8e08d.png
    I would like to write a script, if it is possible, that will automatically notify me when the Document named "Credit memo Request" has changed to the status of "Completed."  I would like to set this up in a way to possibly scan all credit memo requests raised by my SAP username, and monitor this on an hourly basis.  I would also like SAP to then send me a copy of that Completed document.
    Is this possible?  I know a little bit about scripting, and I would be able, I think, to learn whatever language I had to to write this on my own, but first I wanted to ask if this was possible to do.
    Thanks very much,
    Brian
    Edited by: lordterrin on May 16, 2011 4:45 AM

    Hi,
    I think you didn't post your question to the right forum... you won't be able to solve your problem with any scripting language.
    To solve your problem you'll certaily have to use the SAP Business Workflow and/or write some ABAP program to implement some user-exit or badis.
    Regards

  • InfoPath 2013 start a workflow

    In a new InfoPath 2013 form that uses a custom list, I would like to add a custom button and/or something to click on for the user to eventually 'start a workflow when item changes'.
    Right now since I am in the early phase of the process, and it would be fine to 'start the process manually' also. Basically I would like directions on what a user can click to they could start the workflow.
    I found the following link and it shows how to start a workflow from the documents library:
    https://www.youtube.com/watch?v=afttEV61kQI
    I would like to know how to have this same process occur from an InfoPath 2013 form where the user clicks my 'button/item' and does not click on the 'auto generated' save button.

    assuming that the workflow should not necessarily start ANY time ANY file changes (which is a default option, and requires no custom dev effort)... what I've seen a few times, is for the form to include a checkbox ("start workflow")... the workflow
    starts, and checks for the condition... and stops if the checkbox is not checked.
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • How to start work flow agent listener and work flow background engines R12

    Hi,
    I need to start work flow agent listener and workflow background engine in R12.1.3. Could you please specify how to start a workflow agent listener and workflow agent background engine.
    Please send me link if any documents are there .
    Best Regards,
    Anil

    I need to start work flow agent listener and workflow background engine in R12.1.3. Could you please specify how to start a workflow agent listener and workflow agent background engine. How to start the Workflow Deferred Agent Listener andWorkflow Java Deferred Agent Listener? [ID 548918.1]
    Please send me link if any documents are there . Please search the forum before posting similar questions.
    http://forums.oracle.com/forums/search.jspa?threadID=&q=How+to+start+Workflow+Agent+Listener&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    http://forums.oracle.com/forums/search.jspa?threadID=&q=How+to+start+Workflow+Background+process&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Starting a workflow for a PCR form

    Hello,
    We installed the MSS business package. I would like to know how to start a workflow for a PCR form (example: Request for Promotion). The workflow just needs to be simple one step approval from manager.
    What configs are needed in SPRO or elsewhere?
    Thanks,
    Rob.

    HI,
    You can use transaction QISRSCENARIO for that and the IMG path is below -->
    Cross Application Components>Internet/Intranet Services>Internal serive request--> Define Scenarios.
    Now Select the scenario and then click the display button.If you are using JSP in frontend then click the additonal data for scenario. Here you will find the WF.
    Or you can call the WF in your custom program also.
    Thanks & Regards,
    Sandip Biswas

Maybe you are looking for

  • Problem in Smartform

    Hi, I have created a simple smart form. what it does is, it prints the material document number. when im trying to see the preview  of the smart form, it is showing &w_mkpf-mblnr& , but not the value of it. When i tried to debug it, i found out that

  • How to create dme file

    We are using RFFOUS_C program for payment method C .. I want to generate dme file by executing f110. but at present it is not possible. Can you please suggest me the points how to proceed or any documentation for it

  • IWeb Blog Help

    When you make a blog, the Inspector gives you the option to specify how many posts are shown on the "blog summary page". Older posts are then only viewable in the Archive page. Is there a way to have older posts pushed to a "Page 2" (and then Page 3,

  • How can I get iCloud on my iMac OS X version 10.6.8?

    Dear Community,           I just barely bought an iMac today which is the OS X 10.6.8 version. I'm excited about it but hen saddened when I found out that iCloud requires version 10.7 and up! Is there any way that I can get iCloud to work on my iMac?

  • Plugin classes?

    I am working on a project that has a wide variety of specialized classes that I want to add and instantiate in a sort of plug in fashion. My planned class hierarchy for these consists of a single parent class called Actor, and many subclasses such as