Block the purchase order

Hi,
Delivery was completed on 31/1/08 for a PO and the user still can delete the item on 25/07/08 (user mistake). Thus, we need to set a rule to disallow the user to delete the item/ making changes to pricing/ qty after the delivery complete. (This is better to grey out all of the fields which cannot allow the user to make any changes).
We do not have release strategy for PO's...
Thanks,
Rohith

Hi,
I guess this can be done functionally also. But if you want to do this technically, you can do it by writing a method and selected the PO value and line item details from EKPO table and blocking the PO. For Blocking the PO, see if any BAPI is available.
Regards,
Raj

Similar Messages

  • HOW TO BLOCK THE PURCHASE ORDER AND MARK FOR DELETION ?

    Hi ,
                        During the Creation of the Purchase order in the SAP System... After creation of the Purchase order should be blocked and a work item is created for the approver. If the Approver approves the Order then the Order is Unblocked and a mail send to the initiators inbox and the Order is Released. Similarly if the Approver Rejects the Purchase Order then its set for Mark for Deletion.
    I did Po creation and release part. But i am facing problem during the Blocking & Unblocking the Purchase order. If he rejects i need to set for "Mark For Deletion". plz help me to solve this...

    Hi,
    You can use bapi 'BAPI_PO_CHANGE' to change the status of PO and for release use bapi BAPI_PO_RELEASE.
    Hope this will help you.
    Smit

  • To block the Purchase orders with the help of Quality info record.

    Dear All,
    I have one requirement and it is as follows.
    In Quality Info Record we have a tab called Release in that there are two sections one is Release quantity and the other is Block.
    Now my client requirement here is : consider an example suppose he enters 100 in the quantity field,upto 100 the system must allow him to do Purchase Order after the 100 system must show an error that quantity is blocked and Purchase order cannot be created.
    The purchase order should only create when he changes the quantity from 100 to the higher quantity.
    Is this possible?
    if so kindly tell me what are the  normal settings and configuration settings to be done.
    as the client doesnot want to change it manually.
    Kindly guide me in this regard.
    Regards,
    santosh.

    Dear Santosh,
    E.g. lets say Release Qty. = 100.
    now, if the material received from vendor is OK, you want to continue with that vendor, and if material is rejected,no further material will be rceived.
    as, your client do not wants to do it manually,
    in q-info record, above "release qty" there is "Release qty. active"tick. so, create Z function module which will only reset the "QINF FREI_MGKZ" field, and assign it into Follow-up action for Usage decision for acceptance. it will be better to create new UD code.
    at the end, if Material is Ok, after UD, it will remove "Release qty. active" tick and you can continue with that vendor.  and if UD is rejected, system is not going to allow for PO, as release qty was 100.
    regards,
    Amol

  • Blocking the Purchase Order type

    Hi
    We have a requirement that we should not create a new P.O with one particular Purchase Order type, But we are in a position to edit the existing P.O. of that particular P.O. type.
    Kindly inform us without using Authorization concept.
    Regards
    Ravi Kumar.T.N.

    ThanQ Sandeep & Manoj Reddy from your immediate response.
    Initially I was done for the No.Range point of view, But we can able to create the P.O. & P.O. is showing of the starting no. of the no. Range. But it was not stored in the Database.
    Manoj Reddy actually our requirement is we should not use the Existing P.O. type for creating the new P.O.s.
    we want to create the P.O.s with new P.O.types so the user shouldnt raise the P.O. with the old P.O. type.
    By using authorisation control it will become too difficult so kindly suggest anything from functional side
    Regards
    Ravi

  • Reset Release Strategy for any change in the Purchase Order

    Hi,
    Is it possible in SAP standards to reset release strategy for even minor changes in the Purchase Order irrespective of whether it is value change or any change in the text or Purchasing group change or whatever it is?
    If so, where do we need to make the configurations.
    I have seen in some thread about resetting the release strategy for decrease in Purchase Order value.Even that was possible through some BAPI.
    Thanks in Advance.
    S.Raghavan

    hi sandesh,
    sorry, i know it's too late.
    i tried your suggestion, it works blocking the purchase order after release strategies are setted.
    sandesh, raghavan:
    i need to reset the strategies after to make any change in the po. i'll appreciate your help if you can give it.
    regards
    f

  • Need to find how to relate the purchase order table with account assignment

    i need to reterieve the account assignment from the table bbp_pdacc, what is field or any tables that is between BBP_PDACC and Purchase order number or the purchase order items. I am working on the SRM system

    Jacques-Antoine,
    You can't directly translate a repeating node or element (such as an Item or a Project Task from the Accounting Coding Block of an Item) to a singular node or element.
    The reason is that, though your use case may have the elements assumed to be the same for all items, this isn't necessarily the case, so ByDesign won't assume that you can use that kind of logic.
    The simplest approach would be to do an On-Save at the Root node of the Purchase Order along the following lines:
    this.projecttaskpo = this.Item.GetLast().ItemAccountingCodingBlockDistribution.AccountingCodingBlockAssignment.ProjectTaskKey.TaskID;
    i wouldn't actually recommend this code.
    You'd need validations for IsInitial, IsSet, and those kinds of functions.
    i'd at least use some foreach loop to check that all the accounting coding blocks were for the same task, raise warnings if they weren't, etc.

  • How to extend Project Task in the Purchase Order header?

    Hi everybody,
    I am facing a problem I am sure is not so hard, but I cannot find my way through it.
    So, my objective is to extend the Purchase Order Header with the Project Task ID.
    I created the extension field first, as below:
    But I just cannot find how to populate it automatically from the data in the Project Task field.
    I tried a Relation in a BO extension going through the AccountingBlockAssignement, but it seems to not be functional.
    I also tried to make a Reference to the extension field and created an Event After Modify like:
    this.projecttaskpo = this.ExtensionForPO.content
    The Project Task PO is my reference to the extension field created in the Cloud Solution.
    And the ExtensionForPO is my relation to the TaskID:
    import AP.Common.GDT;
    import AP.Purchasing.Global as Purchasing;
    import AP.ProjectManagement.Global as ProjectManagement;
    import AP.IS.CodingBlock.Global as Coding;
    [Extension] businessobject AP.Purchasing.Global:PurchaseOrder {
      [Relation(Coding:AccountingCodingBlockDistribution.AccountingCodingBlockAssignment.ProjectTaskKey.TaskID)]
      [Label("Project ID")] element ExtensionForPO : TaskID;
        node Item {
    I am pretty sure this is not so hard, but I can't figure how to do it.
    The Task ID is in the Line Item so I do not understand why it could be so hard to add it in the Purchase Order Header.
    Moreover, when I try to make the path directly from the PurchaseOrder, like:
    PurchaseOrder.Item.ItemAccountingCodingBlockDistribution.AccountingCodingBlockAssignment.ProjectTaskKey.TaskID
    It returns to me that the association between Item and ItemAccountingCodingBlockDistribution is not a node. I know that, but it would be perfect if I could directly go from the Purchase Order BO to the Project Reference and the Project Tasks. But I cannot do that.
    Any help on this would be greatly appreciated as it is quite a recurring request from customers.
    I could have a misunderstanding in the process of doing it, or even in the code as I am a pure development newbie, so I m open to all propositions.
    Thank you all.
    Have a nice day.
    Jacques-Antoine

    Jacques-Antoine,
    You can't directly translate a repeating node or element (such as an Item or a Project Task from the Accounting Coding Block of an Item) to a singular node or element.
    The reason is that, though your use case may have the elements assumed to be the same for all items, this isn't necessarily the case, so ByDesign won't assume that you can use that kind of logic.
    The simplest approach would be to do an On-Save at the Root node of the Purchase Order along the following lines:
    this.projecttaskpo = this.Item.GetLast().ItemAccountingCodingBlockDistribution.AccountingCodingBlockAssignment.ProjectTaskKey.TaskID;
    i wouldn't actually recommend this code.
    You'd need validations for IsInitial, IsSet, and those kinds of functions.
    i'd at least use some foreach loop to check that all the accounting coding blocks were for the same task, raise warnings if they weren't, etc.

  • Account assignment of the incoming invoice and the purchase order

    Hi,
    I am trying to control the account assignment of an incoming invoice against the account assignment of the purchase order used. The link I found is the field ZEKKN. I think RBCO-ZEKKN tells me what account assignment of the purchase order (EKKN-ZEKKN) I am using (just as RSEG-EBELN and RSEG-EBELP help to point the item of the PO used in the invoice). This link is working pretty well in 99% of my Pos and invoices. But sometimes when I create an assignment line in the PO, this line is created with a key EBELN, EBELP, ZEKKN = ‘02’, even if any assignment was created wit an ZEKKN = ‘01’.
    In this case, when I park an invoice on this PO, the value of RBCO-ZEKKN is ‘01’ and not ‘02’ as in the table EKKN.
    It is very annoying because the control I implement blocks the posting of the invoice..
    Any idea or any new link between tables RBCO and EKKN will be very appreciable.
    Thanks in advance

    Hi, I've got the same issue if someones has a clue it would be very helpfull

  • Bapi : Is there any BAPI to CANCEL / BLOCK a Purchase Order

    hello everybody,
    can anyone tell me if there is any BAPI to cancel or block a Purchase order.
    Note : blocking of purchase order is done on item level of the PO.
    Regards
    Swanand

    Hello,
    in BAPI_PO_CHANGE:
    Field DELETE_IND in structures POITEM and POITEMX.
    It's reference is to data-element ELOEK: Documentation to this:
    <i>Text
    Deletion indicator in purchasing document
    Definition
    Determines whether the item in the purchasing document is deleted or blocked.
    Use
    You can set the deletion indicator by choosing Edit -> Delete if:
    You want to cancel an item
    An item is closed and can be archived
    You can set the blocking indicator by selecting the item and then choosing Edit -> Block if you do not want to allow subsequent functions for the item. Note that you must manually remove the indicator as soon as subsequent functions are allowed again.
    Examples
    You have entered a purchase order item by mistake. You cancel it by setting the deletion indicator.
    A purchase order item has been delivered, invoiced, and paid for, and can now be archived. You can set the deletion indicator.</i>
    Regards Wolfgang

  • Is there anyway to view the purchase order information foreach transaction

    hi sap techies
    Currently the FAGLB03 does not display the vendor related information for transactions coming through as a goods receipts (transactions processed by receiving dept) and/or related to purchase orders. Is there anyway to view the purchase order information for each transaction? For example, we cannot see vendor code/name, po #, etc.

    HEllo,
    FAGLL03 displays information from the line items of the accounting documents. If the information you want to display exists in tables you can display. But if the information you want comes from other tables you cannot display.
    As a workaround you can check the SAP note 1034354 which tells you how to add the offsetting accounting information and then you cna display some of the information you want. To do so you can create your own coding into a BADI implementation.
    REgards,
    REnan

  • Email of the Purchase Order to the User

    Hi,
    Currently, I am able to send the email of the purchase order to the vendor mail address, which is mentioned on general data tab of the vendor master.
    In addition, the requirement is that the purchase order also to be emailed to the User, who has created it.
    I have added the VU in NACE settings for application EF, output type NEU. The payment medium I have used is 5 (external send).
    However, when I try to add the VU and the user name to the vendor master partner details tab, the system is not taking in.
    Please let me know how can I email the purchase order to user.
    Thanks in advance for your time.
    Thanks,
    Ravi

    Hi,
    1) Add the user email address also in the vendor master.
    2) Verify all settings in condition records.
    3) Check tcode sost for any waiting send requests.
    Regards,
    BK

  • How to set up automatic payment for the purchase order

    Hi, All,
    I have one question how to set up automatically payment for the Rent Office purchase Order?
    There is the requirement from the client. They want to create one kind of purchase order for the Office Rent, then pay the fees in the certain time of every month to the vendor for the rent fees without any invoice. Whatu2019s the normal solution for this kind of purchase order? Is it ERS? Or something else?
    Please give me the details and business flow. Also please tell me how to setup in the SAP and T-code.
    Thanks in advance

    Either you can set up ERS or you can pay directly from the FI side.
    Prerequisites
    Evaluated receipt settlement must be flagged in the purchase order item.
    The vendor must be flagged as being subject to ERS in the vendor master record.
    The goods receipt must refer to a purchase order.
    Goods-receipt-based Invoice Verification must be defined for the purchase order item.
    A tax code must have been maintained in the purchase order item.
    The order price of the materials may not be an estimated price.
    If you flag a vendor as being subject to ERS, the system sets the ERS indicator as a default in each item when you create a purchase order for the vendor. You can prevent this happening for certain vendors by flagging the info record for the material and the vendor as not being subject to ERS.
    In Purchasing, you can delete the default ERS indicator in a purchase order item.
    Choose Logistics Invoice Verification ® Automatic Settlement ® Evaluated Receipt Settlement (ERS).
    The selection screen appears.
    You can use the following criteria to narrow down selection of the transactions to be settled:
    Company code
    Plant
    Goods receipt posting date
    Goods receipt document
    Fiscal year of the goods receipt
    Vendor
    Purchase order and order item
    You can define the selection criteria for the invoice documents by:
    Delivery
    Purchase order
    Purchase order item
    Goods receipt document
    Credit memo
    Invoice
    Currency
    Choose  Execute.
    The system issues a log for Evaluated Receipt Settlement, which displays the following:
    Settled
    In line with your selection criteria, the system displays all the order items that were settled (or if you are working in test mode, which would have been settled).
    Could not be settled
    In line with your selection criteria, the system displays all order items for which ERS is defined but could not be settled. It also lists the reasons.
    If the system reports being unable to invoice a transaction, you should exclude the transaction from ERS to avoid it being included in the log the next time ERS is run.
    Select the item and choose Exclude from ERS.
    The system also generates and possibly sends a message to inform the vendor(s) about the transaction settled, depending on the settings in Customizing.
    You can display the following environment information for the order items selected. To do this, choose Goto ®:
    Display purchase order
    Display invoice
    Display material document
    Display long text

  • Down payment request to the purchase order as a whole for f-48

    Hi Gurus
    I want to post vender down payments request and make the relation with the purchase order.
    Up to now the systems ask for the purchase order number (mandatory) and the line item number (mandatory)
    As we have with our customer PO's with sometimes more than 100 line items, we do not want to relate down payments request for every PO line item.
    Is it possible to link the total amount of the down payment request to the purchase order as a whole(we can say as Header), so without the line item numbers.
    Actually looking for any screen exit is available for that or any other way.
    Regards
    RK

    Check for FI user exits in this link
    http://wiki.sdn.sap.com/wiki/display/ERPFI/UserExitsin+FI
    Check also this links
    USer Exit / Badi F-47  & F-59
    http://wiki.sdn.sap.com/wiki/display/ABAP/Find%2bApplication%2bclass%2bwith%2bExits%2band%2bBadis%2bfor%2ba%2bTransaction
    Edited by: Jeyakanthan A on May 25, 2010 1:03 PM

  • Down payment request to the purchase order as a whole

    Hi Gurus
    I want to post vender down payments request and make the relation with the purchase order.
    Up to now the systems ask for the purchase order number (mandatory) and the line item number (mandatory)
    As we have with our customer PO's with sometimes more than 100 line items, we do not want to relate down payments request for every PO line item.
    Is it possible to link the total amount of the down payment request to the purchase order as a whole(we can say as Header), so without the line item numbers.
    Regards
    RK

    Hi
    Actually looking for any screen exit is available for that or any other way
    Rgs
    RK

  • How to get the Purchase order Qty in the object dependency

    Hi,
    We are using variant pricing in the purchase order. I have condition type say u201CZVBPu201D for Pallet cost. I defined Pallet cost as 5 USD per each (pallet). I have to calculate Number of pallets = Purchase order Qty/ 5. The number of pallets should be rounded to nearest integer.
    My question is how to get the Purchase order Qty in the object dependency?
    Is there any reference table and field can be used to get Purchase order Qty just like we use MMCOM-VKOND for variant pricing.
    Appreciate your help
    Thanks,
    Srini

    Hi,
    1. I do not have system now so I can not conclusively tell about table field .
    2. Since I did it long back so I also do not exactly remember it, there are more than one place where PO qty appears for example Item overview and Item details - one of the PO qty when used in the characteristic do pull the PO qty which can be used for variant pricing (so request to please update the forum with the correct table and field once you find it - in the meantime if I get opportunity to get to system I will also try and find out ).

Maybe you are looking for

  • Table in which deleted operations are stored.

    Hi,      We are writing a report and for that i need the value of work hrs , so i would like to know in which table deleted operations of Maintenance order are stored .... regrds pm

  • My Facebook contacts not showing up in Mac Contacts.app!

    After the introduction of syncing your Facebook contacts with iOS, my contacts aren't syncing through iCloud completely. Contacts that are added through Facebook show up in my iPhone Contacts but are not showing in the Contacts.app on my Mac (Mntn Li

  • Runtime Errors         CONVT_NO_NUMBER

    Hi Experts, we got a runtime error in program CONVT_NO_NUMBER ,here are the details of the error ,could not find a sap note on this. same program is ran with same variant recently  but got this runtime error today ,please suggest how to correct this

  • Which is better for labview - 2000 or XP?

    I am upgrading an image acquisition system to LabVIEW 7 and was wondering what are the relative benefits, if any, of 2000 and XP (both Pro). I primarily use two 1422 boards to grab simultaneous images from two cameras at a rate of up to 60 Hz (320x25

  • Upgrading SSD Storage in MacBook Air.

    Hello eveybody. Please, I nedd some help. I`ve bought in US a MacBookAir on feb/2013 with a 250 Gb SSD Unit. Nowadays I need to upgrade its storage capacity, but I was informed by an Apple technical assistence here im brazil that this is not possible