Skip to Content
author's profile photo Former Member
Former Member

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Jan 24, 2005 at 01:33 PM

    I would try BAPI_PO_CHANGE, but I'm not sure it can cancel or block PO.

    There is also BAPI_PO_RESET_RELEASE, but it happens header level, not item level.

    Check the methods of Business object BUS2012 for details.

    Regards,

    Peter

    Ps: If it helped, please press the star icon in the subject. Thanks.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 24, 2005 at 01:53 PM

    Hello Peter,

    I have given a similar solution to this question sometime back in the thread - BAPI to Block/Cancel Purchase order

    What I would like to find out is whether it is possible to cancel / block a PO at the Item level, i.e., does the functionality allow for this if we were to do it using the standard screens (ME22(N)) ?

    Regards,

    Anand Mandalika.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 08, 2005 at 12:00 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.