Approval for Contract and Order based on PO date and Document Date Combinat

Dear All,
    I have a critical requirement from my client.
1. If the PO date in the contract is less than 10 days or more of the document date [Created date] then further process should not be allowed. Only authorized person should release the contract, and then order creation should be possible.
For example: Customer PO date is 18-07-2011 and if the document date is 28-08-2011, then system should stop for further processing. Only after release this should be allowed to proceed.
2. Sales order scheduled date for item is 30.07.2011 and if the PO date is 18.07.2011 again system should again go for approval. Business requires this because the time gap between the PO date and the delivery date is very short, so only on approval the next process should be allowed.
Is this possible through Status profile? I have tried this but I canu2019t give condition like if it less than the PO date system should go for approval.
Kindly guide me if this is possible and share your ideas.
Best Regards,
Venugopal

Hi Venu,
       In user eixt USEREXIT_MOVE_FIELD_TO_VBAP (inlcude MV45AFZZ) write the code to compare the PO date and contract creatioon date and if the PO date is 10days less than the contract creation date reject all the line items with a special reason for rejection at the item level if the document is a contract or if the document is a sales order then populate a delivery block.
Regarding the authorization to release the contract you can think of below options.
Give authorization to only specific people to remove the reason for rejection or  remove the delivery block.
Or
If you want to automate the approval process then based on the delivery block setup workflow which will raise an event and trigger an email to the approver inbox. For the approval you can give options like Approve/Reject. Based on the apporver's action design the workflow to change the contract accordingly i.e either removing the delivery block or keep it as it is.

Similar Messages

  • N level-Approval for contract workflow (WS14000148) in SRM

    Hi SDN'rs
                  I want to activate N level-Approval for contract workflow (WS14000148) in SRM  
    When I am creating the contract in SRM I can see the approvers in the approval preview.
    But when I release the contract and look at the approval privew there are no approvers
    and the status of the contract is released.
    We are on SRM Server 5.5 and SP 07.
    Here what I did
    1. I implemented the BADI 'BBP_WFL_APPROV_BADI' using the sample implementation and populated the approvers.
    2. I activated events SAVED,CHANGEVERSIONSAVED for WS14000148 in OOCU transaction.
    3. I see event linkages for WS14000148 for both events SAVED,CHANGEVERSIONSAVED in SWE2 transaction.
    4. I assigned role SAP_EC_BBP_PURCHASER to for subworkflow N step for contract WS14000147.
        ( User who is creating contract has this role)
    5. Consistency check for WS14000148 is green and WS14000147 is yellow in SWUD
    6. Event simulation for BUS2000113 and events SAVED,CHANGEVERSIONSAVED shows WS14000148 successfully started.
    I see dump in ST22 with errors TSV_TNEW_PAGE_ALLOC_FAILED and SYSTEM_NO_SHM_MEMORY with WF-BATCH is this any thing to do with that?
    If any one know what are the steps I am missing please let me know.
    Thanks
    A S

    Hi
    Please refer to these OSS notes which might help.
    <u>Refer to following OSS Notes -></u>
    Note 735026 - Memory problems at BBP_GETLIST_INDEX_FILL
    Note 932836 - BBP_GETLIST_INDEX_FILL: Activation not possible
    879528 WS14000148: Send mail to initiator incorrect
    901200 WS14000148 dia wrk item despite NO_FURTHER_APPROVAL_NEEDED=X
    879873 BUS2000113: The Object_ID attribute may be empty
    903015 BAdI Workflows: Events and parallel steps
    901068 BAdI Workflows: Enhancement of Note 896556
    769458 Dynamic workflows: No adjustment after document change
    972757 Occurence of the SYSTEM_NO_SHM_MEMORY runtime error
    741864 FinBasis: Termination TSV_TNEW_PAGE_ALLOC_FAILED
    864473 Deactivating the shared memory when searching by prefix
    928642 Container factory: Shared memory dump update
    Refer to these links.
    <b>http://help.sap.com/saphelp_srm50/helpdata/en/2c/e68d406b305537e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/26/0f8b41ed891609e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/6b/eca441eea7ef0be10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/f7/a6a3415e34b05fe10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/6b/eca441eea7ef0be10000000a1550b0/frameset.htm
    </b>
    <u>Also raise an OSS message with SAP as well.</u>
    Regards
    - Atul

  • Approval for Contracts

    Hi all,
    I created Contract for which I didn't define approver. Why, after I released it, Contract status is yet "Waiting for approval"? Maybe an contract approval workfolw was defined? If yes, how can I modify it?
    Thanks, Regards,
    Maria

    Hi Yann,
    the starting condition related to Purchase Contract- Evant “SAVED” is the following:
    &Purchase Contract.Previous Doc. Type&                        EXTREQ     or
    &Purchase Contract.Previous Doc. Type&                        BUS2121     or
    &Purchase Contract.Previous Doc. Type&                        BUS2202     or
                  &Purchase Contract.Previous Doc. Type&       NX                                                                                and
                  &Purchase Contract.Last Changed By.Activity Group&       CE                   SAP_BBP_STAL_PURCHASE_MANAGER       
    IF TRUE Workflow Without Approval for Contract
    Else No Action
    How can I allow Contract have no approval step? Modifying this start condition?
    Thanks very very much, Regards,
    Maria

  • Approve quote to be ordered based on workflow activity assigned to the user

    hi,
    how to approve the quote(cart) to be ordered when user clicks place order based on the workflow activity assigned to the user.
    regards
    yesukannan

    Thanks for the quick response.The workflow rule will work only for certain combinations.
    I am trying to avoid using different combinations of the word "Convention Center" in the workflow rule since the word convention center could be spelled with mixed cases by the sales people.For example - Convention center or convention Center or CONVENTION center.
    I don't want to check for the different combinations of the convention center string in the workflow rule since i need to check for other fields in the opportunity and the expression could get very long.
    I am trying to convert the opportunity to upper case and then check for 'CONVENTION CENTER' so that it will handle all the scenarios.
    Thanks
    Swami

  • I need a Bapi or stanard FM for "All CRMD orders based on a PARTNER no"

    Hi,
    I am new to CRM.
    I have a requirement in MI .
    I have to develop a BapiWrapper where i have  to get the "All CRMD orders based on a PARTNER no"
    so please tell me is there any Bapi exist for my requirement.
    please help me.
    lakshman balanagu.

    Hi Lakshman,
    There is a cool FM for that. Try FM CRM_BUPA_READ_ORDER_OBJECTS and check the result in ET_SEARCH_RESULT exporting table parameter. Then you can filter by the document type you want.
    Kind regards,

  • Types of PO for contract release order

    Hi Experts,
    What kind of PO type should I use to perform contract release order?
    What is the purpose to use or not standard PO (NB)? In wihch case do I need to use PO type FO?
    Thanks in advance,
    Cesar

    If you want to differentiate the Release Order from standard PO , then you need to define a new PO Doc type .
    ex: If the Std Doc type "NB" is used for PO Release process and you do not want release process for Release order.
         Similarly for Authorization Purpose also ( you want to restrict the Release Order creation to some users )..
    For Frame work orders, check the below Link
    Frame work Order

  • Reports for contracts & work order

    how can we generate reports for number of contracts & work order created on the basis of g/l account.
    e.g. g/l a/c 400000 has 20 contracts, so how can we view it collectively ?
    is there any t/code to view or generate such report
    also how to generate reports on the basis of work break-down structure (wbs) element normally used in projects
    sanket

    hi,
    ME3J - Outline Agreements per Project
    ME3C - Outline Agreements by Material Group
    ME3K - Outline Agreements by Account Assignment
    ME3L - Outline Agreements per Vendor
    ME3M - Outline Agreements by Material
    ME2J - Purchase Orders for Project
    regards,
    Ali

  • So....How do you apply for affiliation in order to get the links and support to build a site when applications are denied on sites under construction?

    Building a website , large , with old iWeb no less; not sure if i'm wasting my time. Not an expert, just have a dream. needed to ask a tech question on links to store if approved. But apparently I cannot build the site, complete with links as it will be under construction and denied approval. What does iTunes require? An up and running, possibly successfull site before approving me to re-do it with their links?

    I would suggest that you contact the Affiliate Help Desk and ask what they will need to see on your site before they can approve your application.
    http://itunesaffiliate.phgsupport.com/home
    Regards.

  • Requisition and Order Details (Shipment, Receipt, Invoice and Payment Detai

    Hi ,
    Business want Requisition and Order Details i.e Shipment, Receipt, Invoice and Payment Details to be displayed in same screen, users want to avoid clicking on "Details" button povided on in the requisition line item on iProcurment Self Service screen to veiw deails.
    This is to basically avoid too many mouse clicks.
    If someone had implemented similar solution please provide steps to implement.
    Regards

    We had a similiar requirement to help requisition approvers and we created a new custom page with the required info. It can help to seperate those items that only appear once per requisition compared to those that need to be displayed in a table for each req line.
    The page is accessed by personalisation to add a new link (via adding an image item to the seeded page)

  • Exchange rate basing on the duedate or document date

    Hi Friends,
    While doing postings, system is always taking due date as date for exchange rate conversion instead of baseline date/
    Example :
    Contract cashflow : 100USD - 01/09/2010 to 30/09/2010 - due date 01/09/2010 (exchange rate : 45.50 on 01/09/10)
                                      100USD - 01/10/2010 to 31/10/2010 - due date 01/10/2010 (exchange rate: 45.00 on 01/10/10)
    When i am doing RERAPP on 01/10/10 for september cashflow line item, system is taking exchange rate as 45.50 instead of 45.00. My query is what is the base date for exchange rate determination whether it is due date for a line item in a contract or posting date while doing RERAPP.
    If anybody workks on this scenario, provide some idea.
    Srini

    Hi Srinivas,
    let me know how you are taking currency translation rate, there are two possobilites
    1. Rormula in condition record
    2.Currency translation rule.
    If 1. one u have to wirte a badi to pick up condition start data or calcution start date.
    if 2. while creation of  Currency transation rule, you have to select procedure as Calculation start data as translation date.
    Regards
    Jilani

  • Selection of BOM for a purchase order based on Vendor

    Hello Gurus,
    We have one material which when ordered from two different vendors should have different components. To make this simple and easy for person creating Purchase Order how should it be implemented?
    How should we create BOM that it automatically picks up the right components when a Vendor is chosen in the Purchase Order? We don't want to create two different materials and different BOMs under it. As it is for same product. Please give guidance on this.
    Thanks
    Regards
    Sreepati Hari

    Hi Hari,
    Read the below SAP documentation for the mode of selection of BOM:
    - Selection by order quantity, the system chooses the alternative BOM into whose lot size range the order quantity falls. The lot size range and area of validity of the BOM apply.
    - Selection by explosion date, the system chooses the alternative BOM into whose area of validity the date falls according to the setting BOM via dates.
    - Selection by production version, the system chooses the alternative BOM defined in the valid production version. The lot size range and area of validity of the production version apply.
    - Selection only by production version, the system chooses the alternative BOM defined in the valid production version. The lot size range and area of validity of the production version apply.
    If no production version is found, no production orders or process orders can be created.
    So based on the above you can clearly understand that it is not possible to have BOM's tied to the Vendor. What you can do as a work around is, i.e. before creating the sub-contracting PO :
    1. Change the lot size to ensure the BOM you want gets picked
    2. Change the validity dates
    3. Change the status of the BOM in header, i.e. make the BOM which you do not want as Inactive
    4. As mentioned by you, have different materials & BOM for them.
    Hope the above helps.
    Regards,
    Vivek

  • Can we take standard report for all sales orders based on the condition typ

    Hi all,
    Based on the condition type, we need to take a report for sales orders on the particular date.
    Thanks and Regards.....VM

    Hello again.
    Searching for a solution, I found a Logical Database for sales orders, that have all the information that you need.
    Using like reference the post of Bhagavatula, in the same transaction SQVI you can use, instead of the suggested join, you can select a logical database called VAV in Data source.
    This logical database links the tables, VBAK, VBAP, VBUK and KONV that is the central point of the question.
    You can list the information of logical database using the transaction SLDB.
    In 'Logical Database' inform VAV.
    Press F8 to list all the fields.
    More information about logical database in:
    Link: [SAP Logical Database|http://help.sap.com/saphelp_46C/helpdata/EN/9f/db9b5e35c111d1829f0000e829fbfe/content.htm]

  • User exit for contract release order.......

    Hi All,
    I have a question...
    when we create a sales order and type the sold-to party the system dispalys(pop-up screen) the open contracts against the customer. It is up to us wheather we can copy any one of the contacts into the sales order and create a release order or we can just cancel the pop-up screen and create a new sales order with out reference to a sales order.
    <u>HERE my requirement is as follows</u>.
    1) <b>When a customer has open contacts  and validity period we should  make user to copy  any one of the the existing contracts in the pop-up screen.</b>
    2) <b>At the same time if the customer has got no contracts against him he should be allowed to cerate a plain sales order.</b>
    I have tried with user exit Change document & User exit Save document in include <b>MV45AFZZ</b> but our code (user exit) should fire before or at the time of pop-up screen(containing the open contracts against the customer) which is just not happening.
    Has any one of you came across of any solution for this kind of scenario...
    One last option i have got is to disable the close push button taking the access key  and changing the standard code........but this will effect the other places where this close button is used.
    Please let me know how to go about it.
    Thanks in advance......for your valuable time & precious knowledge.
    With regards,
    <b>Pavan</b>

    Have you tried applying code to EXIT_SAPLV46H_001 - Customer Function When Creating Item?
    Or EXIT_SAPLV46H_002 - Customer Function for Partner Changes?

  • Deliveries and contract release order ( LIKP ; LIPS tables)

    Hi,
    We have an extractor for SAP BW based on LIKP and LIPS tables.This extractor is fetching all the deliveries.
    What I want to know is , Do this tables have all the deliveries i.e deliveries against a sales order and also
    contract release order ( or call offs  or deliveries against sales order for customer with Contract).
    If yes, how can I seperate the deliveries for contract release orders, I mean based on which field?
    And also is there information on Total quantity of the Contract available from this tables?
    Thank you
    Regards
    mandha

    Hi Mandha
    Find field definition for following:
    VBELN : Delivery
    POSNR : Delivery Item
    LFART : Delivery Type
    PSTYV : Item Category
    LFIMG : Delivery Quantity
    KCMENG: Cumul Batch Quantity
    VGBEL : Reference Document
    VGPOS : Reference Item
    VGTYP : Sales Document Category
    ABRLI : Int Dlv Sched No.
    ABART : Release Type
    QUANT : Store Quantities
    You can use SE11 for definition of fields and table details.I hope this will help you.
    Regards
    Nagendra P Boggarapu

  • Single condition for contract and domestic sales

    Dear All,
    I just want to know is there any possibility to go with one condition type for contract and regular sales as in case of regular price will be determined automatically and not modifible, where as based on the requirement contract price condition will be created.
    Now under this process there is a problem and it is picking contract price in regular sales order also, but i want contract price need to be triggered only when it is referenced.
    Thanks
    Srini

    Hi,
    As I understood you want to have same Condition type (Say PR00) to have in  both Sales Document types. (In other words to have same condition type in both pricing procedures used for Contract & Sales Order)
    Since you want to set "Not modifiable" when it's in the sales order & when it's in Contract you want to manually enter same condition, this is not possible.
    Because, "Manual entries" control is inside the Condition Type.
    IMG Path:
    Sales and Distribution -> Basic Functions -> Pricing -> Pricing Control -> Define Condition Types -> Maintain Condition Types
    Therefore you can set it only for a condition type. Where is for PR00 it's either "Manual entry has priority" or "No limitations" or "Automatic entry has priority" or " Not possible to process manually"
    Therefore you cannot have same condition to satisfy both requirements. In that case you have to have 2 condition types,
    Best regards,
    Anupa

Maybe you are looking for

  • Automatically closing statements

    Hi. Is there a way to automatically close all statements and ResultSets associated with a Connection if all you have is the Connection? (without closing the Connection) Thanks.

  • Unable to compile servlet files in javac

    i am unable to compile servlet *.java files in javac.as far as i can see my path is correct. Kindly provide a solution as soon as possible. My jdk1.3 is in my c drive and my tomcat in my d drive. if you are able to compile kindly let me know your pat

  • Oracle Business Intelligence is not supported on this Windows version

    Hi Guys, I uninstalled OBIEE 10.1.3.4.1 and OBIA 7.9.6.1 and after that i did disk cleanup from Start->Accessories->System Tools-> Disk Cleanup. And after that when i tried to Install OBIEE 10.1.3.4.1 i got the following error. Oracle Business Intell

  • Ios8 email attachment disappearing

    ipad 3, ios8 just upgraded. email attachments are not opened, and disappear after first try. i receive emails with attachments (mostly pdf, pptx). the attachment are detected, and in the message list on the right i can see the paperclip marking them.

  • GRUB Troubles

    TL;DR I got a disk I can boot when I connect it to one machine but on the other I get to a screen showing "GRUB " and it freezes there. GRUB is configured with a --fs-uuid. Not sure where to go from here. Any suggestions? grub.cfg file: http://sprung