Endless Loop in Approval of FI Invoice Workflow

Hi Everyone,
I was having a problem with the workflow template WS90400009 - Approval of FI Invoice Workflow.
When the Proof of Performance approver is trying to approve/reject an invoice, the workflow is getting into an endless loop in the class method CL_SWF_RUN_WFM->CHECK_CB_IN_DEADL_BRANCH.
This did not occur previously in any of the FI approval workflows and neither is it affecting any other workflow in the system. How could this suddenly happen?
Eventually, the system times out and the workflow log shows "In Process"...but does not process further!
Thanks in advance for the help!

Hi Everyone,
Thanks for the replies.
We just corrected the issue with the OSS Note 935994 -
Symptom :
In some cases, a timeout that is triggered by an endless loop in the CL_SWF_RUN_WFM->CHECK_CB_IN_DEADL_BRANCH method occurs after you execute a work item.
The timeout only occurs for workflow definitions with nested loops.
This issue begun after some modifications were done in a workflow with modelled deadline.
All workflows were going into a "hang" state.
Thankfully, issue is now resolved.

Similar Messages

  • AME Invoice workflow - When invoice moves from Approval Require to Not Req

    Hello,
    I have a small Issue with AP Prepayment invoice Workflow.Version: 12.1.1
    Issue Des:AME has been configured specifically for Prepayment invoices. however, when Initiate Workflow is clicked, the Approval status changes from Required to Not Required (instead of Initiated).
    AME Setup:
    1.IF supplier amount > O get approval from approval-grp.
    Steps:
    1.Create a invoice with amount 1000 and distributions with 1000 amount.
    2.Validate Invoice
    3.Intiate Approval using actions "Intaiate Approval" the Approval status changes from Required to Not Required (instead of Initiated).
    4.Invoice shows status 'Not Required'
    5. first time the customer was using AME Rule for Prepayment invoice type with approver type as HR People and In the employee form, the supervisor relationship was not defined.
    Any idea on why this is not working will be of great help!
    Regards,
    Venkat

    HI Venkat,
    Check the AME rules, Is the Priority filed have any values set or not.
    The Priority must be set to 1 and try again.
    Regards,
    Sunil

  • There is invoice workflow approval running and i want to exclude from it specific supplier

    hi ,
    please i am having some invoices from external system imported into oracle through interface , i want to import this invoices as approved or exclude it from the ap invoices approval workflow
    will someone help me how this could be done ??
    thanks

    If it is a imported invoice, you can define the custom attribute based on source or specific vendor or both.
    Below steps for approval not required for specific vendor
    Please follow the below steps
    1) Define custom attribute
    Data type: Number
    Usage Type: Dynamic
    Value:
    select vendor_id from ap_invoices_all where invoice_id = :transactionId
    2) Define condition by using the above attribute, here give your vendor id (where approval is not required)
    3) Define production rule & attach the above condition & ensure to select the following action type "NO INVOICE APPROVAL REQUIRED/INVOICE MATCHED"
    4) initiate invoice approval for one invoice, the status of that invoice should be "Not Required"
    Please update the test results once you are done.

  • Invoice workflow   "No Approval available"

    Hi Guys,
      I have an issue with custom invoice workflow...when an invoice is created and a approver is added via add approver...after adding those approvers....the approval preview shows those added approvers as to be approved by...but after posting the invoice...if i see the approval preview...i can see that both added approvers node doesnot reflect the names of the approvers inspite it is showing 'no approver available'....in those added nodes.....and the workflow didn't start....this whole scenario happens...randomly..when user tries to add an approver....
    we are in SRM5.0    sp SAPKIBKT06
    Please help me out to fix the issue....
    Full points will be awarded...
    Thanx in advance,
    Radha

    Hi
    Which SRM version and workflow are you using ? Is it Item-Level Workflow or SC-Level Workflow ? Seems to be a bug or might be due to incorrect workflow configuration settings.
    <u>Please go through the SAP OSS Notes below -></u>
    Note 581191 Who is allowed to insert or replace an approver
    Note 185878 Find approver for web invoice using PO number
    Note 185700 Additional Docu. - SAP Bus.-to-Bus. Procurement 2.0A
    Note 452464 List of re-viewers is not updated
    Regards
    - Atul

  • Endless loop in an in-app auto-renew subscription page, approved by Apple

    I just launched an app, News-O-Matic, which is in-app purchase subscription based, auto-renew. Eventhough the app was given the green light by Apple today, our subscription page puts the user in an endless loop! Our app works perfeclty well in Sandbox mode and only reacts this way when live (it is the second time around and we had to re-submit because we thought the bug was part of the new update Apple pushed right before the holidays...).
    If anyone out there has any clue as to what can be causing this loop, please reach out to me. Our developers are as puzzled as we are and we have a community of frustrated subscribers who want to use our app but cannot because of the bug.
    Do you think it is on Apple's side or our side? Could it be a parameter in iTunes Connect that we disregarded? HELP!!
    Thank you,
    Lillian

    Just because Apple approved your app doesn't mean there can't be bugs.
    Think about it for a minute.
    There are thousands of apps using the same technology as yours with no problems.
    You have a nasty bug.
    Good luck tracking it down.
    (Sure it could be a bug on Apple's side but most likely it's something in your code).

  • AP Invoice Workflow through AME: how to setup requesters can approve their own Invoices -Self approval

    Hi All,
    I have a requirement Where Requesters should  approve their own invoices without supervisors intervention in approvals through Approval Management Engine (AME), how can i achieved this.
    I am using:
    RDBMS : 11.1.0.7.0
    Oracle Applications : 12.1.3
    Please guide me through this.
    Thanks

    Please refer to the following docs.
    What are the Setups To Accomplish Self Approval When Integrated with Approvals Management Engine (AME) and Oracle Procurement? [ID 554223.1]
    Master Reference For AME Based Requisition Approval In R12 [ID 1207863.1]
    Thanks,
    Hussein

  • Non PO Invoice Workflow - Error while Posting Document

    Hi Experts
    Hope I am posting this in the right forum as I am new to SDN!
    We have customized a multi-level non PO invoice workflow which triggers at the time of clicking 'Save as Completed' in tcode FV60.
    It has been configured to automatically post the document once it is approved at all the required levels. However, the document cannot be posted even after it receives all levels of approval. The status shows as 'Complete' but the error message shown is 'No Amount Authorization for Customer/Vendor in Company Code' in the workflow screen (MSGID F5, MSGNO 155).
    Now as I understand, this is the error for maintenance of user ID in tolerance groups. However, all user IDs have already been maintained and no matter who parks the document, the same error appears in the workflow screen.
    We have no idea whether this is happening due to some missing config from FI side or WF side.
    Regards

    Hi
    Go to Tcode: OBA3 Assign tolerance group under your company code and give all limits for each group. If you done this one your properly your problem should solve.

  • Approval for Vendor Invoice

    My client required Approval for Vendor Invoice Payment from senior person. How can i configured this scenario in sap AP?  
    Pls Reply

    Hi,
    Please check this link:
    [Workflow for Payment Release|http://www.google.co.in/url?sa=t&rct=j&q=workflow%20for%20payment%20release%20sap&source=web&cd=1&ved=0CBsQFjAA&url=http%3A%2F%2Fhelp.sap.com%2Fprintdocu%2Fcore%2FPrint46c%2Fen%2Fdata%2Fpdf%2FFIBP%2FFI-AP-AP-RP.pdf&ei=QdjETqe6Ds-xhAfv6NSEDg&usg=AFQjCNGlK2kUdPUyvPIgG32Ulni3ks9tuA&cad=rja]
    Regards,
    Jigar

  • Which AP Invoice Workflow launched in R12

    Dear experts,
    Here is the background:
    I am looking at a R12 environment, migrating from an 11.5.10 with customisations.
    In both environments I am looking at the workflow's that are lauched following the creation of a simple Invoice under 'Payables Manager' , followed by clicking on the 'Initiate Approval' invoice action.
    In both environments, there is a subscription to the business event: 'oracle.apps.ap.event.invoice.approval' which launches the workflow Item Type: APINV. This set up is identical in both.
    The Problem:
    When I go to Status Monitor I can see the following workflows launched after creating an invoice and initiating the approval:
    1) R12 : 'AP Invoice Approval', Item Type - APINVAPR
    2) 11.5.10 : 'AP Invoice', Item Type - APINV
    Therefore, different workflow's are lauched between the two releases. As APINV is subscribed to ''oracle.apps.ap.event.invoice.approval', why is this not launched in R12? Also, APINAPR does not have an Event item in the workflow - where is it initiated from?
    Could the differences between the two releases be to do with AME set up?
    Many thanks for your anticipated help,
    Mark

    Please see if (R12: Status of the Invoice Becomes Blank After Applying a Prepayment [ID 733006.1]) is applicable.
    Thanks,
    Hussein

  • FI Invoicing Workflow

    Hi,
    I have implemented a FI Invoicing workflow which involves 3 levels of approval starting from document parking through TC: FV60 till document posting. And this is working fine. I have done configurations in SPRO like creating workflow variants and assigning to Company Code.
    After this is successfull we have automated the document parking process also through another workflow like whenever a new invoice is scanned this will trigger a workflow based on the settings in soa0 transaction. Now the document scanning will trigger the Workflow and create a workitem to park the document. If the user selects to park the document workflow will load the TC: FV60 to park the document.
    This workflow is working and a workitem will come to user if an invoice image is scanned to the system.
    But the problem is that Switch Company Code option is disabled in the TC: FV60 which is loading from Workflow. But if u try to run the method to park the document externally, switch company code option is there in the TC: FV60.
    Is this problem having any relation to the company code associated to workflow variant in the previous workflow.
    Pls help me.
    Regards,
    Sheron

    Hi Arghadip,
    If i try to manually execute this Tcode: FV60, I will have authorization to switch Comapny code. Also if i execute the BOR method seperately then also i am having the authorization to switch company code. But through Workflow, it is not allowing me to switch company code.
    Regards,
    Sheron

  • Item Level Approval in Incoming Invoice

    Hi Gurus,
    I am new to the concepts of workflow and really dont have good experince to take up this job. But still I want to give my best shot and see if I can do.
    I am trying to accomplish item level approval for incoming invoice using business object FIPP. I have below mentioned questions in this regards,
    1) Is it possible to achive item level approval for incoming(vendor) invoice using business object FIPP?
    2) If <b>YES</b> , Please provide me with some hints on how to achieve it.
    3) Is there any BADI available to enalbling this functionality?
    Any kind of help in this regard is highly appreciated and rewarded.
    Regards,
    Sapna Madhuri
    Message was edited by:
            sapna madhuri

    Your solution design must of course depend on the functional requirements (specification). I can not (will not, I have a job to attend to even if I tend to spend too much time here on SDN sometimes) tell you everything that is involved in the workflow builder, nor what the graph should look like.
    There is not one answer to these questions. You can probably find several (more than two) different technical solutions that meet the requirements. Not all will be equally elegant. Not all will be equally robust. Not all will be equally maintainable. Some will give a higher system load than others. And so on, and so on. <b><u>You</u></b> have to make the choices, not some fellow SDN-er far away from you and your customer.
    <b>First question:</b> is approval of level 1 and 2 approvers performed independently for each item or depending on the previous level being completed (i.e. must all level 1 approvers approve before relevant items are sent to level 2 approvers)?
    If they are handled independently, you can create a subworkflow and use dynamic parallel processing to instantiate it for all items. If there is dependence, you can perhaps use two dynamic parallel processing steps, first for level 1 approvers and then for level 2 approvers.
    <b>Second question:</b> what happens if an approver rejects an item?
    There is no easy way out, you have to spend time to find out what the best solution is. I'm not here to spoon-feed anyone any solutions, but I don't mind telling what my ideas are. OK, once in a while I will actually give someone a complete solution, like many others here, but that's mostly to very specific and limited questions. Your query is very broad and nearly unlimited in scope.

  • AP Invoice workflow - When no rules matches in the AME

    Hello,
    I have a small Issue with AP Invoice Workflow.
    AME Setup:
    1.IF supplier amount > 600 get approval from approval-grp.
    Data 1:
    1.Create a invoice with amount 700 and distributions with 700 amount.
    2.Validate Invoice
    3.Intiate Approval using actions "Intaiate Approval"
    Able to get the notification and able to track workflow process in workflow Admin
    Data 2:
    1.Create a invoice with amount 500 and distributions with 500 amount.
    2.Validate Invoice
    3.Intiate Approval using actions "Intaiate Approval"
    4.Invoice shows status *'Intiated'*
    Not able to see workflow process in Workflow Admin and no updates in View Invoice Approval History.
    Any idea on why this is not working will be of great help!
    Cheers.

    Hi,
    As per my knowledge, if rules are not matching, then status would be "Not Required" and not "Approved" after initiating approval.
    I was testing some scenarios with AME involving "Prepayments" alone. Hence, if i create an Invoice, then Status would be "Not Required".
    Also, pls login to Sysadmin and check status of the Workflow.
    Also, if AME is not able to find an approver, then the notification will be forwarded to the "Administrator Approver" defined in Configuration Variables Window.
    There we provide the UserId of Administrator Approver. Generally, if nothing is specified, Sysadmin would be the Administrator Approver.
    Is there any other condition which you are using apart from >600 ?
    Regards,
    guru

  • MHKIM:Invoice Approval Notification에 View Invoice Link가 보여지지 않는 현상

    Q:Invoice 등록후 Workflow를 통해서 Invoice Approval Notification이 발송되는데
    일부 사용자가 Notification내용중 View Invoice Link가 보여지지 않는 현상이 발생했습니다.
    A:
    View Invoice Link를 보기 위해서는
    Payables data에 대한 access가 가능해야하고,
    View Invoice Overview(AP_APXIWALL_VIEW) function이 AP권한에 attach되어야 합니다.
    다시말해 승인 notification에서 View Invoice link를 눌렀을때, 해당 내용을 볼 수 있는 menu를 가지고 있어야 합니다.
    문제가 되시는 분은 "AP_건강생활_일반담당"이라는 권한을 가지고 계신데,
    그 권한의 data group은 Payables가 아닌 Asia/Pacific Localization이고,
    View Invoice Overview function도 Menu에 없는 것으로 보입니다.
    "AP_건강생활_일반담당" 권한에 등록된 Menu에
    View Invoice Overview(AP_APXIWALL_VIEW) function이 들어가 있는지 확인해주시고,
    만약 없다면, View Invoice Overview(AP_APXIWALL_VIEW) function을 추가 후,
    신규 Invoice에 대해서 Notification확인을 부탁드립니다.

  • Wait statement stuck in Invoice workflow BUS2081

    Hi,
    I have a problem in invoice workflow where it sends a mail and waits for 8 Hours for GR to be created.
    These steps are called in loop. After 8 hours it compares PO quantity with GR quantity and when GR is complete, it exits the loop. If GR is not complete till 120 hours (i.e. 5days) it sends mail to Superiors.
    In order to wait for 8 hours I have a step with one line code.
    WAIT UP TO 28800 SECONDS.
    On some given dates, for all the workflows this step gets stuck and for more than a month it shows status “In process” in workflow log. On other days it runs fine.
    Please help me find what could be the reason for this .

    Hi Bhavin,
    WAIT for 8 hours is a bad idea to start with. There are couple of other alternatives:
    1) Configure an Event for GR Completion and have your workflow react to the event. You can use Modeled Deadline to send the email when the GR is not completed in 5 days. This would probably mean considerable change to your WF.
    2) Use Requested Start for the GR completion check Step and Modeled Deadline to send the email when the GR is not completed in 5 days. You need to compute the Date & Time for the Requested End before the loop start and use the Expression Option.
    For both the options, you need to have the Deadline monitoring job running.
    If you want to continue with your WAIT UP TO 28800 SECONDS, you will have to ask you Basis folks to investigate your problem as this is not a Workflow issue.
    Cheers,
    Ramki Maley.

  • Logistics Invoice workflow

    Hi All,
              Requirement is for a Logistics Invoice Workflow
              triggered when 1> Price variance block(P) 2>Qty variance block (Q)
                                    3> when GR not found --- dont know which event this raises
              Also 1 invoice can have associated multiple PO's . The PO's can have different buyers . So the buyers should be sent the workitem with only the details of the Po's that he is responsible for  . Also if there is both a qty block and a price block then he should receive just 1 workitem . I don't think they require functionality as in workflow WS20000397 where the workflow automates the change / delete/verify actions and if change is selected then loops through the PO's in the change mode allowing to change price . This functionality will be performed manually , so the workflow itself is more like a notification .
               This is how I was thinking of tackling this .
               1. Get the list of blocked work items for the current invoice into a multiline.
               2. Get the buyers for each invoice line item via the associated PO Litem
                   into another multiline
               3. Get a list of buyers from pt 2 and remove duplicates . move into another multiline .
               4. call a subworkflow ( once for each line of the multine for  buyers ) .
               5. This subworkflow will get the line items belonging to the buyer
                   it will then call a task which will list the line items ( similar to bus2081-LISTBLOCKEDPRICEITEMDATA ). might have to create another method for  LISTBLOCKEDQTYTEMDATA  and call the task based on whichever event is called . I don't know in which category would the no GR created block fall under ?
    The work item can also contain object references for Invoice and each of the PO's so that he can view them as links and display the invoice and PO's .
                   The task will be completed by a invoice.released event , but if so then all the buyers will have to wait for the invoice has been released . maybe I can check if the relevant workitems have been unblocked . If not then send him another workitem . If the user chooses to reject the workitem the requirement is sent to the Accounting clerk which is fine .The workitem will remain in his inbox until he manually completes the workitem .
                   I hope this would work . The only thing I'm not very clear is how I can get a single workitem for both qty & price variances if they occur at the same time as they are 2 different events and will create 2 different workflows ?
    Any ideas let me know .

    Hi Radha,
    You can trigger a single workflow from different events. Even in this case it will create two workflow instances for the different events that are triggered. I guess you will have to wirte a small function module which can check for the PO properties. If it has both then you can run the workflow for any one branch. This is what comes to my mind.
    For the GR not present scenario you can just have a workflow once an Invoice is created and then run the workflow only if the GR is not present. You can have a check function module for that too.
    Hope this helps,
    Sudhi

Maybe you are looking for

  • Cisco VPN Client is not opening on windows 7 64bits

    Hello, My problem : i instaled Cisco VPN client 5.0.07.0440-k9 on Windows 7  64 bits, the installation ends successfully. But when i restard the computer, when i click it doesnt open. Notice : when i restard the computer, it takes an infinite time th

  • Customizing request & Workbench request

    Dear all,                 What is the differance between Customizing Request & workbench request?

  • Problem while printing in smartforms

    Hi, My Login language is AR and i m trying to print English on the smart form. The string I am trying to print is "JOANNOU & PARASKEVAIDES  (OVERSEAS)  LTD." which is stored in company address details. But in smart form it is printing like ".OVERSEAS

  • Install 2 of the same printers

    I use one computer at separate locations. I have the same printer at both locations. HPOfficeJet Pro 8600 How can I install the second printer and not interfer with the first printer?

  • Netgear faster then Airport Extreme?

    I have a 10MB internet connection via a cable modem. I plug the cable modem into my Netgear Rangemax cable router - Speedtest.net shows I am getting 9.7MB downloads - which is what I expect. I do exactly the same test (from the same distance etc) wit