How to block the contract

Hi,
I want to block the contract when it mets contract end date.

Hi,
We have also done this. we have done by doing some modifications in the user exit of MIGO by the help of abaper. the program will select the field validity end date from EKKO& compare the same with system date & if the current date is greater an error message will pop up.
Hope this helps u.
Have a good day.
Regards
Anil

Similar Messages

  • How to block the BP

    Hi all,
    how to block the particuler bp?
    thanks.

    Hello,
    Use T-Code 'BP'. Under status tabstrip, you select the check box 'Central Block'. This shall block few activities for the BP.
    However I'd suggest to block all the contract accounts falling under a BP. This can be done using CAA2. Under General data tabstrip, update the 'Posting lock'. This shall block all the activities for a contract account.
    Hope this helps
    Rgds
    Rajendra
    Points!

  • How to block the creation of a Sales Orders without a linked Purchase Order

    Hi. I'm trying to block the creation of a Sales Order that doesn't have a linked Purchase Order. The first thing I did is using the SBO Transaction Notification as follows:
    IF  @transaction_type = 'A' AND @object_type='17'
    BEGIN
         IF (SELECT PoPrss FROM ORDR WHERE DocEntry = @list_of_cols_val_tab_del) = 'N'
         BEGIN
              SET @error = 1
              SET @error_message = 'Purchase Order Missing...'
         END
    END
    This works good. I create the Sales Order, I tick the purchase order field on the logistics tab, I click Add, and then the purchase order window appears...
    Then, the problem begins... If I click the Cancel button, the purchase order is obviously not created, but the Sales Order is created.
    Can someone tell me how to block the creation of the sales order If the user press the cancel button on the purchase order window (and the purchase order is not created)
    As far as I can see, after clicking the add button in the sales order document, the Sales Order is created on the DB. If there's no way of blocking the creation of the Sales Order, can I avoid closing the purchase order window by the SBO_TransactionNotification? (if the purchase order has not been created)
    Thanks...

    Hi Yail,
    I think you can't close the purchase order with the stored procedure.
    Try to catch the Event when the user click on Cancel button.
    So you can list the vents with event logger : https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ede3be37-0e01-0010-1883-cd1b5293473e
    You can block the cancel button and force the user to create the purchase order.
    Hope i help you
    Best regards
    Michael

  • How to block the Creation of Mulitple Excise Invoice in J1IS

    Hi Sap Gurs,
    Can any tell me how to block the System allowing  to Create One more Excise Invoice in J1IS against Same GI Material Document no (Ref Trans Type:MATD) for Outgoing Materials ie:Stock Transfer from One Plant to onother Plant by Mvt Type 351(Single Step Procedure)
    In SD, System is not allowing to Create One more Excise Invoive against One Billing Document Untill we Cancell the same.
    I want to make it like same for the above Issue.
    Pls check it in your system and give a Feed Back.
    Thanks in advance.
    Bye
    Sathish

    Hi Yail,
    I think you can't close the purchase order with the stored procedure.
    Try to catch the Event when the user click on Cancel button.
    So you can list the vents with event logger : https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ede3be37-0e01-0010-1883-cd1b5293473e
    You can block the cancel button and force the user to create the purchase order.
    Hope i help you
    Best regards
    Michael

  • How to determine the contract header's valid period...

    1. How to determine the service contract header's start date, end date, when related muliple items with different start date and end date?
    i.e., what is the different between the header's valid period and item valid period?
    For example:
    Sold to A has 5 items, which has different contract line item start date and end date, e.g.,
    item 2: 2010.9-2011.9
    item 3: 2011.4-2012.4
    As for combined the all item bolonged to sold to A to one contract, so the item should have different contract start date and end date.
    However, how to determine the contract header's start date and end date?
    2. Another question is: When process service contract data migration from legance to CRM, how to design the above scenario logic?
    Thanks in advance,

    Sent again, to wait the answer....

  • How to block the cost center

    Dear Guru's
    Can any tell me how to block the cost center, can we detele which is having values. can we delete which is not having values
    Regards
    Chandra Sekhar Reddy.P

    Hi,
    Once you post actual values or any planning exists on this cost center you cant delete.
    To ristrict posting to cost you have two options.
    1.You can change validity period.
      change  end from 12/31/9999 to what ever date you want to stop posting(e.g. as of today 10/23/08)
    2. lock all postings to cost center on Control data tab in KS02.
    Thanks,
    Rau

  • How to block the GR against a PO

    Hi All,
    how to block the GR against a perticular PO item or full PO.
    I use "Delivery Complete" option in "Delivery" tab, but still it allow me to make the GR against the PO.
    I am waiting for the quick reply.
    Thanks & Regards
    Pankaj Garg

    delivery complete indicator willnot help u fully.what u can do is after selecting the delivery complete indicator change the quantity of the PO to what u have already received i.e. if ur po has 10 pcs and u have already received 4 pcs and dont want to receive any further quantity then change the PO quantity to 4 pcs.
    Again if u havent received any quantity against the PO then u can select the line items and select the block (key like) indicator or delete (dustbin like) indicator.
    regards,
    indranil

  • How to Block the material

    Hi friends,
    How to block the material ,
    what are the implecations if we block a material?
    Regards
    Krishna

    Hi,
    The best way is to keep the materail status with deleted or blocked for puchase / sales and need to maintain in the materail master.
    You cannot delete the material from material master until archiving but you can block that material for any procurement
    Goto Basic data 1
    X-plant matl status -
    01 Blocked for procment/whse
                                           02 Blocked for task list/BOM
                                           10 Blocked for MRP
    Select any one.
    Valid from  -
    Here you enter valid date from which the material should be blocked.
    So from this your material will be blocked for any PR/PO/any transactions related to Procurement
    BR,
    Krishna

  • How to find the Contract Start date

    Hi Friends,
    with the help of the Transaction type, Item Category,reference Interest rate, how to find the Contract Start date/Billing Strat date and the Contract number.
    Regards,
    Raju.

    Hi
    naj you can find the contract start date and billing date in crmd_order Financial details data tab, start of contract and Billing and the contract no u will find after Approval of Eligibility Norms, then save go to actions create certificate of acceptance the you will get contract number
    Reward with Points
    Venkat

  • How to Block the GRN,

    Dear Experts
                       How to block the GRN, to avoid the excess inventory for the particular  material.

    Hi Raja
    I assume that you are referring to stopping GRN of goods with resepect to the PO qty
    In that case If you want to stop the GR of more goods than the quantity ordered, you can use delivery
    tolerance settings in either material master data or purchase info record data.
    Regards
    Vikrant

  • HT3702 How to block the iTunes purchases

    How to block the iTunes purchases

    You will need to contact iTunes Support to ask them why it's appearing, and whether you can do anything to stop it happening again (we are fellow users on here, we won't know why it's appearing) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • How to block the invoice ,if the GR qty is in QA stock

    HI all,
    how to block the invoice,if the GR stock is in QA tock?
    But i have maintianed quality control key wiht the parameter like ivoice block and maintained in the respective material master data, even though invoice is not blocking?
    plese tell me is there any seetings required.
    thanx in advance.
    Regards
    Srinivas

    Hi,
    It is not the total invoice which is equal to zero but only one post.
    As I explained it at first the problem is the following one:
    In the rules of copy we use the field " Pricing type " with the value " C = Copy manual pricing elements and redetermine the others ".
    he order is complete and the price of the post is not equal to zero.
    +During the invoicing the system makes a new search for the prices in the tables of conditions.
    If the condition does not exist in the date of invoice the post takes the zero value.
    I look for a solution to block the creation of the invoice if a post only is equal to zero after the updating of the prices.
    Thanks
    Frédéric

  • How to block the 'save' function when the required fields are not filled?

    Hello, Everyone
    I am new for this scripting. My question is:
    How to block the 'save' function when the required fields are not filled?
    I designed a PDF file with some required fields and I do not want the user to save the document until all required fields are filled. My idea is to write some scripts in Willsave method like:
    if (this.getField("Family Name").value == ""){
    app.alert('You should fill the Family Name field firstly!');
    But I do not think it works as finally the document is saved after all.
    Please help me on that!
    So much thanks.

    Dear Randybearwang,
    I am a Rocky myself and I know how though it is to establish some good codes. Since I created some forms with validation options myself I might have a code for you. The code also creates an alert box (Yes/no option) if the user chooses yes the form will be validatet, if he chooses "no" the alert window will be closed.If  everything is filled out correctly the form will be saved otherwise the textbox will be higlighted and gets focus.
    If you need further assistance , please let me know
    Have fun with the code.
    P.s I don´t know how to upload the "PDF" document. I wrote you an email, please get back to me if you still need the file.

  • How to block the lost iphone 4s?

    How to block the lost iphone 4s?

    You would have to have set up "Find My iPhone" in your iCloud account, and use that same app on another computer to synced to your iPhone to block it.
    Hope this helps

  • I need to know how to block the option menu on firefox because my students change the connection option bypassing the proxy that should block them when it's not alloud surf on the web. Thank's

    I need to know how to block the option menu on firefox because my students are able to change the connection option bypassing the proxy that should block them when it's not alloud surf on the web. Thank's

    See http://kb.mozillazine.org/Locking_preferences
    <code>//
    lockPref("network.proxy.type", 1);
    lockPref("network.proxy.http", "");
    lockPref("network.proxy.http_port", "");
    </code>
    See:
    http://kb.mozillazine.org/network.proxy.type
    http://kb.mozillazine.org/network.proxy.%28protocol%29
    http://kb.mozillazine.org/network.proxy.%28protocol%29_port

Maybe you are looking for