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

Similar Messages

  • 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

  • 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

  • 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

  • From_User not populated for AP Invoice Approval Workflow

    Hello,
    We are using the AP Invoice Approval and Requisition Approval workflows. When a supervisor grants their worklist authority to a requestor of a requisition the requestor is not allowed to approve their Req. This appears to be the correct action.
    However when the same circumstances arise with AP Invoice Approvals the requestor of the invoice is allowed to approve their own invoice through the worklist delagation of their manager (these requestors do not have workflow admin privs.). We have noticed that the "From_user" is null on the wf_notifications table for APINV message types but not for REQAPPR message types.
    Does anyone have insight into this difference in functionality?
    Thanks,
    Dan

    Hi,
    Using the Sysadmin responsibility, please submit "Workflow Background Process" with the below parameters and see if it helps:
    Process Deferred: Y
    Process Timeout: Y
    Please also see the following notes;
    How to Manually Process the Events from Workflow Queues When The Deferred Agent Listener Won't Start [ID 953103.1]
    Workflow Background Process Does Not Progress Shipped Lines: Stuck in Fulfill - Deferred [ID 804133.1]
    Hope this helps!
    Best Regards

  • Line Manager (A002) remains default approver in leave request, despite determining different agent through WF.

    Hello Experts
    I am facing a issue in Leave Request.
    I have requirement where for a leave, HR should be the approver not Manager.    
    I have determined the approver through Rule, and used a FM which modifies ACTOR_TAB internal table which is passed to the Task.
    When a request is raised, I can see only HR as an agent in workflow log. Thats correct.
    But If I go to Manager's inbox, request is sent to Manager as well for approval.
    He is not there in agent log.
    But then I checked the container element "Req". It shows Manager's userid as approver.
    I dont want Manager to receive any request by default. I can determine through WF.
    Can anyone help me remove Manager as Default approver.
    Thanks

    for your scenario check your configuration in Table V_PTARQ_TPROCESS as proposed above but in this case you need to use the BADI as above refer here http://wiki.scn.sap.com/wiki/display/ERPHCM/Leave+request+Configuration+steps http://scn.sap.com/thread/1349663

  • Workflow triggers unwantedly

    Hi All ,
    we are a strange issue in EC incoming Invoice workflow in SRM, descriptiojn is as follows
    we have two workflow in our system for invoice one goes through approval and other auto approval , and on the SRM portal at header level in the basic data we have added two custom fields allow NON-PO invoice and Allow RE ,and implemented the doc_check_badi , now at the line item level if we do not give any PO refernce and check/post  then we get an error message saying the entrer PO and the status of the invoice to " to be corrected manually" ideally in the above case approval  workflow should not trigger , it sould only trigger when we tick the allow Non-po invoice check button , and it was working fine , but suddenly after patch upgrade the approval workflow triggers even if we do not tick the chck box at header level . Can anyone suggest did any thing go wrong in patch upgrade , I have checked all the conditions and linkages all are fine, but i guess some standard setting is missing which would have gone missing .

    Dear all,
             Thanks a lot for reading my post with intention to answer.
             The issue is resolved now.
             The problem was at BAdI.To trigger the workflow with event CREATED for purchase requisition, BAdI named ME_REQ_POSTED needs to be used :
             Following coding is used for the same :
    method IF_EX_ME_REQ_POSTED~POSTED.
      DATA: WA_EBAN TYPE EBAN.
      DATA L_S_EBAN TYPE UEBAN.
      DATA: OBJKEY TYPE SWEINSTCOU-OBJKEY .
      LOOP AT IM_EBAN INTO L_S_EBAN .
      ENDLOOP.
        IF ( SY-TCODE = 'ME51N' AND SY-UCOMM NE 'MECHECKDOC' ) OR SY-TCODE = 'ME52N'  .
          IF  L_S_EBAN-BSART = 'ZNB'.
            OBJKEY = L_S_EBAN-BANFN.
            SELECT SINGLE * FROM EBAN INTO WA_EBAN WHERE BANFN EQ OBJKEY.
            IF SY-SUBRC NE 0.
              CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
                EXPORTING
                  OBJECT_TYPE             = 'BUS2105'
                  OBJECT_KEY              =  objkey
                  EVENT                   =  'CREATED'
                 COMMIT_WORK             = 'X'
                 EVENT_LANGUAGE          = SY-LANGU
                 LANGUAGE                = SY-LANGU
                 USER                    = SY-UNAME
    *   IFS_XML_CONTAINER       =
    * IMPORTING
    *   RETURN_CODE             =
    *   EVENT_ID                =
    * TABLES
    *   INPUT_CONTAINER         =
    *   MESSAGE_LINES           =
    *   MESSAGE_STRUCT          =
            endif.
          endif.
        endif.
       endmethod.
              I have missed the loop block.That's why the workflow was not triggering.
    Regards,
    S.Suresh

  • PO Approval Workflow Customization - Save Validation error

    Requirement- we needed to modify PO Approval workflow to add item cost under notification as an additional column. In this process I have tried saving the standard PO Approval workflow but when doing validate it throws an error.
    I am using Oracle EBS R12.1.3
    and Oracle Workflow Version  2.6.3.5
    Attaching error document ..
    Any quick help is appriciated.
    Thanks,
    Ajay

    Hi,
    I believe the feature is available.
    Oracle Purchasing User's Guide Release 11i/R12
    http://www.oracle.com/technetwork/documentation/applications-167706.html
    Setup Notes for E-mail Purchase Orders [ID 198539.1]
    Release 12: New Features For Purchasing Approvals [ID 429314.1]
    FAQ: Document Approval and Routing [ID 210488.1]
    Thanks,
    Hussein

  • ERM - CUP Approval Workflow E-mails

    Hello gurus,
    We are experiencing an issue with Role Expert (ERM) to Access Enforcer (CUP) role approval workflow. When a role reaches the approval stage in ERM, an e-mail notification with a link to CUP approval is sent to the designated approver's LDAP e-mail address.  This functions properly.  Following approval or rejection of the role, another e-mail should be sent to the requester's e-mail address to inform him/her that the role has been approved/rejected.  This e-mail is not functioning.  We have the same e-mail address configured in the LDAP, UME, and back-end SAP system, but this e-mail address is not receiving any notification of approval/rejection.
    This functionality is appropriately configured in CUP with the following:
    Name: RE_APPROVAL
    Workflow Type: Role Expert
    Approval Determinator: RE_APPROVAL
    Request Wait Time (Days): 0
    Request Wait Time (Hours): 0
    Escalation Configuration: None
    Approval Type: Any One Approver
    [No e-mail group]
    Request Rejection: Yes
    Re-Route: No
    Confirm Approval: Yes
    Confirm Rejection: Yes
    Reject By Email: No
    Approve By Email: No
    Forward Allowed: No
    No additional security.
    Has anyone seen this issue before?  Any advice for troubleshooting will be greatly appreciated.
    Thanks,
    Joy

    Hi everyone,
    We are experiencing something similiar as Joy related.
    We have configured in CUP 5.3 a workflow for ERM role approval with two stages.
    In both stages, the e-mail notification with a link to CUP approval is sent to the designated approver's e-mail address, but following approval or rejection of the role, the e-mail informing the role has been approved/rejected is not sent to the requester's e-mail address.
    In the first stage, the CAD is configured to send the request to the approver defined in the role in ERM (web service). In this stage, the requester's e-mail address is not receiving any notification of rejection but do recives all notifications of approval.
    The second stage is configured with a fixed approver, and in this case the requester's e-mail address is not receiving any notification of approval nor rejection.
    Any suggestions of what can we do to make this work?? We wolud like that both (approval and rejection) notifications be sent to the requester's requester's e-mail address.
    Or, if it is possible, can CUP be configured to send e-mail notifications of approval and rejection ONLY in the LAST stage of the workflow??
    Regards,
    Pablo

  • Approval Workflow Folder Inheritance

    In a previous thread, it was confirmed that the approval/workflow setting are not inherited by sub-folders.   However, a user can create folders, therefore leaving a big hole in the approval process.  Does SAP have any timeline on when they will be addressing this issue?
    see:
    Folder approval

    Hi,
       When you work with Layout, you customize collection and resource renderer. In both of them, you have to define groups of command.
       In group of command, apply for folder, not allow to create new folders.
    Patricio.

  • Add Approved Date to 2010 Approval workflow

    Hello
    I have copied the globally reusable workflow Approval - SharePoint 2010 and will apply it to a document library.
    However, this approval workflow does not have an approval date column (only in the history list).
    We really need to have a date in the corresponding Tasks list to say the date it was approved, for our audit trail. I don't want to use the Workflow History list.
    Your detailed response would be much appreciated as I am only new to modifying workflows.
    Thank you so much.
    Mel

    Hi,
    I understand you need to get the “Approved Date” and display it in the Task list.
    As we can tell, there is a OOB column in the Task list named Outcome which shows the Approved status of Approval workflow. When it turns into “Approved”, then the current date is the “Approved Date” you want. So I use the workflow
    to get the current date i.e. “Today”. Then we can create a new column in Task list (in my demo, it is Date) to display it.
    Could you please have a test per my steps in my first reply? Any question, let me know.
    Regards,
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • OOTB Approval Workflow CC field issue

    I have a OOTB Approval Workflow that functions as expected but for the CC field. The email goes to only the first user mentioned in the CC field and not to the ones thereafter. I have checked the Approval Workflow steps using SharePoint Designer but nothing
    seems to be off. I have run out of ideas as to why only the first name in the CC gets an email but not the rest.

    Yes I did try changing the order. Still emails the first user mentioned in the order.
    KP
    Hi Kartik,
    Do you mean if you change the order of users in CC field, only the first user can recieve the email?
    Could you please contact SMTP administrator and see if message is sent from SharePoint workflow and recieved by user account? If you are using Exchange server as SMTP server, you could check message tracking log per timestamp.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Customer Creation Approval Workflow

    Hi Folks - Does R12 has a Customer creation approval workflow ? If not ,Can we create a custom workflow and hook it to Customer screen?
    Any Ideas?
    Thanks.

    SanDan wrote:
    Hi Folks - Does R12 has a Customer creation approval workflow ? Please see (How Can We Have Customer Creation Approval Workflow [ID 883262.1]).
    If not ,Can we create a custom workflow and hook it to Customer screen?
    Any Ideas?Yes you can create a custom workflow.
    Thanks,
    Hussein

  • 2010 Publishing Approval Workflow not triggered from Office 2010 application

    I have a peculiar situation to which I have been Googling for weeks now but to no avail.
    Basically, I have configured a publishing approval workflow to fire when the user checks in a word document as a Major version. I tested it and all was fine. I later found that on a select few PC's on the office network the prompt (workflow initiation
    form) was not popping up when checking the document in via the office 2010 word client and therefore the workflow wasn't being initiated.
    I have gone down many avenues of group policy, SP permissions, AD settings, even reinstalling office but nowhere nearer to solving the issue.
    Please bear in mind I have it configured correctly from a SharePoint point of view i.e. checked the box to allow workflow to be manually started & start to approve publishing on major version.
    This might be a clue: it works when checking in via SharePoint but not when checking it in via word, therefore indicating a desktop client or office issue. 
    Does anybody have any knowledge of what triggers the initiation form to fire and what might block it or not register its existence from an office app point of view? Any general comments would be welcome.
    Spec of problem machines: - Windows 7 (x32/64), Office 2010 Std, SharePoint 2013 server (but using 2010 workflow in this case).
    Marc Grocott

    Hi Marc,
    Based on your description, my understanding is that when you check in a major version from word, the workflow initiation form not appear.
    In order for Document Approval workflows to work seamlessly with word, you can tick the option: "Allow this workflow to be manually started by an authenticated user with Edit Item Permissions".
    Here is a detailed article for your reference:
    Approval workflow does not start from Microsoft Word
    Best Regards
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Zhengyu Guo
    TechNet Community Support

  • OIM 11gR2 Approval workflow not getting triggered

    I created an approval workflow by following the 11gR2 developer's guide and deployed it. then created an app instance and also an approval policy for operational level which is auto approved and for request level with this composite. when i raise a request for this app instance in the catalog the SOA composite is not getting triggered. I am able to see a task in pending approval of system admin whenever i raise request for any user and if i complete that pending approval the app gets provisioned directly. Also i do not see any request ID also. please help to find out whats going wrong

    Now i tried raising a request from another user who is not a member of SYSADMIN role. This time the request id is generated and a task 'Manual Task for Provision operation for Beneficiary X' is generated in pending approvals of xelsysadm user. When completed the app instance gets provisioned. So this means operational level approval task is triggered? and it has auto-provisioning?
    why my custom approval workflow is not getting triggered?
    I have created 2 approval policies, one for request level which is auto approval and other for operational level where i have selected the deployed composite name.In both the approval policies i have selected the request type as Provision ApplicationInstance. There is no error also while deploying the composite. Am i missing any step? please help.
    Edited by: 955932 on Jan 10, 2013 10:19 PM

Maybe you are looking for

  • PhotoShop Automation PlugIn: How do I get the coordinates of a polygonal selection?

    Hi. I try to get the coordinates out of a selection, but I can't find out how to do that. I tried to convert the selection into a path and get the coordinates from the path. That doesn't work either. Can somebody give me a list of parameters inside t

  • Adobe Premiere Elements 11 - install on new computer

    I have previously purchased Adobe Premiere Elements 11 and have the serial number available.  How do I install it on a new computer using the serial number?

  • Some fonts won't import into font book

    I am importing fonts, ttf files, into Font Book from the Vault of the discontinued font manager Fontcase. A few have brought up error messages, and I do not import them. But many more, maybe 20%, simply do not get imported; no error message appears.S

  • Problem with version 1.2_05 & attributes

    I have just updated to the latest version of JSF (1.2_05) and the onclick events of my commandButton tags are no longer recognised. Using the version shipped with SJAS 9.1 the following page worked OK, after running the update JAR the javascript and

  • ASA changing ip address on name

                       customer has 8.0.5 and does not want to upgrade but is changing all ip addresses. Only giving me console access. I can see no easy way to do this because if I do a no name  to change a name then the ASA changes the reference say a