Purchase order rejection via BAPI

Hi,
i need to use BAPIs for purchase order release because it is interfaced with Notes.
I'm looking for a BAPI or Function module in order to reject PO as it is possible in ME29N transaction in ECC 6.0 . I found BAPI_PO_RELEASE (to release) and BAPI_PO_RESET_RELEASE (to cancel release) but not BAPI for rejection.
Is there anybody experiencing such a problem ?
Pierre-Edouard Hamon

No, thanks for your answer, but this BAPI only allows cancellation of a release code that has already been posted but doesn't allow rejection of a release code that has not yet been managed. (in ME29N, push button Refuse in PO header tab)
PE Hamon

Similar Messages

  • Create a Purchase order using the BAPI using the data in the XML file.

    Hello Gurus,
    here is the scenario can anyone help me how to proceed explaining the procedure?
    Create a Purchase order using the BAPI using the data in the XML file.
    comprehensive explanations are appreciated.
    thanks in advance.

    hi,
      first use fm "bapi_po_create".
      then use fm "BAPI_ACC_GL_POSTING_POST"
    The demo environment was made with real business scenario in mind, but following subjects need to be addressed in a live implementation:
    •     No exceptions and error handling is implemented, except the order rejection (e.g. partly delivery);
    •     In Navision both XML Ports and the XML DOM has been used to integrate with SAP XI, because XML ports has some drawbacks regarding to Namespaces in XML Documents (mandatory in SAP XI);
    •     A minimum of SAP and Navision customization is required to implement this solution. (e.g. user exit in SAP, Navision XML DOM).

  • Purchase Order - Rejected Status

    Hi All,
    Is there any Bapi or function module for Purchase Order Rejection. I have created a custom WF template for Purchase Order release. Once the approver cilcks the reject button, then the Purchase Order Status should be changed into Rejected status ( i.e Ekko-Procstat = Rejected ).
    Regards,
    Sankar

    Hi Sankar,
    use FM BAPI_PO_RESET_RELEASE.
    if you want to update a particular value you can take a copy of this FM and can customize it as per your requirement. Debug this BAPI. I hope this should solve your problem
    Regards,
    Raj

  • Purchase order change with bapi

    Hi all,
    does someone know if it's possible to modify a purchase order with a bapi ?
    is it possible with BAPI_ACC_PURCHASE_ORDER_POST ?
    thanks for your help
    Eric

    Hello,
    You can use the BAPI_PO_CHANGE.
    Best Regards,
    Arminda Jack

  • I want purchase order bdc or bapi with full solution

    hi,
         if any one have purchase order bdc or bapi with full solution . plz send me .
         thanking u,

    hi
    Just take all required fields to create PO into one internal table . Just use BAPI_PO_CREATE1 function module. In that function module give internal table name. It will create the PO. Extra decorations like error messages and all you need to take care.
    Reward if it helpful.
    Thanks
    Siva Kumar

  • Workflow for purchase order rejection and esclation.

    Hi,
    Can any body tell us the what is the standard workflow for purchase order rejection and esclation.
    if no standard WF is there then how can create the workflow for ecslation and rejection.
    Thanks & Regards,
    Priti shrivastava

    Please check here.
    http://help.sap.com/saphelp_srm30/helpdata/en/5a/c5173f5ff48443e10000000a114084/content.htm

  • Need BAPI for Purchasing Order Reject through Workflow

    Hi All.
    I need a bapi to reject Purchase Order(PO) through Workflow. i've found some to release but not to reject, ('08' status Code). Can anybody hlp me please.
    Thanks & Regards,
    Mani.

    You can check standard Wflow Template WS65400030
    I think you can use Method ResetRelease of businress Object BUS2012

  • Purchase order rejection - status update

    Hi Experts,
    For PO and PR release ,I am developing the custom workflow .In that workflow user decision step to approving or rejecting for PO release/reject .In approve step I am able to release the po in background using  standard method in BUS2012 but in reject step I need to reject the po I am not able to get any std method or BAPI to reject the PO/PR.
    The above same problem I am facing in purchase order requisition.
    In invoice parking workflow I am facing same kind of problem , in this I need method to post the invoice.
    Need inputs on this to close the issues soon.
    I had checked forum ,but I didnu2019t get the hopeful answer.
    Regards,
    Ram.

    Hi Experts,
    Thanks for your reply .i had checked the BAPI : BAPI_PO_RESET_RELEASE but it not solving my problem. This bapi is use to cancel the po and change the status to in process,but in my case i need to reject the PO and status should be rejected.
    The same issue is coming for PR.
    Give some idea to post the parked invoice ,in background .Help to close this issue soon.
    Thanks in advance.
    Regards,
    Ram.

  • Error while creation of PUrchase order by using BAPI.

    Hi All,
       We are creating a purchase order thru BAPI ("BAPI_POEC_CREATE") and we are passing the following parameters ( I_PO_HEADER , I_PO_ITEMS , I_PO_ACCASS , I_PO_PARTNER and I_PO_ORGDATA)  to the bapi and after processing  we are getting the following error and Abend messages.
    Messages:
    1) Enter at least one item or one limit ( we have added line items in I_PO_ITEMS structure).
    2) Incorrect interface data for set 78 in method C.
    3) Interface data contains errors.
    Can anyone help me in fixing these errors inorder to proceed further.
    Regards
    Dharmaraju

    Hi there,
    Did you manage to sort this problem ?
    If not let me know
    I am using the same and know how to overcome
    Thanks
    Turlock
    T

  • Problem in sales order change via BAPI

    We are in AFS system and we try to reduce a quantity in sales order via BAPI.
    We recive back an error 8w 280. We are not able to find wich is and where is a problem.
    Does anyone have experince on that problem/error message
    Thanks in advance
    Andrea

    Hi Andrea,
    Since BAPI invloves more programming stuff, I adivce you to post this thread in the ABAP forums also.
    Regards,
    Senthilkumar SD

  • Purchase Order Rejection

    Dear all,
    When a purchase order is rejected (ME29N), the on-order stock is not updated automatically - until the purchase order item positions are deleted in this purchase order.
    So a plant controller who rejects a PO (and would not be authorized to update the positions of this PO), would need to send an email to their purchasing departement asking for them to delete the positions everytime in the PO to update the on-order stock?
    This process does not seem right as they would have to send an email (manually). How it works in other companies when the PO is rejected?
    Thanks,
    Annabelle R.

    communication !!!
    automated with a workflow.
    or by phone and email. To be honest, I have never seen that a controller rejected a PO without having spoken to the person who has created it.
    Why should he reject an order? only if he feels that there is someting wrong e.g. with the price, or he saw the the item was Ferrari instead of the usual items that are bought in your company. But this has to be communicated, otherwise the buyer or planner will not know what he has to do after an rejection.
    Just think about the overall process. MRP creates a requisition, buyer creates a PO, controller rejects. buyer flags PO for deletion - MRP creates next requistions ............. buyer creates a PO, controller rejects. buyer flags PO for deletion - MRP creates next requistions  ..... buyer creates a PO, controller rejects. buyer flags PO for deletion - MRP creates next requistions
    Funny process.
    There must be more than just setting a deletion flag.

  • SUS -  Purchase Order  - Rejection

    Hi,
      I would like to reject a PO that came in through SRM -> R3->XI-> SUS.. When logged in as SUS user, I see PO in Purchase Orders --> New section . I have only 'Set Confirmed' button visible and active.. How do I reject a Purchase Order. When I go to Purhcase Order --> Rejected , I am not able see the PO there..
    Also SUS user is not able to edit the Purchase Order I received from R3..
    Is there anything missing..
    Thanks,
    Ganni

    Hi naga
    DEFINE EVENT SCHEMA
      ->BUS2206
    AND GO TO transaction type of BUS2209
      supply event schema in transaction type.
    i think you have standard events are there  like
    APPROVAL_NOT_PROCESSED ..
    /people/ramakrishna.rallapalli/blog/2008/07/20/bidder-alert-notifications
    please check and you might get an idea how you can work on this. but it is possible.
    regards
    muthu

  • Purchase order reject function

    Hi all,
    I need to reject a PO with abap code.
    Since i didn't found any function module for that, i tried to create a BDC with ME29N but it doesn't seem to work.
    Any other ideas?
    Thanks,
    Luis Cruz

    After some debugs on ME29N, i manage to reject PO documents, here's the code, if anyone needs it:
    *  prepare creation of PO instance
      ls_document-doc_type    = 'F'.
      ls_document-process     = mmpur_po_process.
      ls_document-trtyp       = 'V'.
      ls_document-doc_key(10) = lv_ponumber.
      ls_document-initiator-initiator = mmpur_initiator_rel.
    *  object creation and initialization
      lv_ponumber = im_ebeln.
      lv_ebeln = lv_ponumber.
      create object lc_po.
      lc_po->for_bapi = mmpur_yes.
      call method lc_po->po_initialize( im_document = ls_document ).
      call method lc_po->set_po_number( im_po_number = lv_ebeln ).
      call method lc_po->set_state( cl_po_header_handle_mm=>c_available ).
    *  read purchase order from database
      call method lc_po->po_read
        exporting
          im_tcode     = lv_tcode
          im_trtyp     = ls_document-trtyp
          im_aktyp     = ls_document-trtyp
          im_po_number = lv_ebeln
          im_document  = ls_document.
      if lc_po->if_releasable_mm~is_rejection_allowed( ) = 'X'.
        call method lc_po->if_releasable_mm~reject
          exporting
            im_reset = space
          exceptions
            failed   = 1
            others   = 2.
      endif.
      call method lc_po->po_post
        exceptions
          failure = 1
          others  = 2.

  • Purchase Orders output via Email

    When a buyer creates a purchase order for a vendor that is setup for email output, the email is sent to the vendor once it is saved.  The vendor receives the email and it appears to be sent by the buyer.
    When a buyer creates a purchase order for a vendor that is setup for email output and this PO requires approvals, the email output does not happen until the last approval is obtained.  At this point the vendor receives the email and it appears to have been sent by the last person to approve the purchase order.
    A vendor is receiving these purchase orders and in some cases replying to the email address from whom it was sent if they have questions, comments, etc.  In cases where approvals took place the vendor is replying to the last person who approved the PO who is not necessarily the person who should be receiving these emails.
    My question....is there a way to change it so that the email output always appears to come from the person (buyer) who created the purchase order and not the last person who changed (approved) it?

    We are using workflow in the case of approvals, however we do not want the email output to appear to be coming from the last person who touches the order via workflow.  Is there a way to customize through workflow to not use the last person who touches it as the sender?

  • Creation of Purchase Order automatically via PR after mrp run.

    Hi Experts,
    I want  to know that , after MRP run  i got the no of PR'S. As i know , through MD04  i can create purchase order from particular pr but is their any option from which purchase order  get generated automatically from pr's which are generated afrer MRP run.
    Thanks n Regards
    Anupam

    Hi,
    You can maintain source list Tcode ME-01 and make it MRP relevant by selecting Sorce list MRP relevant. In sorce list you can maintain vendor and material data valid for particular period and make it MRP relevant.
    With this you can automatically generate purchase order from Purchase requisitions after MRP Run.
    Regards,
    Tushar Patankar

Maybe you are looking for

  • Activity Management - search result - RED Icon for Due date

    Hello all, In CRM 7.0, when we create certain activities, and set the due date to be somewhere in the future, the ICON (Round circle) is always showing RED colour even though the due date is not reached. Any ideas how this can be controlled? Is there

  • Bt openreach engineers

    Just a quick suggestion to whoever is after a new line at home. If you can avoid the companies which need to use bt openreach engineers to activate your line at home in order to have broadband or landline, do it! The openreach service is absolutely a

  • 2006 Mac Pro corrupting the disk - possible logic board problem?

    Hi there. I bought a faulty MP (2006) that wouldn't install an OSX. It would install to a point and then fail or install fully then not boot. Apparently this happened shortly after a 10.5.8 update failed mid way. The seller told me how it seemed to c

  • A challenge to take up

    Hello, I'm currently preparing my Phd in psychology and use a sensor system describe here (http://www.ascension-tech.com/products/flockofbirds/) which track the motion of a linb in space. I used a software made with labview 5.0 that made the pc emit

  • Recovered Photos? Huh?

    Hi, have a folder called "Recovered photos". I don't remember doing this so I'm guessing Iphoto made this list. What is this and what are the photos in there? WHat should I do with them? Thanks M