Wrong stage in Approval Procedure

Hi All.
Recently, we've upgrade our SBO (2007A) to SP01, PL08 and then we noticed a strage problem regarding Approval Procedures.
Our Approval Procedure Template (for POs) has 2 stages as below:
First stage - st1
Defined Approvals - 2
Required - 1
Second stage - st2
Defined Approvals - 5
Required - 2
Scenario
1.Document Add, the Approval Procedure takes into action and goes to st1. OWDD: CurrStep = st1, MaxReqr = 1.
2.One of the approvals in st1 approves and document goes to st2. OWDD: CurrStep = st2, MaxReqr = 2.
3.One of the approvals in st2 approves. OWDD: CurrStep = st2, MaxReqr = 2.
and here comes the surprise:
When another user of st2 approvals approves the document, the document does not become Approved, but is still suspended. When checking OWDD, I see that CurrStep = st1, MaxReqr = 2 !!!
SBO had "jumped" the process back to st1, but now it requires (somehow) 2 approvals.
Did anybody see such a behaviour? Do you know any solution?
10x in advance,
Beni.

hi,
try to do this as your work around,
1. try to edit your Approval template and updated it
2. try to make a new Approval template identical (2 approval templates that does not behave the way u want)
in this case u cant test your old approval template and new approval template.
best regards.
FIdel

Similar Messages

  • What's wrong with my approval procedure query ?

    Hi everybody,
    This is my query :
    SELECT DISTINCT 'TRUE' FROM RDR1 WHERE $[$38.U_Prix_plancher.number] >=$[$38.Price.number]
    What's wrong with that ?
    Thanks
    Ara

    Ara,
    The problem is not with your Query but the problem is with the way the Query gets trigerred for an Approval Process.
    SAP only recognizes the value of a $[$38.x.x] parameter when that particular row is active.
    I suggest you can test this by simply highlight that particular row which breaks the rule and try to Add the document and you will see that the Approval Procudure will fire.
    Also remember an Approval Procudure works only when you are in Add Mode and does not on Update.
    Regards
    Suda

  • Outgoing Payment Approval Procedure - Payment Wizard

    Hi,
    I was having an issue with the SAP Approval Procedures I was hoping I could get answered.
    I have created an Approval Procedure for Outgoing Payments in SAP 8.82 to always require approval.
    The approval procedure works fine when I create an Outgoing Payment by going to Banking >> Outgoing Payment >> Outgoing Payment.
    If I try to create an Outgoing Payment via the Payment Wizard, it does not go through the approval process.
    I have made sure that I have enabled the "Activate Approval Procedures in DI" functionality under General Settings. It still does not do the trick.
    Can someone please tell if this is an SAP bug or not? If not a bug, any suggestions as to what I might be doing wrong.
    Thanks,
    Krishnan

    Hi Krishnan,
    I believe this is by system design or another word a system limitation. The logic here is: if you are able to run the Payment Wizard, you have authorization already.
    A work around may be creating a user alert whenever you have the Payment Wizard run.
    Thanks,
    Gordon

  • Enhanced Approval Procedure Functions- authorization issue

    Dear Expert,
    I have activated the enhances approval procedure function as per below screen shot:
    Granted authorization as mention in New ChaRM Feature with SP 10: Enhanced Approval Procedure Functions by Michael. With SM_APP_AP with 02, 22 and 75.
    But the Request for change procedure selection and approval steps was disabled
    The requestor able to change the approval procedure and approval steps only  if i granted the user with 70 (administer).
    Please help as i want the requestor to be able to select the approval procedure and approval steps but not approving the CR. Im following the chart below but seem like is not working.
    Role
    SAP standard roles
    Activity for
    Change Manager
    SAP_CM_SMAN_CHANGE_MANAGER
    37 (approve) approval step, 75 (delete approval step), 22 (add approval step), 02 (change approval procedure assignment)
    Potential Approvers
    SAP_CM_SMAN_DEVELOPER
    SAP_CM_SMAN_OPERATOR
    SAP_CM_SMAN_TESTER
    37 (delivered inactive)
    Power User, Administrator
    SAP_CM_SMAN_ADMINISTRATOR
    70 (administer), 37 (approve) approval step, 75 (delete approval step), 22 (add approval step), 02 (change approval procedure assignment)
    Thanks
    Regards,
    Junnie

    Hi Jansi,
    I have added activity 22 (add approval step)  and 02 (change approval procedure assignment) but the approval procesure and approval step are disabled and not allow the requestor to select /add/ male changes.
    So im not sure which part is going wrong.
    Thanks
    Regards,
    Junnie

  • How to delete (remove) a approval procedures templates ?

    I have added an approval procedures template for 2 stages for Good Receipt PO.
    then we used this approval procedure for several days.
    recently , our manager hopes me to remove this approval procedure.    ╮(﹀_﹀")╭
    I have tried many methods to delete (remove) or stop this approval procedure.
    but , I still can not find out the solution.
    hope somebody can kindly give me a suggestion. :P

    Hi!
    THERE IS NO WAY TO DO IT.
    If you still want to delete it from the database please create message to SAP support. May be it helps.
    Regards,
    Anton.

  • Query base multiple levels  PO approval procedure

    Hi,
    My customer is having following requirement for PO approval procedure and would like to seek for solution.
    The suppliers are either CAPEX or OTHERS supplier which I think of using UDF U_CAPEXSUPPLIER=Y or N in BP master setup.
    OTHERS supplier PO
    <RM2000 approved by local accounts
    >RM2000 approved by CFO or one of directors
    CAPEX supplier PO
    <RM5000 approved by CFO
    >RM5000 approved by one of Board of Directors
    The 2000 and 5000 figures are applicable to both local and foreign purchase. ie if it USD suppliers then limit is USD2000
    Thanks and regards
    Thomas

    Thomas,
    Open Query Generator....Click Execute.....With the Red message at the bottom..you will see the SELECT *
    click on the Pencil icon and copy over each of my queries and save it using a different name.
    Then Add an Approval Stage for each Approver..
    Using the Approval Template..Give a Name...Make Sure Active check box is CHECKED next to the Name
    Select the Originators (users whose document should go through the approval process)..In the document tab select the documents for which this approval applies..Stages Tab..select the associated Approval Stage defined earlier..
    Term tab: Select When the following Applies
    In the lower window...double click onn the first row under Query Name..Select your query and ADD. 
    Make Sure Active check box is CHECKED next to the Name
    Suda

  • Approval Procedure workaround

    Hi Experts,
    Our client is currently using SBO 2007 A SP00 PL 47 and they want that the approval procedure will have levels during approval. This means that the 2nd approver will not receive the initial approval request, but only after the approver 1 approves the document. I know we don't have this functionality right now, but can you suggest any workaround or any query approval that will accommodate this requirement?
    Many thanks.
    Don

    Hi Don,
    This is standard SAP B1 functionality.
    You can setup multiple Approval Stages, Eg. First level needs to be authorised by the Sales Manager.  Then set up a second stage, eg. Second Level needs to be authorised by the Sales Director.
    On your Approval Template Stages Tab, select the First Level stage first, then underneath it select the Second Level stage.
    Now when a document needs to be approved, it will only go to the Sales Director once it has been approved by a Sales Manager.
    I hope this answers your question.
    Regards,
    Adrian

  • Approval Procedures - customization popup Alert

    Hello,
    is possible to customize popup Alert which is displayed for users based on 'Approval procedures'  ?
    I have procedure based on user query which controll  , if in  'Goods Issue' is filled input Ref.2 (it works nice)
    My goal is inform the users via popup Alert with my own text, so that they can understand what is wrong and cancl the Approval Procedure and could correct/fill the input Ref.2.
    thanks for any idea
    Regards Zdenek

    Hi Zdenek,
    If a Document went for approval, the document will get automatically saved as Draft, with the status of Pending for Approval.
    Once it approved, then Draft- Approved
    You can retrieve data from Draft table. I mean draft documents for which approval status is pending  / Approved / rejected /  Document added or not etc.
    Select  A.DocDate, A.DocStatus, A.WDDStatus, A.* from ODRF A
    where A.ObjType = 60--for Goods Issue
    and A.WDDStatus<>'-'
    Hope this will help you
    You can modify the query as per your requirement
    Thanks
    Unnikrishnan

  • Approval Procedure to change the price of items

    Hi!
    i 'm trying to create a query to an Approval Procedure to change the unit price in the Purchase Order  i create this query:
    SELECT DISTINCT 'True' FROM POR1 T0 INNER JOIN OITM T1 ON T0.[ItemCode] = T1.[ItemCode] WHERE T1.[ItemCode] = $[$38.1.0] AND T1.[LastPurPrc] <> $[$38.14.0]
    as you see this query compare is the Last Purchase Price is different than the actual unit price, and these for each line of item.
    I think this is correct, and i configure the Approval Procedure, but when i check the AP in the Purchase Order changing the Unit Price, it gets me an error that says
    1) [Microsoft][SQL Native Client][SQL Server] Error converting data type nvarchar to numeric.
    What happend?
    Am i doing something wrong ?
    In easy term, i just want to execute an approval procedure when the user change the unit price in the purchase order.
    Hope you can help me !
    Thanks in Advance
    Best Regards !

    Xavier,
    maybe you are with a problem thar you dont' know, i can to expain this point,
    1. if you want one approval at level line (comparing prices), not possible to make this way the approval, because you don't have control at level line while the document isn't in database.
    2. i bealeve that the better way is to make a store procedure for to insert each record into temp table while to add line in purchase order without (formatead seaches), now, when you create a purchase orden you need create a query for to search record in the temporal table with the condicion that you needed.
    3. now, if you want to call a value on the screen (money), the better way is $[$38.1.number]
    Good look,
    OSCAR KLENNER
    > Hi!
    > i 'm trying to create a query to an Approval
    > Procedure to change the unit price in the Purchase
    > Order  i create this query:
    > SELECT DISTINCT 'True' FROM POR1 T0 INNER JOIN OITM
    > T1 ON T0.[ItemCode] = T1.[ItemCode] WHERE
    > T1.[ItemCode] = $[$38.1.0] AND T1.[LastPurPrc] <>
    > $[$38.14.0]
    > as you see this query compare is the Last Purchase
    > Price is different than the actual unit price, and
    > these for each line of item.
    >
    > I think this is correct, and i configure the Approval
    > Procedure, but when i check the AP in the Purchase
    > Order changing the Unit Price, it gets me an error
    > that says
    > 1) [Microsoft][SQL Native Client][SQL Server] Error
    > converting data type nvarchar to numeric.
    >
    > What happend?
    > Am i doing something wrong ?
    >
    > In easy term, i just want to execute an approval
    > procedure when the user change the unit price in the
    > purchase order.
    >
    > Hope you can help me !
    > Thanks in Advance
    > Best Regards !

  • Approval Procedure - how to pass value to query

    I want to do an approval procedure for checking GRPO Qty which greater than PO OpenQty by Query.
    How to pass the GRPO DocEntry and LineNum to the query, and how can check the passing value is correct or not?

    I have tested one row only, but also not work.
    Here is the query I used.
    select case when (t1.openqty < $\[PDN1.Quantity.0]) then 'TRUE' ELSE 'FALSE' END as RESULT from pdn1 t0
    right outer join por1 t1 on t1.docentry = t0.baseentry and t1.linenum = t0.baseline
    where t1.docentry in ($\[PDN1.BASEENTRY.0])
    group by t1.docentry, t1.linenum, t1.quantity, t1.openqty
    having (sum(isnull(t0.quantity,0))  < t1.quantity)
    order by t1.docentry, t1.linenum, t1.quantity, t1.openqty
    If the pass value is correct, the result should be like this.
    TRUE
    Is the query wrong? Any suggestion?
    Thanks.

  • Approval Procedure - User Query .....!!

    Hi Experts,
    In our organisation we have a approval procedure applicable on sales order. There are two authorizer authorises specfic users request. Now the problem is for a specific customer order can we use a separate query to change the authorizer ??
    Example : -
    Approval Stage 1 : Authorizer A : User 1, User 2
    Approval Stage 2 : Authorizer B : User 3, User 4
    Now, User 2 requires approval of specific customer order which will authorise by Authoriser B.
    Is there any way to write a query on Approval Template for that
    or User 2 has to be added on both the Approval Stage
    or anything else ?? Please guide.
    Regards,
    SK

    Hi,
    There is no way to write a query on Approval Template for that. User 2 has to be added on both the Approval Stage.
    Thanks,
    Gordon

  • APPROVAL PROCEDURE THROUGH QUERY

    Dear Suda,
    Now i am telling wat i have actually done and wat is its result. Please try to understand it.
    First of all I have made the querry below-
    SELECT DISTINCT 'True', T1.DiscPrcnt AS 'Discount % per Row', T0.SlpName AS 'Sales Employee Name' FROM [dbo].[OSLP] T0 INNER JOIN [dbo].[RDR1] T1 ON T1.SlpCode = T0.SlpCode WHERE (T1.DiscPrcnt > 25 )
    In this querry i have typped DISTINCT 'TRUE' manually but keeping the SELECT table as it is.In this case the system is not asking me for any kind of discount (not greater than 25% or not less than 25%)
    After that i have modified above querry as below-
    SELECT DISTINCT 'TRUE' FROM [dbo].[OSLP] T0 INNER JOIN [dbo].[RDR1] T1 ON T1.SlpCode = T0.SlpCode WHERE (T1.DiscPrcnt > 25 )
    In this qurry i have typped DISTINCT 'TRUE' manually. When i executed this qurry i jst get the true in first row first column place.When i have attached this querry to approval, and after that when i have started for creating purchase order with the originators log in then in this case the system is asking approval for every discount from 0% to 100%.
    Wat shud i do now...Please reply ASAP.
    Swapnil

    Hi, Swapnil!
    You are on the right path, but I'm not sure if you can run this approval procedure at the line level.
    The queries you had are against the wrong table (RDR1 is a Sales Order table) and are missing the link to the active document. You have to add the reference to the active document or else you are pretty much querying against the entire RDR1 table.
    You need something like this:
    SELECT CASE WHEN ($[$38.15.Number] > 25) THEN 'True' ELSE 'False' END
    38 is the grid and 15 is the column for the discount.
    I tried a basic case and it didn't work. I think you need to loop through all the lines, but I'm not sure how to do this.
    You might have to create a header level UDF that changes automatically when the discount column changes, and has some logic to keep the highest discount you have on all the lines (something like: if discount greater than already stored value, update stored value) In the end, monitor this UDF for your approval procedure.
    Hope this helps!
    Liviu

  • Approval Procedure for User Form

    Dear All,
                   I am developing a Requisition add-on. It contains 2 stages. First user creates a requisition & then the authorized person approves this requisition.  My problem is that when user creates a requisition, an automatic alert should be on  the authorized person side. I can use Alert for this process. But my client wants the same functionality as the Approval Procedure in Admin Module. Can I use the approval procedure for the add-on forms also. ? If yes, then how can I do that because  Approval Procedure does not show the user form.  Help me regarding this. Any reply would be appreciated.

    Hi,
    Approval Procedure is not available to User Form. You may try to create the similar process by SDK but that needs too much coding.
    Thanks,
    Gordon

  • Approval Procedure Originator can't approve AR Credit Note

    Hi All
    Could someone please help me with an Approval Procedure where the Approver may also be an Originator.
    Within the Finance team each member defined in the Approval Procedure can approve another Originator's Credit Notes but not their own. Within the team, they may all be document Originators AND Approvers (as long as they are not approving their own document).
    Thankyou for your assistance
    Peter

    I don't think there is any easy logic to support you request.  Your option would be creating more Stages and Templates to fit each combination of the users.  In a simple word: Originator and Approver should not be the same in a Stage-Template pair.
    Thanks,
    Gordon

  • 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

Maybe you are looking for