Purchase Order Change (ME22N)

Hi Experts,
I am facing a problem. Someone has blocked for GR and delivery completed one PO. But the problem is that three MIGO are still pending for MIRO against that PO. When I am unblocking the PO line the message comes "*Quantity delivered differs from qty. invoiced (Function not possible)Message no. 06115
Diagnosis
You have attempted to delete an item whose GR and IR quantities differ.
Procedure
You can only delete whose processing has been completed. This means that the delivered quantity of the goods must agree with the invoiced quantity.
You can eliminate the difference in one of the following ways:
Goods Receipt (GR) posting
Invoice Receipt (IR) posting
Maintenance of the GR/IR clearing account
I am not able to post migo, miro and MR11 as PO line is block for GR.
What should we do.
Thanks in advance.
GR

The error message shows..
Diagnosis
You have attempted to delete an item whose GR and IR quantities differ.
You are trying to delete the PO line item,You need to Undelete/un block the item..
in PO, you will find three Buttons, Deletion icon, Lock icon & Unlock icon..
Pls select your line item and click the unlock botton..
If still you have issue, pls send me the screen shot of your PO, GR & Invoice documents..
to my mail id  [email protected]
Thx
Raju

Similar Messages

  • What is the BADI  while SAVING purchase order using me22n?

    what is the BADI  while SAVING purchase order using me22n?
    while i will save purchase order through me22n, badi should be fire what is badi for that?
    regards,
    dushyant.

    Dushyant,
    Hopefully you know how to implement the BADI ME_PROCESS_PO_CUST now.
    The following are the codes that you can put in the method "Post".
      DATA: LW_HEADER        TYPE MEPOHEADER,
            LW_POSTED_HEADER TYPE MEPOHEADER,
            LW_VALID         TYPE MMPUR_BOOL,
            ITAB_ITEM        TYPE PURCHASE_ORDER_ITEMS,
            LW_ITEM          TYPE MEPOITEM,
            ITEM_INTERFACE   TYPE PURCHASE_ORDER_ITEM,
            ITAB_ACCT        TYPE PURCHASE_ORDER_ACCOUNTINGS,
            ACCT_INTERFACE   TYPE PURCHASE_ORDER_ACCOUNTING,
            LW_ACCT          TYPE MEPOACCOUNTING,
            LW_POSTED_ACCT   TYPE MEPOACCOUNTING,
            W_ACCT_CHANGED  TYPE C,
            W_GRANT_AMT      TYPE EKPO-NETWR,
            W_FINANCE_AMT    TYPE EKPO-NETWR,
            W_FLAG           TYPE C.
    Check if PO header data is valid
      CLEAR LW_VALID.
      CALL METHOD IM_HEADER->IS_VALID
        RECEIVING
          RE_VALID = LW_VALID.
      CHECK LW_VALID = 'X'.
    PO header data is valid
    Get the newly updated PO header data
      CLEAR LW_HEADER.
      CALL METHOD IM_HEADER->GET_DATA
        RECEIVING
          RE_DATA = LW_HEADER.
    Get the posted PO header data
      CLEAR LW_POSTED_HEADER.
      CALL METHOD IM_HEADER->GET_PERSISTENT_DATA
        IMPORTING
          EX_DATA = LW_POSTED_HEADER
        EXCEPTIONS
          NO_DATA = 1.
      IF SY-SUBRC <> 0.
        CLEAR LW_POSTED_HEADER.
      ENDIF.
    Get PO line items
      REFRESH ITAB_ITEM.
      CALL METHOD IM_HEADER->GET_ITEMS
        RECEIVING
          RE_ITEMS = ITAB_ITEM.
      LOOP AT ITAB_ITEM INTO ITEM_INTERFACE.
    Check if PO line item is valid
        CLEAR LW_VALID.
        CALL METHOD ITEM_INTERFACE-ITEM->IS_VALID
          RECEIVING
            RE_VALID = LW_VALID.
        IF LW_VALID <> 'X'.
    This PO line item is not valid
          CLEAR W_ACCT_CHANGED.
          EXIT.
        ENDIF.
        CLEAR LW_ITEM.
        CALL METHOD ITEM_INTERFACE-ITEM->GET_DATA
          RECEIVING
            RE_DATA = LW_ITEM.
    Get the account interface
        REFRESH ITAB_ACCT.
        CALL METHOD ITEM_INTERFACE-ITEM->GET_ACCOUNTINGS
          RECEIVING
            RE_ACCOUNTINGS = ITAB_ACCT.
        LOOP AT ITAB_ACCT INTO ACCT_INTERFACE.
          CLEAR LW_ACCT.
    Get the newly updated PO item data
          CALL METHOD ACCT_INTERFACE-ACCOUNTING->GET_DATA
            RECEIVING
              RE_DATA = LW_ACCT.
          CLEAR LW_POSTED_ACCT.
    Get the posted PO item data
          CALL METHOD ACCT_INTERFACE-ACCOUNTING->GET_PERSISTENT_DATA
            IMPORTING
              EX_DATA = LW_POSTED_ACCT
            EXCEPTIONS
              NO_DATA = 1.
          IF SY-SUBRC > 0.
            CLEAR LW_POSTED_ACCT.
          ENDIF.
          IF LW_ACCT-LOEKZ <> LW_POSTED_ACCT-LOEKZ OR
             LW_ACCT-KOSTL <> LW_POSTED_ACCT-KOSTL OR
             LW_ACCT-PRCTR <> LW_POSTED_ACCT-PRCTR OR
             LW_ACCT-PS_PSP_PNR <> LW_POSTED_ACCT-PS_PSP_PNR.
    Account assignment was changed
    We will force this PO to go through workflow
            W_ACCT_CHANGED = 'Y'.
          ENDIF.
        ENDLOOP.
      ENDLOOP.

  • Is there any function module for purchase order change

    Hi Experts,
    Is there any function module for purchase order change or i need to do new recording in me22n.
    Thanks,
    Senthil

    Hi
    Function module <b>BAPI_PO_CHANGE</b> enables you to change purchase orders. The Change method uses the technology behind transaction ME22N.
    Regards,
    Viven

  • SRM: "Purchase Order Change Approval " and "Invoice Approval"

    Hi,
    I would like to know the availability and details of the backend services for "Purchase Order Change Approval " and "Invoice Approval".
    Any pointers ?
    regards
    Sachin

    I want to know what are the Backend services exposed for the following processes :
    Purchase Order Change Approval in MM
    and Invoice Approval.

  • Message "Purchase Order Changes are awaiting approval"

    Hi all,
    while changing a PO document which is in status "in Approval", SRM (5.0) throws a popup message:
    "The Purchase Order Changes are awaiting approval, Continue processing?"
    Does anybody know the place were SRM throws this message?
    I want to suppress the message completely.
    I can`t find the message within table t100.
    Any ideas?
    Thanks
    Regards
    Andreas

    Hi Yang,
    thanks, this answer I was looking for
    Best regards
    Andreas

  • Searching for Workflow for Purchase Order Change

    Hi experts!
    We are using SRM5.0 / extended classic scenario and backend R/3 4.7 Enterprise.
    We should implement an approver process for the purchase order changes. Does any one of you know whether there exists a standard SAP workflow?
    Many thanks for your help.
    Regards,
    Corinne

    Hi
    <i>Please refer to the following links for detailed step-by-step details.</i>
    <u>Workflows for Purchase Orders - n-step approval workflow ( WS14000145 )... Start WS14000075, WS14000089 or WS14000145...-step approval workflow ( WS14000145 )</u>
    http://help.sap.com/saphelp_srm50/helpdata/en/5a/c5173f5ff48443e10000000a114084/frameset.htm
    <u>Authorization - Purchase orders ( WS14000145 )</u>  
    http://help.sap.com/saphelp_srm50/helpdata/en/f7/a6a3415e34b05fe10000000a1550b0/frameset.htm
    <u>Setting Up SAP Business Workflow - WS14000145 ( n-step approval )... WS14000145... WS14000145 – N-step approval PO WS14000145 – N-step approval of contract</u>  
    http://help.sap.com/saphelp_srm50/helpdata/en/2c/e68d406b305537e10000000a1550b0/frameset.htm
    <u>Dynamic Modification - Purchase orders ( WS14000145 )</u>  
    http://help.sap.com/saphelp_srm50/helpdata/en/84/dda441e79ead5fe10000000a1550b0/frameset.htm
    <u>Back & Forth Processing and the Retain Function - Purchase orders ( WS14000145 ) </u> 
    http://help.sap.com/saphelp_srm50/helpdata/en/6b/eca441eea7ef0be10000000a1550b0/frameset.htm
    <u>Approval Workflows for Purchase Orders and Change Versions</u>
    http://help.sap.com/saphelp_srm50/helpdata/en/ec/fe163ff8519a06e10000000a114084/frameset.htm
    <u>Workflow for Contracts - Workflow for Purchase Orders ( WS14000145 )</u>
    http://help.sap.com/saphelp_srm50/helpdata/en/26/0f8b41ed891609e10000000a155106/frameset.htm
    <u>SRM Business Workflow - One-step Approval</u>
    http://help.sap.com/saphelp_srm50/helpdata/en/8b/4fa9585db211d2b404006094b92d37/frameset.htm
    <u>WS14000089</u>
    http://help.sap.com/saphelp_srm50/helpdata/en/5a/c5173f5ff48443e10000000a114084/frameset.htm
    <u>WS14000075</u>
    http://help.sap.com/saphelp_srm50/helpdata/en/2c/e68d406b305537e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/5a/af5efc85d011d2b42d006094b92d37/frameset.htm
    Regards
    - Atul

  • Purchase order changes through EDI

    Hi All,
    Is it possible to transmit only changes made againt each purchase order through EDI. If so how that can be done.
    For example if the quanity of purchase order changed then only changed quanity field should be transmitted through EDI.
    Thanks & Regards,
    N. Laxman

    Hi Laxman.
    What do you have on WE20?
    Usually you have two records. One to send the PO when you create and another one for changes;
    Partner role | Message Type | Message Function
    OA              | ORDERS           | 850
    OA              | ORDCHG          | 850
    For the message type ORDCHG in the config you have to set the message control as follow
    Application | Message type | Process code | Change
    EF               | NEU                 | ME11              | checked
    Hope this helps.
    Regards
    Eduardo

  • Tcode for Purchase order Changes

    Hello Expert
    I Know there is one Tcode from which we could find changes happen in Purchase order at item level . Can any one let me know on the same which Tcode.
    I know the regular option by selecting the line item Environment->Item changes
    thanks
    Abhi

    Hi,
    You have to develope an own ABAP report for this, based on the change tables CDHDR and CDPOS
    CDHDR - Header Change
    CDPOS - Item Change
    EREV - Version Change
    Go to SE11 / SE16 / SE16N, here enter Object value as "PO No" in Table CDHDR and get the Document No and then input this in CDPOS and get the changes details. You can also enter EKKO and EKPO tables and see the whole list.
    Check the link
    Purchase order change log
    SAM
    Edited by: Saminathan Gopalan on Jun 3, 2010 12:35 PM
    Edited by: Saminathan Gopalan on Jun 3, 2010 12:37 PM

  • Incorrect message type in IDOC for Purchase order change

    Hi Gurus.
    Please advise on below.
    We have several purchase orders that are configured to trigger IDOC upon change. But accidentally, someone has deactiveted the automatic proposal of EDI message type for these Purchase orders which resulted to not transmitting purchase order change documents automatically.
    As a workaround, we have proposed to create EDI message manually during Purchase order change. But upon checking in tcode WE09, message type is ORDERS which is PO create instead if ORDCHG for purchase order change.
    Please kindly advice on why it is behaving like this for purchase orders with EDI message previously deactivated.
    Thanks in advance.
    Acel.
    To simulate.
    Create PO. go to messages, select EDI message then deactivate permanently. Save PO. Release PO if needed. Change PO. go to messages, EDI is not automatically proposed. create EDI message mamanually. Save PO. Release PO id needed. check tcode WE09, for PO create, no IDOC since it was deactivated permanently. For PO change, IDOC was triggered but with incorrect message type ORDERS instead of ORDCHG.

    Hi Acel,
    You will need to check the settings in transaction WE20 - You will be using a Partner Profile to determine the outbound message, either for each vendor or a generic one.
    on the outbound parameters, you will need to ensure that ORDCHG is set up as a message type. If not, add it, ensuring that you use the message ORDCHG, the basic type (or extension) that you are using, usually ORDERS05 and make sure that in message control, you have process code ME02 set up. This should enable the correct message type to be determined.
    Regards,
    Rob

  • What Message type and Process Code to use for Purchase Order Change in 4.6C

    I like to implement in SAP R/3 4.6C a scenario for Purchase Order Change, via inbound IDoc.
    I have been searching, but could not find what Message Type, Idoc Basic Type and Process Code to use.
    I can not imagine this functionality does not exist in 4.6C.
    Any suggestions for my problem are welcome.

    Hello,
    In this case you should use the message PORDCH and BAPI method BAPI_PO_CHANGE but only exist as of release 4.7.
    Function module    BAPI_IDOC_INPUT1
    Idoc Type              PORDCH01
    Message Type      PORDCH
    So check carefully the following OSS notes:
      [Notes 589066 - BAPI_PO_CHANGE: Incorrect account assignment to network |https://service.sap.com/sap/support/notes/589066] (not be fooled by the description)
    [ Notes 197958 - BAPIs for purchase orders - Missing Functions|https://service.sap.com/sap/support/notes/197958]
    Regards,
    Andrea
    Edited by: Andrea Olivieri on Sep 3, 2009 10:17 AM

  • Report for Purchase Order Changes

    Hi all,
    Is there any report that record changes in purchase order?
    Please respond.
    Best Regards,
    AI.

    Hi
    Go to ME23N or ME22N.. Choose Environment - Header Changes or Item changes(for item changes select the item first). You can see all the changes made.
    OR
    Changes to a lot of SAP documents are stored in table CDHDR and table CDPOS. This include changes such as: change data in Material Master, changes to Purchase Req (PR), Purch Orders, Contracts, Sales Orders, and many more.
    Put the PO number in CDHDR table OBJECTID table and get the change numbers.
    Put the change numbers in CDPOS and get the details.
    You can get the ABAPer to write a simple report.....
    Cheers
    JOJI

  • User Exit for PO (Purchase Order) Change

    Hi,
    I want to know the SAP Standard User Exit that is triggered ONLY during changing / modification of PO(Purchase Order).
    Thanks in Advance.
    RK

    ME_PROCESS_PO_CUST
    use above BADI for ME22N/ME21N,often we use method PROCESS_HEADER
    PROCESS_ITEM our most of the requirement meet by these methods only,check once if your requirement does meets with these two methods?
    if not than you may implement some more method which are in ME_PROCESS_PO_CUST, for more help you may read documentation,there is well enough documentation already there for each method.
    and for ME22/ME21 you may use
    ME_PURCHDOC_POSTED
    and method POSTED.

  • Delivery date grayed out in Purchase order change

    Hello,
        We have a request to change the delivery date in the PO. While I tried to update the delivery date with the fast change, it did not update due to the delivery date field is grayed out. Please let me know how to enable this field so that I can change the delivery date. This field is available to edit or enter at the time of PO creation. Once I save the PO the field will be grayed (un editable). I checked the field selection and it is set up as optional entry. So, Please let me know if there is any other way to enable this field.
    Thanks,
    Vansh

    Hi Vansh,
    Check whether 'delivery date' is an opt. entry in Selection group 'Deadline Monitoring' into costomization through path SPRO - Materials Management - Purchasing-Purchase Order - Define Screen Layout at Document Level for following field selections reference keys:
    1. AKTV (Activity key for change)
    2. ME22N (Transaction key)
    If it is not an optional field in any of them then kindly maintain it as optional entry. It will resolve your problem.
    Regards
    Deepti

  • Purchase order change  blocking

    hello all ,
    I need to block the PO changes every week end (by Saturday) so that next week no body has to change PO Price since we we are following new price every week. Also we have release strategy for PO with workflow set up .
    regards
    Mike

    Some Possible Solution for your Issue are :
    Set Up Version Management for Purchase Orders so than no user can Change Relevant Fields.
    1) Go to SPRO-MM-Purchasing-Version Mgmt-Setup Version Mgmt for External Documents
    Activate Version Mgmt against your Doc type and Double click on that Doc type NB then in next screen in Control data tab mark all the fields and in Field Selection set all the Fields as Required entry Except Posting Date and save.
    2) go to SPRO-MM-Purchasing-Version Mgmt-Define Reasons for change
    Create one New Reason Called Xyz something and give text and save.
    3) Go to SPRO-MM-Purchasing-Version Mgmt-Set up change Displays
    Here Select Doc type say NB and Give Table name say EKPO for PO and EBAN for PR, Give Field name say MENGE for qty and save.
    Now try once.
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/8a/60b43bb7492147e10000000a114084/content.htm
    Else Communicate with Basis Team and Remove Authorization for ME22N for all Users except Power Users.
    Reg,
    Ashok

  • Vendor code in Purchase order changed after invoice,net price showing zero.

    Dear Experts ,
    In one purchase order , user had done GR & invoice for a line item ( service ),item category "D" , and
    thereafter somehow the system allowed user to change the vendor code. The PO line is now having amounts in
    the sub-service line items , but net price for the line item is showing as zero. Since the PO was made
    directly without any contract/RFQ/PR , there is no reference document or info record shown against the line
    item.
    In the conditions tab of Item details,the condition for basic price is not seen & since there are no amounts
    applicable for the other conditions such as insurance , octroi etc., the NET price shown for the item is
    Zero, which is also getting printed in the PO as zero , which is not acceptable , as we can not send to the
    vendor PO copy having prices for individual services printed correctly but the total gross price showing
    zero.
    Pl advise what can be done so that Net Price is shown correctly & not zero.

    I think the new vendor is having a different pricing schema than the old vendor. Check the pricing schema for the old vendor (in purchasing view in field 'Schema Group. vendor) and compare it to the new vendor. I think they're different.
    If it is then what i think happening is the user already input the price for the condition type in pricing schema A, then the vendor is changed and the new pricing schema is kiciking in thus making the old condition type missing.
    Try to either:
    A. Change to the old vendor back,
    B. Change the pricing schema of the new vendor to be the same with old vendor

Maybe you are looking for

  • Using substitution variable with multiple values in Maxl Command

    Hi All, Is there any option to use multiple values in 1 substitution variable and use them in a Maxl command. alter database $app_name.$db_name clear data in region '{CrossJoin(CrossJoin(CrossJoin({StrTOMbr(&Months)},{XXX, YYY}),{StrTOMbr(&CURYR)}),

  • X120e AC adapter - Model 42T4428

    I bought an additional external power supply for my X120. Model 42T4428, 90W 20V, 4.5A. The original power supply has 3.5A 65W. Can I use it with a Lenovo X120? Please answer quickly. Solved! Go to Solution.

  • Constructing a where clause in my report.

    I have a report based on a view, I also have a parameter call P_status and user can select multiple statuses. The status selected is based on a rule table. Eg IF Status is active, the condition is select empid from emp where termination_date is Null

  • Firefox Three Beta Five (3.0b5) Does Not Render iWeb '08  Galleries

    The newest beta version of the Firefox 3 browser (3.0b5) has just become available. If you were waiting for it to see if it renders picture galleries created with iWeb '08, forget it... it doesn't do the job any better than Beta Four (3.0b4) did. It'

  • Finding the correct JDK release

    Hi, I am trying to locate a JDK release which contains a bug fix ( #2121401 http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=2121401 ). according to the bug page the problem is fixed in relase: 5.0u2(b04) since i can't find this bug id in the jdk u