Approval Procedure Not Triggered on Updating Document

Hi,
When Adding a new Sales Order, if the document meets the criteria laid down by an Approval Template, the Approval Process is started.
However, if an old Sales Order is Updated, the Sales Order the Approval Process is ignored.
This is a problem for certain customers who have Approval Procedures which prevent users Adding Sales Orders which would take a Business Partner over the Commitment and/or Credit Limit.
The user can get around the Approval Procedure by adding a Sales Order for a value which keeps the BP under the set limit.  If they then Update the Order, they can enter any value.
For example, a user may be prevented from adding an Order totalling £1000.00.  If they Add the Order for £0.00 instead, they could later amend the Order to any amount as the Approval Process is not fired !

Could you clarify what you mean by "The credit limit exceeded is in negative numbers"
Negative number: the system message I get when I create a delivery note for a customer, exceeding the credit limit is the following:
Customer has exceeded credit limit - 95.479 EUR
Customer has exceeded commitment limit - 95.479 EUR
Continue (Y/N)
Make sure the Credit Limits are set in the BP Master. --> OK, credit limit is set to 100 EUR, Commitment limit to 100 EUR
Also use Great than in Ratio and try to use a small number like 10 in the value  --> I am using 1 EUR
Also, check in System Initialization > General Settings..BP Tab Activate approval procedure is checked. --> it is checked.
Using the range option does not solve the problem, in fact even if I use 'Deviation from Credit Limit does not equal 1 EUR' the approval is not triggered. When I use the same Approval template, but I alter the terms to Total document greater than 1 or Discount% greater than 1 the approval is triggered.
Edited by: Rui Pereira on Apr 29, 2009 1:19 PM

Similar Messages

  • Approval Procedure not triggered when Credit Limit Exceeded

    Hi,
    I've defined an approval procedure which I would like to launch when a clients Credit Limit has been exceeded. I've checked the required fields on Administration > General Settings > BP tab (credit Limit, Commitment Limit, AR Invoice, Delivery, SO). I've also checked the Activate Approval Procedures on the same tab.
    I know the approval procedure has been set up the correct way, since it is launched when I change the Terms to for instance 'Total document'. 
    There is a system-message when I am creating a Delivery Note for a customer indicating that the credit limit for this customer has been exceeded. But still, the system allows the user to add the document without triggering the approval procedure....
    What am I doing wrong?
    Btw: The credit limit exceeded is in negative numbers, but I've tried both the condition 'Deviation from Credit Limit greater than 1' and Deviation from Credit Limit Less than 1...

    Could you clarify what you mean by "The credit limit exceeded is in negative numbers"
    Negative number: the system message I get when I create a delivery note for a customer, exceeding the credit limit is the following:
    Customer has exceeded credit limit - 95.479 EUR
    Customer has exceeded commitment limit - 95.479 EUR
    Continue (Y/N)
    Make sure the Credit Limits are set in the BP Master. --> OK, credit limit is set to 100 EUR, Commitment limit to 100 EUR
    Also use Great than in Ratio and try to use a small number like 10 in the value  --> I am using 1 EUR
    Also, check in System Initialization > General Settings..BP Tab Activate approval procedure is checked. --> it is checked.
    Using the range option does not solve the problem, in fact even if I use 'Deviation from Credit Limit does not equal 1 EUR' the approval is not triggered. When I use the same Approval template, but I alter the terms to Total document greater than 1 or Discount% greater than 1 the approval is triggered.
    Edited by: Rui Pereira on Apr 29, 2009 1:19 PM

  • Approval Process to Apply to Updated Documents

    Hi,
    My customer has a problem with certain Sales Orders not going through the Approval Process.  Users are circumnavigating the Approval Process in a sneaky way. 
    Let us say that we have a Sales Order with a value of £1000.  On hitting Add, SAP asks the user to submit the Sales Order for approval.
    If the user then clicks Cancel they return to the Sales Order entry form.  If he then changes the Order value to a figure which does not fire the Approval Process (for example £0) the system allows the Order to be Added.
    If the user then amends the Order back to the original £1000, he can Update the Order without firing the Approval Process.  I found out how this was happening by looking at the History of a Sales Order and have recreated the issue locally.
    I have found SAP Note Number 904373 - Approval Procedure not working on marketing documents.  This note states that the above scenario is system behaviour.
    Can this be changed so Updated documents will fire the approval process?
    Thanks
    Greig

    Hi All,
    Can we use the Request API to create the request (and then Approval) for other than ADD (object type like Disable, Enable etc) of a user like below
    long lRequestKey;
    long UserKey=1;
    long ObjectKey=201; //testro1
    HashMap reqMap = new HashMap();
    reqMap.put("Requests.Target Type", "U");
    reqMap.put("Requests.Object Request Type", "Disable");
    reqMap.put("Requests.Type", "U");
    lRequestKey = reqObj.createRequest(reqMap);
    System.out.println("Created request and got key :" + lRequestKey);
    reqObj.addRequestUser(lRequestKey, UserKey);
    System.out.println("Added the request user");
    reqObj.addRequestObject(lRequestKey, ObjectKey); // I am not sure if this part is right but without this it is giving me the error.
    System.out.println("Added the request object");
    reqObj.completeRequestCreation(lRequestKey);
    System.out.println(Completed and submitted the request");
    I gave it a try but the Resource detail is not getting populated in the request due to which request hang up in "Request Initialized" state. I tried by passing the Process Instance Key also but no luck.
    Any chance if anyone crack it before. Please tell me. Thanks

  • Approval template not working on update

    Dear All,
    I created an approval procedure to check line discounts >=25% on marketing documents. I used the below query;
    'SELECT DISTINCT 'TRUE' WHERE $[$38.15.NUMBER]>=25'
    On Adding new marketing documents the approval works well, BUT if i recall the same document and change the discount value then Update, the approval procedure does not work. When i open the query it returns TRUE based on that marketing document form.
    Could this be a bug or is there something that i am not doing correctly?
    I am on SAP Business One 9.1 PL05.
    Regards,
    G.W

    Hi,
    Approval procedure will not work for updated documents even if the query get correct result.
    This is standard system design for approval procedure.
    Thanks.

  • Error: Lock profile for approval procedure not maintained in Customizing

    Hi,
    We are working on the CHARM approval process. I have noticed that without selecting an approval procedure, I select the status (Awaiting business approval) on which the approval workflow is triggered, the system gives below error:
    Select an approval procedure first
    Lock profile for approval procedure not maintained in Customizing
    Approval procedure and approval steps are locked automatically
    This locks the approval procedure and the RFC can no longer be processed further. Why is that happening ? Anyone can select the status by mistake and lose the RFC, is there a way to stop this or at least reset it ? the lock procedure is already maintained in approval procedure customizing.
    Best Regards.

    Hi Karthik,
    Thanks for the quick reply, however the settings mentioned on page 38 are already in place i.e. the approval procedure gets determined correctly based on change category (rule policy) and also is locked after putting it to 'Awaiting Approval' 
    But the problem exists - setting the status 'Awaiting App.' without selecting app.proc, will result in a total lock of the RFC.

  • Approval Process Not triggering?

    Hello,
    I have created a simple Approval process in which request should go to the Beneficiary manager through JDEVELOPER. I have also registered this Approval process with OIM.
    After that i have created two Approval policies..
    REQUEST LEVEL--
    This is Auto Approved.
    Approval Rule :: Template Name equals Provision Resource.
    Set Priority : 1 (Request Type=Provision Resource)
    OPERATIONAL LEVEL --
    Approval Process attcahed at this level.
    Approval Rule :: Template Name equals Provision Resource.
    When i am creating a request for a particular resource the request is getting assigned to XELSYSADM by default (as per the Developers Guide for OIM 11g, if no approval policy is attached with the template the default Approval process gets trigerred and the request gets assigned to XELSYSADM.)
    Can somebody help me by telling why the Default Approval process is getting triggered and not the one which i have attached at the Operational level?
    Am i missing Something?
    Thanks in Advance.

    As i have mentioned earlier, it is configured such that the appropriate approval process is triggered when a request for particualr resources is requested.
    There are multiple tasks in each one of the approval process.
    The approvals were triggering well 2 days ago and suddenly there seams to be a problem in the approval triggering.
    The approval process was not edited / updated for any of these resources. Wondering why suddenly OIM does not work well for the approval triggering???
    here the problem is none of the configured approval processes are triggering. Its not just one approval process but all 12 approval processes (including standard approval) are not triggering when the request is raised.
    Appreciate your help till now, please suggest me how to make OIM trigger the approvals again!
    Thanks

  • Fix Approval Procedures to work on Update

    I opened a ticket with Support concerning the condition where a user who is subject to approval procedure can circumvent the approval process using the Update process. Support suggested I post my recommendation here.
    Say a user is subject to approval procedure whenever they post a Purchase Order above $1000.  Today a user can create a PO for less than $1000 (which doesn't trigger an approval). Next they Update the PO so that the document total is greater than $1000. On Update, NO approval procedure runs. Support said this is current functionality.  This is a huge hole in the approval functionality that makes it practically useless when a user knows it's this easy to circumvent.  Support said this issue was previously reviewed and decided not to fix it.  I'm suggesting that it's imperative this is fixed.

    Agree. The approval procedures are completely useless as it is far too easy for the user to work around them.
    Our risk & Governance department has reviewed SAP Business One and handed out a very bad report because of a few holes in the system.
    We currently use the system for our subsidiaries and it nearly fails every single test executed by the auditors.
    1) Approval procedures must work for an update process (this would fix 80% of the issues).
    2) It must be capable of identifying critical and non critical fields (such as the bank account on the supplier record).
    Vincent

  • Leave Cancellation Approval is not triggered

    Hi Frnds,
       The leave cancellation workflow which is configured in IMG is not triggered for leave request with status APPROVED or SENT excluding the status u201CPOSTEDu201D.
    IMG Configuration for workflow:
    1) WS12300111                u2013 New Request
    2) WS99900053 (Copied from WS12300111)     u2013 Cancellation Request
    Example:
    New Request           - Triggers WS12300111 for approval
    Fully Approved           - Use WS12300111 for approval routing
    Cancelled the fully approved request     - WS12300111 (but it should be WS99900053)
    Can anyone help me out with the solution?
    Thanks,
    Suganya

    1. Leave Cancellation WF is triggered only for cancellation of posted documents.

  • Approval procedure not working

    An approval procedure has been created, for 2 users, for Goods Issue and good receipts, to be approved by 2 other users, for ALL documents.
    The approval procedure is not activating, and allowing these 2 uers to create these docuemnts for all scenarios.  Please assist.
    2007A PL 42

    David,
    Yes, this function is active.   administration - general setting - BP tab - Tick Activate approval procedure and in approval template tick active.
    Hi Gordon,
    Yes, the condition is ALWAYS.  For all GR and GI documents.
    Was is also strang is that exactly the same query is working in another database!

  • Approval Procedures Not Working for Gross Profit %

    Dear all expert,
    I have a problem about approval procedures. I make approval procedures for gross margin less than 0% (minus margin) that will ask approval to approve it. The problem is if I input 1 item that have minus margin, approval procedures run well but if there is more than 1 item that have minus margin, approval procedures is not run...Why this is happen ? Is there any one that use that term has faced same problem too
    Thanks for your help

    Hi,
    as far as i understand you prove if there is any magin less then 0% in a marketing document. So i think you run this approval for each line and that does not work. If you enter one line, the procedure works fine. But any other line will not be proved.
    There is no standard way for approvals based on lines.
    Regards Steffen
    P.S. Of course a bit of SDK will help, but you can not solve this without.

  • BSEG.CREATED event not triggering when a document is posted in FB60

    Hi All,
    I have a requirement in which i need to post documents in FB60/FB65/FB01 tcode. But when i post the document in FB60 the event BSEG.CREATED is not triggering. I could not see any trace in SWEL. But when i park the document in FB60, FIPP.CREATED event is getting triggerd.
    Can anyone tell me why this BSEG.CREATED event is not triggering.
    Thanking you in advance,
    satheesh.

    Hi Viji,
    Thanks for your quick reply.
    We have maintained the required configurations in the system related to this. But still the event BSEG.CREATED is not triggering.
    for this the alternative solution is to implement the BTE '1030'. But our functional team is asking us to check whey standard business object BSEG.CREATED is not triggering when we post a document. So that particular reason we are not able to find out.
    Configuration maintained.
    1) Created a workflow variant and assigned it to particular company code(OBWA and OBWJ).
    2) Checked the 'Posting' release' and 'Release payments' checkboxes in the OBWA transaction.
    3) Event linkage for BSEG is active.(SWETYPV)
    Thanks,
    satheesh

  • Approval Procedures for Add-On generated documents

    Hi All,
    How do you create some Add-on generated documents into Business One through Approval Procedures?
    Thanks
    Venkat

    Hi SVReddy,
      You can use the SDK  to acheive your requirement,
    so post the thread to SDK Forum
    Regards
    Jambulingam.P

  • Approval Procedure not working randomly on sales orders

    Hi Experts,
    We place approval procedure for 2 users in SAP B1 2007B pl15.
    Some SO does not pass approval procedure  and we cannot trace why. The are 2 set up for approval procedure 1 for within on below credit limit. The other one beyond credit limit.
    Does anyone have the same problem with Approval procedure?
    What do I need to check  to isolate the problem?
    Regards,
    Amy

    Hi Gordon,
    We tried to disable the SO query beyond credit limit in a test database to check if the approval procedure will run if there are no other queries checking the credit limit. Now we only have one query running- the SO within credit limit.
    We eliminated another possibility for the error. The error occurs for a newly created BP.  The approval procedure will not work in SO  is the first SO ever created in the system. All subsequent SO will go thru the approval procedure even if the SO, DN and Account balance is zero
    1)We also tried this query and diabled the SO Beyond Credit Limit
    SELECT DISTINCT 'TRUE' from DBO.ORDR T0 INNER JOIN DBO.OCRD T1 ON T0.CardCode=T1.CardCode Where T0.CardCode=$[$4.0.string] and T1.CreditLine >=(
    (case when T1.Balance = 0.00 then 0.00 else T1.Balance end) +
    (case when T1.OrdersBal = 0.00 then 0.00 else T1.OrdersBal end) +
    (case when T1.DNotesBal = 0.00 then 0.00 else T1.DNotesBal end) +
    +$[$29.0.number])
    2) We also tried the Deviation from credlit limit is less than .01. Still error.
    Is this a system error or error in the query?.
    Regards,
    Amy

  • Create Orders of Sale from DIAPI,  Approval Procedures not works

    Hi Experts,
    I generate Orders of sale, from an application for DIAPI, the orders have approval procedures of authorization but they do not apply to the generated orders, which I must do in order that he executes them.
    Thanks,
    Carlos.
    SAP B1 8.8, SQL 2008, WinSvr 2008 x64

    Hi
    If you create sales order through DI API then it will go not for approval. You can try an alternative first create it as a draft , later when the draft is converted to sales order it will go for approval
    Regards
    Arun

  • 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

Maybe you are looking for