FM workflow is restarting

Hi.
I have implemented a workflow for funds reservartion approval (it's a copy of standard workflow WS50000016) with triggering events FMRE-CREATED and FMRE-CHANGED.  Approval procedure is working fine when document is created (transaction FMX1) or changed (transaction FMX2).
A funds reservation document has a Purchase Requisition as subsequent document.  Problem is: when PR is modified (transaction ME52N) system triggers again the event FMRE-CHANGED and funds reservartion document goes to approval procedure again.  This is in production system; QAS works fine.
Any idea in how to evoid this behavior?  Thanks for any help.
Kind regards.
Juan

Hi Rick, thanks for your answer.
As I mentioned in last answer, current problem is after an upgrade from 4.7c to ECC 6.0.
There's not any start condition for workflow.
In both systems (QA and Production) there are activated links in SWE2 between FMRE-CHANGED and FMRE-CREATED and the workflow.
MM consultant ensures me that there's no change in ME52N in QA.
Any other idea?
Kind regards.
Juan

Similar Messages

  • Workflow for restart from a step

    Hi,
    I have created workflow. I have decision step and after decision step one more method calling BDC .if error occurs in BDC
    i want to restart from decision step .
    How to achieve this .
    Can any one help
    Regards,
    Madhavi.

    Hi Madhavi,
    You can try the transaction code SWPR - it doesn't restart the workflow, it resumes from where it stopped.
    Else, you can also start new workflow through SWUS with the same object key and change wf_initiator accordingly.
    Thanks,
    Anusha

  • Workflow didnot restart after DR

    Hi All,
    We have a workflow in our system that sends email reminders every hour of a workflow user decision for 24 hours. We had a situation where the system went down and it had to be restored to a previous time. We ended up restoring the system to a previous time which was 15 mins older than the point it went down ( Data Loss 15 mins ).
    After the system came up we saw the workflow deadline monitoring wasn't working any more.
    Have anyone else encountered the situation and have found ways for re triggering / reactivating the same workflow items so that it keeps on monitoring the deadlines.
    Regards,
    Arunava

    Hello,
    Check in SM37 if SWDDHEX is running. Restart via SWU3.
    regards
    Rick Bakker
    hanabi technology

  • Workflow Restart

    Hello,
    We are facing a problem with workflow approval.
    Once Shopping cart is available in the approvers inbox If approver is trying to save the shopping cart instead of approving it entire workflow getting restarted.
    Here I am explaining the problem we are facing:
    For example.
    1.Shopping cart ordered.
    2.It contains  approvers list : A,B,C,D.
    3.A & B approved the SC by clicking on right arrow(green color icon)
    4.Now,it's in C's approval inbox, if C is trying to save the SC(by clicking on the sc description and save), the entire workflow is getting restarted. That means again this SC will be waiting for A and B's approval.
    Could anybody suggest the proper approach to resolve the issue.
    Any hint greatly appreciated.
    Thanks,
    kanaka

    Hello kanaka,
    Please check the BBP_WFL_SECURITY attribute value? Goto PFCG transaction and display the manager role then goto personalization tab.
    Regards,
    Masa

  • Restart Workflow on changing the SC value

    Hi SRM Champs,
      There is a interesting requirement in our project for Shopping Cart workflow with value limit approval.
      Here, for the workflow there are two approvers APPROVER1 and APPROVER2 with the following condition :
    upto 1001 $ > more APPROVER1 should approve
    from 10001 $ > more APPROVER2 should approve
      Now please look into the below scenario :
      When creating a shopping cart passing values like  qty as 1 and value as 10020 $ and  ordering the shopping cart. The system should determine the only 2 Approvers it is happening perfectly.
      But,after approved by the APPROVER1 ( Remember APPROVER2 yet to be approved) The requester changing the value as 1600.  Now the value is < 10001 Now workflow should restart and control should go to  APPROVER1 this is not happening, wherelse the Shopping cart is showing to be approved by APPROVER1 in the check status. 
      Logic should be whenever changes are happening in SC workflow need to restart and approval process start from the beginning.
      Please help in this direction, any help shall be profoundly appreciated and rewarded points.
    Regards,
    Vikas.

    Hi Imthiaz Ahmed,
       Please accept my apologies first for the late reply.
       Thanks for correcting me as it has it should have been as follows  :
    Now the value is < 10001 Now workflow should restart and control should go to APPROVER1 this is not happening, whereas the Shopping cart is getting approved in the
    check status .
    Hi Nimish Sheth,
       Thanks for your suggestions, we have implemented all the suggestions given you, but unfortunately still the workflow is not getting restarted as expected !!
    Dear Friends,
    This issue is still pending from our development team and the client is expecting some feasible solution. If you have any idea, please suggest, it would be a great gesture.
    Regards,
    Vikas.

  • PO Workflow is not restarted when changed by Approver

    Hi
    PO workflow is not restarted.
    Scenario (<= 100K 1approver, > 100K 2approver)
    Purchaser created PO Document > 100K so there's 2 approvers.
    1st approver - approves the document
    2nd approver - changes the amount to < 100K. Needs only 1 approver
                      - clicks on back to purchaser
    Purchaser - clicks change button
                   - view approval preview (approver 1 is displayed still marked as approved)
                  - clicks on back to approver
    What should be the system behavior?
    - Approver 1 inbox?
    - PO marked as approved?
    SRM currently passes the PO document to the 2nd approver's inbox. I've already set the security level to LOW but still the WFL changes doesn't trigger the workflow to restart.
    Any ideas?

    My initial thought is that this is brilliant. Approver 1 has already approved a higher amount, why would he/she want to be bothered again if the amount is lowered. So unless you have a specific requirement for new approval I wouldn't recommend viewing this as a problem. It's a feature to reduce the workload, you should charge a premium
    One thing must of course be checked: If approver 1 is different for a 1-lever approval than for a 2-level approval, the PO must be sent to the new person for approval.
    I don't know if this, i.e. different first-level approvers, is possible for PO approval, but I know it is possible for Release for Payment (FI).

  • Workflow Process and Mappings restart problem

    Hi All,
    Sometimes our database crashes and shutdowns ( few dba issues) . All the running workflows \ mappings restarts again when our database is restarted. We do not want this to happen. Is there some property which can be set that would not restart the workflows/ mappings which were running at the time of database crash \ shutdown ?
    Thanks,
    Sam.

    Hi Sam ,
    You can configure the Control Center Service in such a way that it will not start (unless you start it) when your database restarted .
    To disable the OWB service from starting up automatically upon database startup, the DBMS job has to be disabled :
    1. Log into sqlplus as Repository Owner.
    2. Find the job number for the 'wb_rti_service_job.check_service' entry in the dba_jobs table :
    SQL> select job, schema_user from dba_jobs where what = 'wb_rti_service_job.check_service(1);';
    3. Disable the corresponding job :
    SQL> exec dbms_job.broken(<job#>,TRUE);
    Thanks,
    Sutirtha

  • Forward Work Item And Restart Workflow

    My problem is that:
    Requester: John
    Manager: Peter
    John shops a SC. when the workitem comes in Peter´s Inbox, he decided to Forward this Shopping Cart to Jonh again.
    In this moment Peter can change the shopping cart and he has the button "Save".
    When he saves, the SC is automatically approved!!!!! I would like that when the shopping cart back to John the workflow must restart... It is possible?
    Thanks!

    System checks workflow start condition. You can search information in the <a href="http://help.sap.com">http://help.sap.com</a> .
    <a href="http://help.sap.com/saphelp_srm50/helpdata/en/37/830b3b7e7ef74de10000000a114084/frameset.htm">http://help.sap.com/saphelp_srm50/helpdata/en/37/830b3b7e7ef74de10000000a114084/frameset.htm</a>
    Regards,
    Masa

  • Purchase order release strategy Workflow not working

    Hi All,
    I am working on PO Approval release strategy and it is not working fine . The release strategy set up is configured by my functional consultant . I just copied the standard workflow template WS20000075 and making changes to my custom workflow template . When ever po is created an event "RELEASESTEPCREATED" get triggered and the first approver receives an workitem and when he approves it goes to Second Approver and it is working fine . But when rejected then a notification email goes to initiator . Now when an initiator login into ME22N and made any changes ( even material text change ) in it then again "RELEASESTEPCREATED" event getting triggered . But I need to trigger my workflow only when there is change in PO Net value .
    Kindly help me how to achieve this functionality .
    Thanks and regards
    Dilip

    Hi Vikram,
    There is already an existing entry for BUS2012 with event CHANGED against the change doc EINKBELEG .
    Acutlly when login as initiator and try to change PO through ME22N here are my observations :
    case 1:   When Buyer click on  " Cancel Reject " button and do any changes ( even text change ) then RELEASESTEPCREATED and CHANGED events  are triggering  . But since the event linkaged is set to RELEASESTEPCREATED workflow get restarted again.
    Even the CHANGE event does'nt have 'RELEASECODE' as parameter to restart workflow .
    Case 2:  When Buyer doesn't click on " Cancel Rejection" buttion and do any changes then only CHANGE event get triggered
    which do nothing since there is no event linkage .
    Is to  click on " Cancel Reject" button mandatory ? .  But even though we make " Cancel Reject"  as Button mandatory then RELEASESTEPCREATED Button triggering for any change but we need to trigger it for only net Value change .
    Thanks and regards,.
    Dilip Kumar

  • Workflow  WS14000030 for vendor approval from OPI

    Hi,
        The task TS14007942(approve creation of vendor) is included in the workflow WS14000030(Vendor One-Step Approval). Also included  the agent assignment (Rule 00000157 for Manager).
      It is given in help.sap.com as below ..
    A vendor that has been transferred to the EBP System via OPI provisionally receives the status locked (all documents containing this vendor temporarily lose their validity). The system now checks the authorization of the purchaser / requester relating to transaction BBPMAININT:
    ·       If the purchaser / requester possesses the change authorization, the 0-step approval workflow WS14000043 starts and the vendor is released immediately.
    Depending on the Customizing settings, a workflow notification follows.
    ·        If the purchaser / requester does not possess the change authorization, the 1-step approval workflow WS14000030 starts and the manager of the purchaser’s purchasing organization receives a work item with a request to approve or reject it.
    When I checked the same,
       The Transaction 'BBPMAININT' is under the package 'BBP_BUPA'. There is only one authorization object under this package by name 'BBP_BUYER'.
       The documentation says "The object consists only of the field Activity.The activity has only one variant, 70 for 'Administration'; in other words: an 'All or nothing' as far as the data of the purchasing company is concerned".
      can anyone help me in running the workflow??? How can I restrict the authorization for the transaction BBPMAININT.
    Thanx,
    Sivagami.R

    Hi
    Please try this ->
    You have to assign authorization for changing shopping carts during the approval process. This is controlled by means of a role-based attribute BBP_WFL_SECURITY, and is set in the transaction PFCG on the Personalization tab page. There are four possible levels of authorization:
    1) High: Workflow is never restarted.
    2) Medium: Workflow is restarted based on start conditions.
    3) Low: Workflow is always started.
    4) No: No changes to the shopping cart allowed during approval.
    <u>Please refer to these links.</u>
    <u>0-step approval</u>
    <b>http://help.sap.com/saphelp_srm50/helpdata/en/8b/4fa9585db211d2b404006094b92d37/frameset.htm</b>
    <u>1-step approval</u>
    <b>http://help.sap.com/saphelp_srm50/helpdata/en/b8/92303fdcf66d37e10000000a11405a/frameset.htm</b>
    <u>Setting Up SAP Business Workflow</u>
    <b>http://help.sap.com/saphelp_srm50/helpdata/en/ee/277e3c281f1817e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/2c/e68d406b305537e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/5a/af5f1d85d011d2b42d006094b92d37/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/8b/4fa9585db211d2b404006094b92d37/frameset.htm</b>
    If nothing helps, create a custom authorization object to meet your requirements and you need to attach the same to the particular user role (Take help of BASIS team in this case).
    <u>Here are few links -></u>
    http://help.sap.com/saphelp_47x200/helpdata/en/52/671624439b11d1896f0000e8322d00/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/52/67168c439b11d1896f0000e8322d00/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/43/237440116fd279e10000000a114b1d/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/2e/6629383d5ec70ce10000009b38f8cf/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/08/237440116fd279e10000000a114b1d/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/8e/707440c56ed479e10000000a114b1d/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/8e/1f7a40cf6bcd62e10000000a155106/frameset.htm
    Regards
    - Atul

  • How can i execute a workflow using a bapi/wapi??

    Hi All,
    How can i execute a workflow using a bapi/wapi??
    pls advice
    thanks

    Hi Hrus,
    it's not as simple as a single BAPI to approve a workflow.
    Workflow comes with a Workflow API (WAPI) that you can use to programmatically interact with the workflow system. The WAPI is implemented as a group of RFC-enabled function modules that are prefixed with "SAP_WAPI_".
    Approving a workflow is simply taking a decision path for a workflow item. It is logically no different to rejecting the same workflow item or any other workflow decision.
    As part of NetWeaver workflow is tightly coupled to the WAS platform you are running on so you may need to perform WAPI operations slightly differently on older releases.
    Some of the WAPI calls you might need to use include: -
      SAP_WAPI_GET_HEADER to get the workitem header
      SAP_WAPI_READ_CONTAINER to get the workitem container
      SAP_WAPI_GET_OBJECTS to get the attached objects
      SAP_WAPI_DECISION_READ to get a list of possible decisions
      SAP_WAPI_SET_WORKITEM_STATUS to set the workitem status
      SAP_WAPI_WRITE_CONTAINER to write to the workitem container
      SAP_WAPI_EXECUTE_WORKITEM to execute the workitem
    I usually do what you are trying to do by adding the decision to the workflow container and then executing the workflow.
    Be warned, you can really stuff things up if you get this wrong! Make sure you know what you are doing.
    Quoting from Practical Workflow for SAP by Alan Rickayzen, et al from SAP Press...
    Writing directly to the workflow container is dangerous because it can compromise the integrity of the process.
    ...be careful that you do not waste time duplicating existing ad hoc features of SAP's Workflow Engine.
    For example you can use events (combined with wait steps), instead of container modifications to force the workflow to restart.
    Cheers
    Graham Robbo

  • Problem - SCSM Change status workflow does not work, shows huge "minutes behind" in SQL, but do not appear as failed.

    There is a workflow "Change request status changed" which periodically fails to run, and it does not show up in "All instances" tab. For instance when I cancel a CR, all activities remain as-is in their respective statuses.
    SQL - "SubscriptionStatus" from
    http://blogs.technet.com/b/servicemanager/archive/2013/01/14/troubleshooting-workflow-performance-and-delays.aspx
    shows increasing number of "minutes by" each minute for this particular workflow. 
    Restarting "Management service" does not give enything. As well as "UpdateSubscriptionWatermark" SQL from the link above (except resetting the "minutes behind" counter)
    Please help!
    Egils Zonde from Technet

    Take it to an apple store and see if you can get an out of warranty replacement. It won't be free, I think the fee for an Air replacement is $299, but it sounds like the insides are broken.

  • User change attribute workflow with approval  problem

    Hello,
    I have a requirement to add account numbers to user entry through workflow with approval process. and also same user can have multiple account numbers. when approver approves the User request then it's account number will be added into the user entity in ldap.
    So, i have created a Change Attribute workflow for that account number with these steps as : initiate, Approval, Commit, Error_report
    this workflow i am able to invoke through IdentityXML call and from OIM interfaces approvers able to approve and that account number is persisting under the User entity.
    Problem is: Actually above request is staging system. when user requests, it is in initiate step, when approver approves the request then only commits the info. so, there are 2 stages here.
    When i am requesting two consecutive account number requests then both requests are in initial stage. Then approver approves the 1st request then it is persisting into User entity. after that approver approves the 2nd request then this account number is overwriting the previous one. so, here is the problem i am finding. worflow is not adding the new account number.. instead its replacing the last value in the list of account numbers for an User entity.
    I hope the above problem make understandable..
    Really its a very much helpful to find the solution on this.
    Thanks in advance,
    Srini.

    Thanks for the help. Having reinstalled OID/OAM a bunch of times to properly add our custom user object, nothing seems absurd. I tried running through your steps, but I'm still not getting the workflow button. I've customized create and delete workflows properly, but the change attribute is a mystery.
    I did the following:
    1) Selected a custom attribute in Attribute Access Control
    2) Changed its read access to Anyone
    3) Saved
    4) Changed its modify access to Anyone
    5) Saved
    6) Added a new Change Attribute workflow for the custom attribute
    7) Action #1: Request, added Anyone as participant and saved
    8) Action #2: External Action, selected attribute is the custom one
    9) Action #3: Commit
    10) Saved and enabled the workflow
    11) Restarted the Identity server
    12) Picked a user
    13) Opened his user profile
    14) Clicked Modify
    The custom attribute is still editable and has no Request a Change button.

  • OWB 9.0.4 ability to restart failed ETL jobs ?

    Hi all,
    Does OWB 9.0.4 provide the ability to restart failed ETL jobs ?
    For example in a Module of 20 mappings, 15 mappings have completed with success. Mapping 16 fails and hence OWF exists with failure. In the event the problem is rectified can OWB restart at mapping 16 rather than from mapping 1.
    Regards
    Nick

    Nick,
    At the moment there is no way to explicitly start from mapping 16, unless there are specific conditions that caused your mapping to fail.
    For example, if you have enabled resumable statements on the database level and your mapping would run into a situation where these can be leveraged (e.g. you run out of tablespace) then you could resume the execution and the process flow would continue.
    Also, if there is an external situation that causes your execution to fail (e.g. mapping does not exist) then you can use Workflow's restart capabilities to resume.
    If however there is a data reason why a mapping fails, then you will have to manually intervene and resolve the process. If your mappings have been defined in such a way that only changed data is being captured (may be a good idea after all...) then you could just rerun the entire process flow. In other cases... I am afraid you'll have to go in manually to execute the individual mappings and fix the process flow as such.
    Mark.

  • Workflow status web part gives error when going back to previous stage (using GO TO) in Project Server 2013 workflow

    Hi,
    Workflow status web part gives error when going back to previous stage (using GO TO) transition activity  in Project Server 2013 workflow.
    Please guide how to create a workflow which restarts from a desired stage.

    Thanks for your prompt reply....
    It gives following error
    Workflow Status
    This Web Part was unable to load.
    Information that may be useful in solving this problem was written to the Unified Logging Service (ULS) log on the Project Web App with the following ID: e95a9c9c-1f68-90d7-0a3e-5951df70fec6
    For more information, contact your Project Web App administrator.
    what do you mean to restart the Project Server 2013 with different project name, please elaborate....

Maybe you are looking for