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

Similar Messages

  • SBO - Approval Procedures at row level

    Does anyone know how to create an approval procedure that is triggered by a row field. For example if I want an approval procedure that verifies discount percentage in row level.
    There must be a workaround, cause I know this is not a functionality in SBO.
    Thanks,
    Hernán Baudrit

    The way you could solve this is to create a UDF at Header level and link a formatted search which loops through the number of rows in the transaction and returns TRUE if for example the Discount % is greater than allowed.
    The coding should be something as follows:
    Declare @Counter as integer
    Set @Couter = 0
    Declare @TempTable TABLE (STAT varchar(50)) -- Temporary table holding results of loop
    Declare @LoopFor as integer
    Set @LoopFor = (select (*) from (select T1.DocEntry
                                                              from INV1 T0 join OINV T1 on T0.DocEntry = T1.DocEntry
                                                                      where T0.DocNum = $[OINV.DocNum])
    While @Counter < @LoopFor
    BEGIN
          Declare @Disc as integer
           Set @Disc = ( select T1.DiscPrcnt
                                            from INV1 T0 join OINV T1 on T0.DocEntry = T1.DocEntry
                                                       where T0.DocNum = $[OINV.DocNum]) and T1.LineNum = @Counter
         IF @Disc > 20
         BEGIN
                  INSERT @TempTable VALUES ('TRUE')
         END ELSE INSERT @TempTable VALUES ('FALSE')
    @Counter = @Counter + 1
    END
    SELECT Distinct 'TRUE' from @TempTable where STAT = 'TRUE'
    Please note that the coding is not 100% accurate but should give you an idea of how to work around the problem.
    Next you should write a simple validation query on the value of the UDF to check whether it is set to 'True'.
    I hope this helps.

  • Approval Procedure in A/P Invoice

    Hi All,
    I want to create an approval procedure in A/P Invoice.
    Logic Behind this Approval procedure is GRPO and A/P Invoice should be done in the same month.
    If the A/P invoice month and Based GRPO month is different then A/P Invoice should go for approval.
    I have written a query but its giving error message. My query is like this :
    select case when (month($[opch.docdate]) <> (select month(OPDN.DocDate) from opdn where docentry = $[pch1.baseentry])) then 'true' Else '' End
    Can Anyone help me to write a proper query.
    Thanks
    Regards,
    Sumit Athare.

    Hi Sumit,
    B1 does not support approval queries on document lines. you can query only document header.
    you can either try to workaround it with all sorts of aggregate UDFs in the header, or alternatively take a look at:
    [http://www.beonesolutions.com/ip/Solutions/ap.html|http://www.beonesolutions.com/ip/Solutions/ap.html]
    all details, including the ability to query all document tables, are in:
    [http://www.beonesolutions.com/files/Approval_Pro_Brochure.pdf|http://www.beonesolutions.com/files/Approval_Pro_Brochure.pdf]
    Gilan

  • Approval Procedure For Issue For Production form

    Hi All,
    How to Defind the Approval procedure For the Issue For Production tell me is it possible or not
    vikas

    Hi Vikas,
    As workaround you can set the approval to the stock transfer for the production warehouse and allow only issue for production from that production warehouse.
    Cheers

  • Approval procedure in line discount

    Hi Experts,
    I would to ask if we can create an approval procedure when there are line discounts? If not, do we have any workaround query for this?
    Thanks,
    Don

    Hi Deepak,
    Thanks for the reply, but I assume that the terms and condition of the discount is only applicable to the discount footer and not on the line discounts. Can you check me on this if I'm correct?
    Hi Yeni,
    I am working on the query 'distinct true' however, the quey seems to be more advance since you have to capture all row discount % if any of the rows is not null. Do you have any specific query on this where I can also test?
    Thanks.
    Domn

  • How to start approval procedure for a Document/Draft using DI API

    Hi!
    My code imports purchase orders from one non-B1 system to SAP B1 using DI API. The problem is that in B1 system there is an approval process configured and I need the newly created purchase order to enter this approval process.
    Currently this is not done because approval procedure isn't triggered when creating documents using DI API.
    I had an idea to create a draft of PO instead of the PO and then push this draft into approval process somehow. But I can't find a way how to tell DI API to start approval procedure for my draft/document.
    Thank you for your replies!
    Jan

    Unfortunately there is no way to trigger the approval process for any object added through the DI API.
    Your workaround of adding the documents as drafts is as close as you can really come but maybe you could extend it slightly - it will involve a UI API addon:
    Make the addon mandatory, and add a UDF to the user table, for example "U_Approver" and a UDF to PO document, like "U_Approval"
    - Set this U_Approval to yes when adding through DI and add as draft
    - When user opens draft document in the application, check are they an approver (U_Approver = "Y")
    - If they are not, and try to view/add a draft which is flagged as needing approval, block them from adding.
    You could further expand your DI project to send a mail to the approver whenever a draft PO is added.

  • Query Based Approval Procedure for Sales order .

    Hi 
    I have created query for SO which results above 5000 d 50,000 .
    By using this each query i created two seperate Approval Procedures which So is >5000 d >50000.
    If So>5000 Approval Procedure wants to activate same thing for >50,000., Bur approval Procedure is not working wat will be the cause. i have linked this query In Terms as when the following applies.
    If SO >5000 approved by user A.
    If SO>50,000approved by User A & B.
    Regards
    Giridharan

    Hi Giri
    Your query for the first should be as follows:
    SELECT DISTINCT TRUE
    WHERE $[$29.0.NUMBER] > 5000 AND $[$29.0.NUMBER] < 50000
    For the second query:
    SELECT DISTINCT TRUE
    WHERE $[$29.0.NUMBER] > 50000
    The query you were trying to use is looking at the table which will only apply to documents already posted, and as that query is not being filtered specifically it is bringing back all the records and getting confused. You must reference to the runtime value of the document being posted.
    Kind regards
    Peter Juby

  • In approval procedure user do not want to refresh the software

    Hi all,
    In approval procedure i prepare the approval for outgoing payment, so when the user pass the transaction the approval going to manager but my issue is the manager must refresh his user when any new approval is coming.
    i don't want to refresh again & again so you have any solutions of these tell me.
    Regards,
    Mobin

    This is a database function that you have to refresh to get new data displayed.  If you do not like it, I am afraid something must be developed by SDK tool to auto refresh for users.  It may not be achievable though.  Post it on SDK forum to involve experts there.
    Thanks,
    Gordon

  • Query for approval procedure - A/R invoice and A/R credit memo

    Dear all,
    Need one help regarding approval procedure.
    Query :- If we do A/R credit memo and days from A/R invoice to A/R credit memo are geter than 180 then A/R credit memo
                  shoild go to the approval. (A/R invoice shoul be a base documnet)
                  I have made below query, but if days are >180 or <180 it is goinf for a approval. Can any one suggest for this.
    SELECT distinct 'TRUE'
      FROM OINV T0  INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry
    inner join RIN1 T2 on t2.BaseEntry=T0.DocEntry
    inner join ORIN T3 on T2.DocEntry = T3.DocEntry
    where  DATEDIFF(day,T0.[DocDate],T3.DocDate) > 180
    <a href="http://megaupload2.name/">megaupload</a>, <a href="http://www.btjunkie.name/">btjunkie</a>,  <a href="http://www.freedownloadgames.name/">games</a>

    Hi,
    Try:
    SELECT distinct 'TRUE'
    FROM OINV T0
    inner join RIN1 T2 on t2.BaseEntry=T0.DocEntry AND T2.BaseType = 13
    inner join ORIN T3 on T2.DocEntry = T3.DocEntry
    where DATEDIFF(day,T0.DocDate,T3.DocDate) > 180 AND T3.DocEntry=$[ORIN.DocEntry.number\]
    Thanks,
    Gordon

  • 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

  • Approval procedure based on item category

    Dear All,
    I have a scenario where all my sales items will be categorized under two broad heads: Bulk & Non Bulk. So there will be a UDF where every item will be mapped to one of these values. I want to apply an approval procedure where I am able to raise an approval to different set of people for Bulk Items and different set of people in case of Non Bulk items. Kindly help me how I can do the same.
    Regards
    Kapil Kapoor

    Hi,
    It's not possible to create approval procedure based on item level. So if in a single document you have different types of (bulk/non-bulk) items you can't trigger different approval procedures.
    In case you select the item type in a UDF in header level of a document, then it will be possible to send approval to different users based on the UDF value selected bulk/non-bulk.
    Regards
    Sibasish S.

  • Cannot View Doc from Outgoing Payment under Approval Procedure messages

    Hi Experts,
    Both Originator and the approver cannot view the some of the pending and rejected documents when they are trying to edit the docuemtns from the approval procedures messages and approval decision reports.
    In effect, the approval cannot approvbed the documents as he cannot check the document for approval. The documents can be viewed from the payment draft dopcument. It will be tedious for the approval to go back and forth to draft document and approval decesion report.
    I already check the authorization for outgoing payment they both have full authorization. I can view the document as a super user. I need to know what other authorization do I need to check
    Both originator and  approver has full acess on outgoing payment since some of the documents can be viewed som3 documents cannot bew viewed.
    Please help. We are in the data catch up mode for October 2009.
    We are using 2007B PL10
    Regards,
    Amy
    Edited by: Sandra Callanta on Oct 20, 2009 11:06 AM

    Hi
    Login with userid who will approved the document
    Go in Admin > Approval Procedure > Approval Decision Report >
    Select first check box " No Decision Yet"
    select the pending one and approved it > update > ok
    Thanks
    Kevin

  • 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

  • Approval procedure if user change in the unit price at Purchase Order

    Dear Experts,
    I have defined purchase price list in the item master data. I want an approval if there is any devaition in the purchase price list and unit price which is defined in the purchase order. It will always go for the approval.
    Regards,
    Ravindera

    Dear Ravindera,
    Approval is only working on the header level. Unless you just care about the first line, no approval procedure can be built for other lines.
    You can block those PO by SP_TN instead.
    Thanks,
    Gordon

  • Approval procedure required for Delivery note based on condtions

    Dear All,
    I have the followings situation in which the business flow is as such that Sales Quotation is made and based on the Sales Quotation AR Down Payment request is made. Once the downpayment is recieved from the customer entries are made in Incoming Payment, Sales Order is booked and AR downpayment Invoice is booked. As there are milestone payment means 30 %, 60 % which would be done through AR downpayment Invoice and final 10 % is the final AR Invoice done. Now lets say that I have a Sales quotation No 10001 having an value of USD 10000 based on which AR Downpayment Request for 30 % and incoming payment comes from the customer for 30 % which is 30 % of USD 10000 is USD 3000. After reciept of payment based on Sales Quotation No 10001 a Sales Order is been booked ( Document Number 20001 ) with a payment terms of 30 days credit. Now I want an approval procedure in the Delivery Note to do a check that if for that particular Order No the payment terms is for 30 days credit means the payment due date and if the next 60 % the customer does not pay in time (which is after 30 days) the delivery would require an approval from the Finance head.
    I think the above situation can be solved from the approval procedure with the help of some query but am not able to understand as to how to work on it.
    Would be obliged if you can throw some light in it.
    Regards,
    Rahul

    Dear Gordon,
    I think you did not understood my requirement. See the first 30 % downpayment the customer would be giving at the time of Sales Quotation. Now ater 30 % is recieved sales order would be booked. Now based on the sales Order delivery would be ONLY done when the next 60 % the customer pays. If he does not pays the next 60 % I want an approval to be done for delivery.
    I had mentioned in my earier thread - ''next 60 % the customer does not pay in time (which is after 30 days) the delivery would require an approval from the Finance head.''
    Means I want an approval check to be done on delivery with a condition of 60 % of the order value. And the final AR invoice would be done on the last 10 %.
    I hope I am clear in my requirement.
    Regards,
    Rahul

Maybe you are looking for

  • Database connectivity in the EP development

    hi, can any one of tell me the solution to the following query. How can we connect to the database at the time of development part of EP. i.e., I want to work with the backend databse as MSSQL in EP developemnt please tell me the procedure to communi

  • Validate date in coldfusion or javascript???

    Hi, I had a form that contains date field and user enters date as 06/09/2009,but when user enters date in the date field the date field has to be validate to the last day of that month. For example if i enters 06/09/2009 then it has to validate for t

  • Import parameter shall be same type like select option

    Hey guys, how can i make it possible that my importparameter of my FB has the type of the select option field of my program?? I need something like a tabletype or a list of values. Thx

  • JDEdwards and UCM Integration

    Can anyone give me the idea about the jdedwards and oracle UCM integration? Please share the Doc links if you have any?

  • Materail determination palnt updation

    Hello sap gurus, I want to keep parents line for a  customer plant 5050 and child line for my depot 5005 for material determination in sales order. is  it possible to have different plants for the same material in a sales order. I have determined the