Approval workflow triggers when not expected for SRM PO & without Agent ??

Hi All,
We are using SRM 5.0 integrated with SAP MM backends.
We are frequently facing this problem, when a buyer  creates a PO (in SRM) within his/ her Spending (Output) Limit, the PO approval workflow triggers and is not able to find an agent.
Although the workflow should not trigger as the PO value is below spend limit of the buyer......we are not able to understand this behaviour.
In such cases, the buyer is not able to issue the POs, since the POs show 'Awaiting Approval' status.
I can find such POs with SRM transaction SWI2_ADM1, but I can not do anything beyond that. I am not able to Forward or 'Complete Manually' such work-items.
Any idea how this problem can be fixed or if there is any SAP note available for same.......anything??
Has anyone faced this kind of problem before?? Please help.
Thanks,
Ruchika

please check from the workflow log , the workflow which the system is starting.
might be the system is able to start another workflow than the one which you are mentioning
use the transaction swi6 for workflow log , use the purchase order guid

Similar Messages

  • Approval Workflow triggers when not expected & without Agent ??

    Hi All,
    We are using SRM 5.0 integrated with SAP MM backends.
    We are frequently facing this problem, when a buyer creates a PO (in SRM) within his/ her Spending (Output) Limit, the PO approval workflow triggers and is not able to find an agent.
    Although the workflow should not trigger as the PO value is below spend limit of the buyer......we are not able to understand this behaviour.
    In such cases, the buyer is not able to issue the POs, since the POs show 'Awaiting Approval' status.
    I can find such POs with SRM transaction SWI2_ADM1, but I can not do anything beyond that. I am not able to Forward or 'Complete Manually' such work-items.
    Any idea how this problem can be fixed or if there is any SAP note available for same.......anything??
    Has anyone faced this kind of problem before?? Please help.
    Thanks,
    Ruchika

    Hi Ruchika,
    This seems to be a problem with the start condition of the PO approval workflow. Check for the same and see if there is any issue.
    Regards,
    Saumya

  • LIBOVD ERROR  - "validateContextToken: workflow session was not found for given context. Create a new workflow session with token"

    Hello everyone,
    I have the following scenario:
    We're using "Oracle SOA Suite 11g 11.1.1.7.0" (Patched w/ 17893896) mainly for a BPM/Human workflow composite. Former, we were having the error bellow:
    <Mar 16, 2015 1:13:03 PM BRT> <Error> <oracle.soa.services.workflow.query> <BEA-000000> <<.> Verification Service cannot resolve user identity. User weblogic cannot be found in the identity repository. Workflow Context token cannot be null in request.
    ORABPEL-30511
    When that error ocurred, no one was able to use the system (BPM/Human Workflow).
    I opened an SR, and after some analysis from the support, it recommended me to set up "virtualize=true" in EM, and restarting the domain. Then it started logging the following:
    connection to ldap://[10.200.10.57]:7001 as cn=Admin.
    javax.naming.NamingException: No LDAP connection available to process request for DN: cn=Admin.
    Looking up on support KB, I found this note Doc ID 1545680.1 and increased from Max size of Connection Pool 10 to 200. That did work successfully! Problem now is that the <SERVER>_diagnostic.log is being filled up with the following error:
    [2015-03-31T16:03:46.421-03:00] [soa_server2] [ERROR] [] [oracle.soa.services.workflow.verification] [tid: [ACTIVE].ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: e0194e38aa6c9a2f:39fc1ff9:14c5def5247:-8000-00000000000a5653,0] [APP: soa-infra] <.>    validateContextToken: workflow session was not found for given context. Create a new workflow session with token=51490173-e3d0-41dd-ae99-983915aa8454;;G;;Z+P7Oe9ABnoTUQD9ECryEW2l0/8yRcqPDyZsOWBCuzMmRgA3Qsj601TxmWQ87z2MjuwW5AH+KzgjIwkPmhJFdpc1FrE6Y/MrN1bxIDHJWu2/zP3iSNwKD07hRrh/U37Ea0TvaQyuaHJIog9y3Ptmzw==
    One important point is that we're using only the embedded WLS ldap. So I am not 100% sure if we should be using the virtualize flag=true, once all docs I read point out that this should be done when using multi-ldap providers.
    Also, I only got this error in the "diagnostic.log".
    Although, no user has complained about using the system, I really want to work it out. Anyone has any suggestions?
    Thanks in advance!

    I have moved your thread from Certification to SOA Suite to get proper assistance.
    Thanks,
    Lisa

  • Java Dispatcher not expected for versions higher than 7.10

    Hi,
    During the "Managed System configuration" in SAP Solution Manager 7.1, the "Check Prerequisites"-step abord with the following error:
    The Managed System PIM~JAVA does not fulfill the Diagnostics Prerequisites
    Details:
    The definition of Technical System PIMJAVA is not correct: "PIMJAVA": Java Dispatcher "PIMJAVA784915620" not expected for versions higher than 7.10."
    System PIM ist SAP NW 7.3.
    Any ideas?
    Many thanks in advance,
    matthias

    Hi Matthias,
    Please review SAP Note 1571442 as it might be helpful in resolving this error message.

  • Mail app closes when not used for a while how fix?

    mail app closes when not used for a while how fix?

    This may also be due to the Sudden Termination feature built into OS X, which will effectively quit a process if the system is demanding resources. Mail can be a RAM hog at times, and if your system only has a few GB of RAM, then when other programs demand more and you have not been using Mail then the system will invoke Sudden Termination to quit it so more RAM is available elsewhere.
    Do you have only ~2-4GB of RAM in your system? Check for this in the About This Mac option in the Apple menu, and if so then consider upgrading to more if your system supports it. Alternatively you can try quitting other applications to free up more RAM.
    To see which programs are using the most RAM, open the Activity Monitor utility and choose My Processes from the drop-down menu. Then ensure Real Memory is checked in the View > Columns menu, and click this menu's title to sort the items by it.
    Keep in mind that sudden termination does not fully quit the program, so Mail may still show up in Activity Monitor when you open it even though it may be closed from the Dock.

  • My ipad disconnect to wifi when not using for a while

    My ipad disconnect to wifi when not using for a while. is that normal?

    This is absolutely normal, the iPad is turning off after a certain time to conserve energy…
    If you are making large downloads, go to the "Settings", "General", "Auto-Lock" and set it to a higher value…
    enjoy your magic machine

  • Approval workflow error when creating a new custom entity in FIM 2010 R2

    Hello,
    i'm hoping somebody here can help, me i've been struggling with this for some time now. On a fresh FIM installation i create a custom entity named "Role" and add a few custom attributes.
    I then create an approval workflow and MPR for normal users to create entities of type Role, but another user must approve this request. The other user has a working mailbox - i've tried firing an action workflow that sends a mail notification when someone
    creates a new role and it is working fine. But, when i enable my approval workflow (the only field i changed from default is the approver) on the MPR, the workflow always failes with the message:
    Error processing your request: The operation was rejected because of access control policies.
    Reason: The server workflow rejected the operation.
    Attributes:
    Correlation Id: 750a558a-d3e4-4216-b16a-e76d79f011ec
    Request Id: feaabbc9-dea4-49a3-8b29-65b77de6f8fd
    Details: The Workflow Instance '04202cc0-14a3-410c-a3fc-2d6e5d25ebe6' encountered an internal error during processing. Contact your system administrator for more information.
     I enabled tracing and this is what i found:
    Microsoft.ResourceManagement Verbose: 0 : Creating WorkflowServiceHost for XOML Definition:\n<ns0:SequentialWorkflow ActorId="00000000-0000-0000-0000-000000000000" RequestId="00000000-0000-0000-0000-000000000000" x:Name="SequentialWorkflow"
    TargetId="00000000-0000-0000-0000-000000000000" WorkflowDefinitionId="00000000-0000-0000-0000-000000000000" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/workflow"
    xmlns:ns1="clr-namespace:System.Workflow.Activities;Assembly=System.WorkflowServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856
        ThreadId=8
        DateTime=2013-09-04T15:17:10.0496188Z
    Microsoft.ResourceManagement Information: 1 : 1 :  : Invalid Element 'ReceiveActivity.WorkflowServiceAttributes' found while deserializing an object of type 'Microsoft.ResourceManagement.Workflow.Activities.ApprovalActivity'.
        ThreadId=8
        DateTime=2013-09-04T15:17:10.1277486Z
    Microsoft.ResourceManagement Information: 1 : 1 :  : Invalid data found while deserializing an object of type 'Microsoft.ResourceManagement.Workflow.Activities.ApprovalActivity'.
        ThreadId=8
        DateTime=2013-09-04T15:17:10.1277486Z
    Microsoft.ResourceManagement Verbose: 0 : A WorkflowRuntime is not available for this WorkflowDefinitionVersionKey '20'.
        ThreadId=8
        DateTime=2013-09-04T15:17:10.1277486Z
    Microsoft.ResourceManagement Error: 3 : Workflow host activation failed for workflow definition id : 231457c6-d044-4cc7-839f-98e5cf88f514, version key: 20. Exception: Object reference not set to an instance of an object.   at Microsoft.ResourceManagement.Workflow.Hosting.HostActivator.ActivateHost(ResourceManagementWorkflowDefinition
    workflowDefinition, Boolean suspendWorkflowStartupAndTimerOperations)
       at Microsoft.ResourceManagement.Workflow.Hosting.HostActivator.RetrieveWorkflowDataForHostActivator()
        ThreadId=8
        DateTime=2013-09-04T15:17:10.1277486Z
    Microsoft.ResourceManagement Information: 1 : The service has updated the list of active hosted workflow definitions to sequence number '1'.
    This happened on two separate FIM deployments, but both of them were set up in the same way. What am i missing here?
    Thank you,
    Martin

    (...) What am i missing here? (...) - Sharepoint 2013 and probable bug in FIM related to it. Check this thread for workaround
    and resolution:
    http://social.technet.microsoft.com/Forums/en-US/1b76672d-1276-4c71-b9fc-5bb1fcb36877/event-id-3-with-approval-activity?forum=ilm2
    Tomek Onyszko, memberOf Predica FIM Team (http://www.predica.pl), IdAM knowledge provider @ http://blog.predica.pl

  • In an approval workflow, how do I wait for either Approval or Reject to proceed?

    I have a field that will get set to Approved or reject in the form.  In the workflow I inserted the action "Wait for a field to change in current item".  The program is it reads:
    WAiT FOR "SOMEFIELD" TO EQUAL "VALUE"
    the value could be "Approved" or "Reject".  How can I set the wait till the value is changed to proceed to next action in the workflow?
    Thank you.

    Hi,
    According to your post, my understanding is that you wanted to create a workflow to wait for the filed changed and then proceed to next action.
    As Matt
    Milsark's Blog said,
    in the SharePoint Designer 2013, the value of the action has to be equal to.
    However, we cannot use parallel blocks to wait for the item to change.
    When the column’s value of the List is “Approved” at the first and not changed, the workflow also will start and perform the next action.
    The reason is that if we create an item which set the column value to “Approved”, the workflow will proceed to the Approved Step without any changes and then wait for the filed changed to Rejected.
    As a workaround, we can use the “Stage” and the “Wait for Filed Change in Current Item” action.
    You can follow the steps as below to implement it.
     Create a Custom List > Create a Column with the type of “choose” > Set the Column’s value is “Approved” or “Rejected.
       Open the SharePoint Designer 2013 > Create a Workflow for this List > Add some conditions and actions
    as below:
       3. Click “Save” to save the workflow.
       4. Go to the “Navigation” and click the “Workflows” > Open the new workflow > Go to “Start Options” > Check “Start workflow automatically when an item is created”.
       5. Click “Publish” to publish the workflow.
    In addition, we can use the “Wait for Event in List Item” action to achieve what you want.  Please create workflow as below:
    Then if the “Approved” Column’s value of the current item is changed to “Approved”, the workflow will log “Approved Column changed to Approved”.
    If the “Approved” Column’s value of the current item is changed to “Reject”, the workflow will log “Approved Column changed to Rejected”.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Publishing Approval Workflow breaks when created

    When I attempt to create a Publishing Approval Workflow I receive the error message:  This form cannot be opened in a Web browser. To open this form, use Microsoft Infopath.
    This doesn't even have to be on a list that has been created with infopath.  I tried to create a workflow on a simple list and received the same error message.
    Let me also say that Publishing is enabled as well as the workflow.  It shows as being active too.
    To compound matters when I look at the correlation ID error message in the logs I get some real strange errors that I am not sure how they are related.
    The first message shows the correct site page and the list id:
    Name=Request (POST:http://myserver.com:80/Emp/Health/_layouts/CstWrkflIP.aspx?List=%7BCC7A77B8-BAF9-47B3-82C4-592C66F04D35%7D)
    The next one is throwing me off completely:
    CreatePageFromUrlNoUpperCase failed with ArgumentException. Url = '/SUPPORT/ED/TEAM/SITEPAGES/HOME.ASPX'.
    The  High Level Message says:
    Leaving Monitored Scope (CachedObjectFactory: Caching Page at: /SUPPORT/ED/TEAM/SITEPAGES/HOME.ASPX). Execution Time=21.8362948363549  What does this page even have to do with the workflow?!  I'm beyond confused so I am hoping somone out there
    will know where this is coming from.
    Jennifer Knight (MCITP, MCPD)

    Hi,
    From your error message, I suggest you disable the publishing approval workflow, then enable it again, check the result.
    Thanks,
    Rock Wang
    Rock Wang TechNet Community Support

  • Does IDoc get triggered when GR occured for a particular po

    Hi Friends,
    Say a GR occured for a particular PO,so i want to track this GR in Action Code that GR has occuredand no other details is needed except that.
    so,my question is "Does IDoc get triggered when GR has occured for a particular Purchase Order".
    If so can u explain me the process, how to track?
    Thanks in Advance,
    Meghna.

    Hi,
    If u want to know that IDOC has been triggered then u have to do ALE setting then u can know that idoc has triggered in WE02 transaction.
    Other than that if u want to know that PO has been there in GR then for Create CO01,CO02,CO03 for GR details.
    the IDOC for GR is MBGMCR.MBGMCR02.
    Regards,
    Phani
    Reward pOints if Helpful

  • Verifying the Workflow Configuration - does not appear for the workflow services.

    hi!
    the services for the workflow services is not in windows service, I´ve installed workflow manager and correctly configured, service bus correctly configured etc
    verify

    Which self Service function you are using to change the assignment ?
    Their are two API to update asg values. Try to apply user hook on both of them and retry ur scenario.

  • EP not mandatory for SRM 7.01?

    Hi all,
    i'm wondering because someone told me, that the portal won't be mandatory for SRM 7.0 EHP1. Is it right?
    Regards,
    Danilo

    Hi,
    Portal-Independant Navigation Frame (Without Portal, with NetWeaver Business Client HTML) is available from SRM 7.0 SP06.
    Regards,
    Masa

  • Extended Notification not working for Dialog Task with agent assignment

    Hi Friends,
    I have an issue where I have a user decision step and a sub workflow contains a dialog task with agent assignment.
    Extended notification is configured properly and is working properly for user decision step but its not working for the dialog task created as an activity.
    Batch jobs are configured to run report SWN_SELSEN.
    I was checking SDN and found this discussion handy :
    http://help.sap.com/saphelp_nw73ehp1/helpdata/en/4f/3bed495cc018c8e10000000a42189e/content.htm
    One thing that wonders me is that notifications show up in SOST 4-5 seconds before the user decision step starts execution.
    See screenshot from SOST and WF log.
    SOST log :
    2 questions here: Why is notification not being sent for Dialog task?
                              Why is user decision notification being sent that early even before the User decision task starts execution?
    Please provide your valuable inputs.
    Regards,
    Sandip

    An activity step with agents is supported by the extended notifications if it is a decision task or not, I have used it many times and it works well just no approval/rejection links if it's not a decision task.
    From your screenshot you can see that a mail has been created and is found in SOST, usually this cases are problems with the mail server or connection to it, check the mail settings in the SMTP node in transaction SCOT, also check with mail server team if there is a block to/from the SAP server.

  • Oracle Workflow Delegate is not Working for the Adhoc Role

    Hi All,
    I have a requirement where I want to send the workflow notification to the Adhoc role and then if the people who are part of the adhoc role are on vacation then the notification should get delegate to the person set by the first approver. Somehow delegate is not working here.
    Please let us know if anyone of you have worked on such requirement or have come across this situation.
    Thanks in Advance,
    Viswas
    Edited by: 873477 on Feb 6, 2012 12:30 AM

    Thanks for the replying on the issue.
    This issue has been resolved now.
    In WF_NOTIFICATION.route procedure, Following query was selecting the Adhoc role name instead of the fnd_user, We have changed our custom in such way that there should always be fnd_user for the follwoing query.
             SELECT   WN.RECIPIENT_ROLE, WN.MESSAGE_TYPE, WN.MESSAGE_NAME
               INTO   recip, msgtype, msgname
               FROM   WF_NOTIFICATIONS WN
              WHERE   WN.NOTIFICATION_ID = nid;Thanks,
    Arun
    Edited by: 873477 on Feb 6, 2012 11:26 PM
    Edited by: 873477 on Feb 6, 2012 11:27 PM

  • Workflow process does not complete for 3500 but works for about 10 records

    Hi Gurus,
    I am a novice in workflow. Pls bear if the questions are very basic.
    We have a old custom workflow process which is inistaed by a PL/SQL procedure
    WF_ENGINE.CreateProcess ---
    WF_ENGINE.StartProcess ---
    COMMIT; ---
    Now this process has run for over 6-7 years but has always processed max upto 8 or 10 records at a time. Now we had about 4000 records in a table and the process was running for more than 4 days now and it has been termiinated.
    I could not see any new item_keys. Is it because we have a commit only at the end.
    This process has 3 sub processes. they are connected by 'AND' and then we have an 'End' node.
    The first sub-process is simple and we can see a record in wf_items .
    Howver no records are there in wf_items for the 2nd and 3rd sub processes.
    How can we check the point where it has hanged. Querying Status monitor just gives the first sub-process that has completed. How to debug for these cases.
    This has always worked for small volumes. Now we have about 4000 records and we face this problem
    The process actually checks data from the table and based on some conditions , it send 5 different notifications to 5 different mail groups. So we expect about 4000*5 mails to be sent.
    Any help is welcome.
    Thanks,
    L
    Edited by: 901929 on 20-Jul-2012 01:38
    Edited by: 901929 on 20-Jul-2012 01:39

    L,
    Please check the following:
    1. Since this is pure PLSQL you can have a SQL script where you enable a database event to get a trace and then run tkprof on the output to spot any performance problem. You can use something like:
    alter session set tracefile_identifier='Background' max_dump_file_size='unlimited' events '10046 trace name context forever, level 12';
    begin
    wf_engine.CreateProcess(...);
    wf_engine.StartProcess(...);
    end;
    commit;
    alter session set events '10046 trace name context off';
    select fnd_debug_util.get_trace_file_name() tracefile from dual;
    2. Do you happen to know if WF runtime tables are being purged regularly? If this is not done you can expect serious performance problems. If this is WF Apps embedded you need to clean data using the concurrent request Purge Obsolete Workflow runtime data, if not then you can use the APIs in package WF_PURGE.
    3. You will only find one record in WF_ITEMS for this process if those sub-processes belong to the same item type
    4. About the notifications, make sure you are not running into this design problem: https://blogs.oracle.com/oracleworkflow/entry/looping_within_a_workflow_process
    Regards,
    Alejandro

Maybe you are looking for

  • How to set property classes at runtime.

    Well, as the subject line says my question is plain and simple. I don't see any property for this in SET_ITEM_PROPERTY built-in. Currently a form has 10 subclassed blocks and views. These blocks have almost similar/definite number of items. At a time

  • How can I email a video in iPhoto that has been uploaded from my iPad?

    How can I email a video in iPhoto that has been uploaded from my iPad?

  • How to create parameter and control file like filename + date

    Hello there I am trying to create parameter and control file with following command in SQLPLUS create pfile='/u03/oradata/WEBDB/backup/initWEBDB.ora' from spfile; In RMAN copy current controlfile to '/u03/oradata/WEBDB/backup/cf_longterm.cpy'; how ca

  • Can't get I tunes to work

    I can't get this <edited by host> to work. It stops at a screen that says secure connection to begin creating your apple id click continue. I click continue and nothing happens. Also to get to this screen takes a long time. I'm running win 7 64 bit w

  • Help with images within an applet

    I created a card game applet which calls images placed within the same directory. In appletviewer the game runs fine,not in browsers. I downloaded the browser plugin since i use swing classes. If I remove the image the applet loads up without the gra