Change Quantity in PO

Dear All,
I have a Requisition for 10 units. (We are on 11510.2)
I autocreated a PO for this Requisition. So, the PO has a line for 10 units. The Requisition does not appear in the Autocreate window.
Approve the PO.
Query the PO and open it for amendment. Change the Qty to 5 on the PO Line. Qty on the PO Shipment also changes to 5.
Approve the PO.
Since only 5 units are ordered now, Requisition for remaining 5 units should be available in the autocreate window for placing on another PO.
This is not happening.
Can anyone help me on this? The Archive is set at 'Approve' in the document type window.
Thanks,
Sudarshan

That is true , by cancellation of PO or PO line by the route suggested ,you will get the requisition back into autocreate. But to carry out the qty amendment in future, use modify requisition option in autocreate-- tools. Modify the qty of line as required and autocreate PO / addon PO . Balance qty line will appear in autocreate only which you can make another PO or cancel the line to reverse the budgets etc.

Similar Messages

  • Can't change quantity when copy from Sale order for Delivery

    Hi all!
    Can i use authorization for can't change quantity when copy from Sale order for Delivery.

    Tien,
    Approval will not work when you have mutiple rows of data.  You would have to work with SP Transaction Notification
    There has been threads before on the forum on the same topics.
    Block the Quantity in Sales Delivery
    Approval Procedure for chaning quantity in Delivery Document
    Suda

  • Bapi parametrs to be passed in bapi_salesorder_change to change quantity

    Hi,
    how to change quantity of sales order by using bapi_salesorder_change.
    kindly Help us... to solve this Issue....(bapi parametrs to be passed in bapi_salesorder_change to change quantity)
    regards
    sathish Kumar.

    pass the updateflag = U
    pass the posnr,qty,mat in the item and pass the itemx= 'X' to these fileds.

  • Changing quantity using bapi_salesorder_change function

    hi ,
    i am changing quantity using 'bapi_salesorder_change' function.what are the minimum parameteres that needs to be passsed to the function.i am not able to change the quantity for some items.also for some sales orders i am not getting any error message but commit work is not working.
    thanks ,
    nitin

    Hi Nitin,
    After you call the BAPI_SALESORDER_CHANGE, specifically call BAPI_TRANSACTION_COMMIT , as BAPI_SALESORDER_CHANGE does not run a database commit.(as per the documentation provided by SAP for BAPI_SALESORDER_CHANGE)
    Thanks
    Lakshman

  • Issue while updating(Changing) quantity on line at quick sales order form

    Hi,
    I am facing a issue while changing quantity ordered on the order line in quick sales order form. (R12.1.3)
    Although the same logic works exactly as required in 11.5.9.
    There is a custom logic, post booking line status is Awaiting Shipping.
    Now when quantity is changed +(Saved), the status changes to a custom state but at the same time a new row is created with the same line id but different reservation id in the MTL_RESERVATIONS.
    The quantity here is the difference between the original quantity and the new entered quantity.
    And post completion of the custom logic the original row is updated, but being there a additional row the quantity reserved at the shipping tab comes wrong.
    Our requirement is of update which is happening but not the additional insert which is going into MTL_RESERVATIONS.
    The logic is perfect in 11.5.9 and no additional insert is being made.
    Kindly help and give some ideas for the possible reason the issue.
    Please ask for more information if required.
    Thanks,
    Vishal

    Hi Mahendra,
    I have gone through the note id that you have given. sorry to say that, that is refering to diffrent issue.
    Actually what i did is, At form header level, I have hide the fileds using the folder options. once after changes I have closed the form and re-opened it. by that time I can see that Button names got changed in bottom of the "Quick sales order form". Not sure how it become changed. there five buttons over the form, only two button names got changed.
    Kindly suggest any other options.

  • Production order change (quantity) doubt.

    Hi pp experts,
        I have a problem, while changing order quantity in the production order through Coois or co02, i am not getting the changed quantity. how to display that.
    for ex,
    The order qty is 10 Nos , through Coois i change this qty to 4, i want to display the order qty 10 with change qty 4. give some soln.
    Thanks,
    Gowri

    Gowrisankar,
    Check if the refresh button is there. Click that. If not there then you have to come out and come back in.
    Rgds
    Ram

  • Change quantity in periodic billing plan

    Hello Gurus,
    I have to map contract relevant billing with periodic billing plan. But here contract quantity and billing quantity can be differ. But as per the item category billing relevance "I - Order-relevant billing - billing plan" i can not change quantity while creating billing document.
    Can any one suggest me what should i do to change the billing quantity in this case ?...
    Any user exit or enhancement which can help me ?..what should be the logic ?..
    Regards,
    Tarpan

    Hello
    For your requirement, you can place a Billing Request Order in b/w Contract & Billing Document.
    Contract
    ->
    Billing Request (Sales Order)
    ->
    Invoice
    This will provide you a fexibility of changing quantities before invoicing the same.
    Regards
    JP

  • To change quantity in billing

    Dear Experts,
    Please guide me whether we can change quantity in Billing for Order-related-Billing type?
    Waiting for your valuable suggestions.
    With regards,
    Jhelum Roy.

    Dear,
    1) Check ur Copy Control in VTFA at Item Level and maintained Billing Quantity field as A ( Order less Invoice QTY.)
    2) Goto VF01 and after putting SALES ORDER no. select the line where u have given the S.O. No. Click on Selection list it
         will show u Open Quatity as SALES ORDER Quantity in changable mode, input the Desired Quantity and click on copy
          and save the document as desired.
    Regards
    AJIT K SINGH

  • BAPI_OUTB_DELIVERY_CONFIRM_DEC problem in change quantity again?

    Dear all,
    I used BAPI_OUTB_DELIVERY_CONFIRM_DEC to PGI . And I also want to change the delivered quantity.
    But the bapi did not work . What's the problem?
    DATA: BAPI_Z05DOGI_DELIVERY LIKE BAPIOBDLVHDRCON-DELIV_NUMB ,
    BAPI_Z05DOGI_HEADER_DATA LIKE BAPIOBDLVHDRCON OCCURS 0 WITH HEADER LINE ,
    BAPI_Z05DOGI_HEADER_CONTROL LIKE BAPIOBDLVHDRCTRLCON OCCURS 0 WITH HEADER LINE,
    BAPI_Z05DOGI_ITEM_DATA LIKE BAPIOBDLVITEMCON OCCURS 0 WITH HEADER LINE,
    BAPI_Z05DOGI_ITEM_CONTROL LIKE BAPIOBDLVITEMCTRLCON OCCURS 0 WITH HEADER LINE ,
    BAPI_Z05DOGI_RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE .
    CLEAR: BAPI_Z05DOGI_DELIVERY , BAPI_Z05DOGI_HEADER_DATA , BAPI_Z05DOGI_HEADER_CONTROL , BAPI_Z05DOGI_ITEM_DATA ,BAPI_Z05DOGI_ITEM_CONTROL , BAPI_Z05DOGI_RETURN .
    REFRESH: BAPI_Z05DOGI_HEADER_DATA , BAPI_Z05DOGI_HEADER_CONTROL , BAPI_Z05DOGI_ITEM_DATA , BAPI_Z05DOGI_ITEM_CONTROL , BAPI_Z05DOGI_RETURN .
    BAPI_Z05DOGI_DELIVERY = ZMM_WB1-ISSUE .
    BAPI_Z05DOGI_HEADER_DATA-DELIV_NUMB = ZMM_WB1-ISSUE.
    APPEND BAPI_Z05DOGI_HEADER_DATA.
    BAPI_Z05DOGI_HEADER_CONTROL-DELIV_NUMB = ZMM_WB1-ISSUE.
    BAPI_Z05DOGI_HEADER_CONTROL-POST_GI_FLG = 'X'.
    APPEND BAPI_Z05DOGI_HEADER_CONTROL.
    BAPI_Z05DOGI_ITEM_DATA-DELIV_NUMB = ZMM_WB1-ISSUE.
    BAPI_Z05DOGI_ITEM_DATA-DELIV_ITEM = 10.
    BAPI_Z05DOGI_ITEM_DATA-DLV_QTY = XTAB-LFIMG.
    BAPI_Z05DOGI_ITEM_DATA-SALES_UNIT = XTAB-MEINS.
    BAPI_Z05DOGI_ITEM_DATA-DLV_QTY_IMUNIT = XTAB-LFIMG.
    APPEND BAPI_Z05DOGI_ITEM_DATA.
    BAPI_Z05DOGI_ITEM_CONTROL-DELIV_NUMB = ZMM_WB1-ISSUE.
    BAPI_Z05DOGI_ITEM_CONTROL-DELIV_ITEM = 10.
    BAPI_Z05DOGI_ITEM_CONTROL-CHG_DELQTY = 'X'.
    APPEND BAPI_Z05DOGI_ITEM_CONTROL.
    CALL FUNCTION 'BAPI_OUTB_DELIVERY_CONFIRM_DEC'
    EXPORTING
    DELIVERY = BAPI_Z05DOGI_DELIVERY
    HEADER_DATA = BAPI_Z05DOGI_HEADER_DATA
    HEADER_CONTROL = BAPI_Z05DOGI_HEADER_CONTROL
    TABLES
    ITEM_DATA = BAPI_Z05DOGI_ITEM_DATA
    ITEM_CONTROL = BAPI_Z05DOGI_ITEM_CONTROL
    RETURN = BAPI_Z05DOGI_RETURN.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    WAIT = 'X'
    IMPORTING
    RETURN = BAPI_Z05DOGI_RETURN.
    Can anybody help me ? Thanks very much indeed.
    The error message is :
    I   |VU                  |014   |                                         <
    E   |VU                  |010   |                                         <
    E   |VL                  |605   |                                         <
    E   |VU                  |010   |                                         <
    Thanks and Best Regards.

    I have a mistake. Please see Topic "New! BAPI_OUTB_DELIVERY_CONFIRM_DEC problem in change quantity again?
    ".  Thanks, all.

  • Change quantity in production order

    Dear Expert,
    I've done production order for multiplication last year with expected quantity 22.000 kg. This year we received from subcontractor 50.000 kg. Would you be so kind and advice the best way to updated this? It's allow to go to CO02 and change quantity from 22000 to 50000? I afraid because in component overview the component will change according to new qty but has to be the same. The GI 261 on this component was done last year
    Thanks in advance,
    doti_781

    Hi,
    If you do not want the quantity to be changed, then tick the check box of Fixed Qty for each component, this will ensure that the qty will not increase or decrease when the header qty is changed.
    Hope it clarifies your query.
    Regards,
    Vivek

  • WM: Sending output for delivery after changing quantity on TO by shipping control

    Dear Experts:
    You have to allow user to change quantity of delivery, for all kinds of reasons, for example, they didn't find enough inventory to ship!
    There are options:  at SPRO WM interface for shipping control, select copy WM quantity (to delivery), you can choose:
    ------ "1": copy quantity,
    ------ "2", copy quantity and post goods issue.
    I want to choose "2", since after changing quantity at TO confirmation then going back to outbound delivery and Post Goods Issue becomes an extra step, since you are not changing anything there.
    Now the problem is the output. Since the delivery quantity has been changed, another output must be sent with the new quantity.
    The requirement (in output determination procedure) to trigger the output at Post Goods Issue is "1": Delivery GI posted.
    Then for the output condtion, for the "Dispatch time", I tried "4".
    In my testing, the delivery was updated with the new quantity and PGI was also completed, output was also created. Perfect, but DAMN, the output just doesn' go, It is yellow "0 Not processed".
    I had to use VL02N, open the delivery, then save it, now it went out, "1 Successfully processed", since now the "Dispatch time", "4": Send immediately (When saving application), " is met..
    I tried "Dispatch time", "3", and "1", doesn't work too.
    So I could just set up shipping control ------ "1": just copy quantity and not to PGI, then get users to PGI with VL02N, it just makes me feel bad, I wanted to automate the last step, PGI and get my output with the new quantity, so Is it possible?
    Thank you guys!
    Regards
    Simon

    Dear Experts:
    You have to allow user to change quantity of delivery, for all kinds of reasons, for example, they didn't find enough inventory to ship!
    There are options:  at SPRO WM interface for shipping control, select copy WM quantity (to delivery), you can choose:
    ------ "1": copy quantity,
    ------ "2", copy quantity and post goods issue.
    I want to choose "2", since after changing quantity at TO confirmation then going back to outbound delivery and Post Goods Issue becomes an extra step, since you are not changing anything there.
    Now the problem is the output. Since the delivery quantity has been changed, another output must be sent with the new quantity.
    The requirement (in output determination procedure) to trigger the output at Post Goods Issue is "1": Delivery GI posted.
    Then for the output condtion, for the "Dispatch time", I tried "4".
    In my testing, the delivery was updated with the new quantity and PGI was also completed, output was also created. Perfect, but DAMN, the output just doesn' go, It is yellow "0 Not processed".
    I had to use VL02N, open the delivery, then save it, now it went out, "1 Successfully processed", since now the "Dispatch time", "4": Send immediately (When saving application), " is met..
    I tried "Dispatch time", "3", and "1", doesn't work too.
    So I could just set up shipping control ------ "1": just copy quantity and not to PGI, then get users to PGI with VL02N, it just makes me feel bad, I wanted to automate the last step, PGI and get my output with the new quantity, so Is it possible?
    Thank you guys!
    Regards
    Simon

  • Posting change quantity less than quantity already posted

    Hello,
    Our customer have a problem on Live system. On transaction LU04 have a
    posting change notice impossible to display, because system provide the
    message number L2 145 'Posting change quantity less than quantity
    already posted'. The Posting Change Number XXXXXX and the
    transfer order is XXXX Is there any way to cancel this TO??It is impossible to do something with that.
    The history is: 321 movement from quality for 5040 un. 3 TO, 2 with 2160 are fine, and the 3rd to sap have generated 2160 un instead of 720 pending.
    Any one had this problem in the past?We are forbidden to change status for PCN from 'T' to 'U'.
    Thanks

    Hi,
    I think you have posted the question in the wrong forum. This is MDM forum.
    Thanks and Regards
    Nitin Jain

  • Change quantity (MENGE) field in G/L posting

    Hi gurus.  I need to be able to change the quantity (BSEG/MENGE) field in a G/L document that has already been posted.  I found the area in config to add the field to be able to change.  So I made the change in config.  Then I pulled up a document that already existed, but the field is still grayed out.  I also created a new entry, then went back in to change mode, and the field is grayed out.  Any ideas?
    Thank you
    Janet

    Not sure about my answer, but I know that you are not allowed to modify any value related fields after a FI document is posted (example, value). So, my guess is by changing the quantity amount will be effected and hence FB02 will not allow you to modify quantity.

  • Sales Order Material Determination Cannot Change Quantity of the Sub-item

    Hi SAP Guru's,
    Has anyone encountered this scenario?
    1. Created a standard order with an item as material substitution
    2. Created a pro-forma invoice referencing the sales order created
    3. Went into VA02 to change the item quantity of the higher level item in the material substitution
    Expectation is that once you change the quantity of the higher level item, the quantity of the sub-item should also reflect whatever is in the quantity of the higher level item.
    Actual Result is that only the higher level item quantity is changed, the sub item quantity remained the same.
    Is there any configuration or copy control that we can check regarding this?

    Hi Maurice,
    Apologies! The qty of the sub item should change when you change it in VA02 even after proforma is created.
    Could you pls check the item categories TAX and TAPS config i.e. the material entered should get item category TAX and the sub item should have TAPS or the item categories should have same configuration as TAX and TAPS.
    Please check.
    Regards,
    Raghu.

  • User Exit for Changing Quantity in Process Order , COR1, COR2

    Hi All,
    Can anyone point me towards the light in User exit related to COR1 and COR2.After the Creation of Process order  while saving i need to write a code that rounds off the quantity values.
    I tried to change the values in the below user exits but i was not succesfull.
    CCOWB001            Customer exit for modifying menu entries
    COIB0001            Customer Exit for As-Built Assignment Tool
    COZF0001            Change purchase req. for externally processed operation
    COZF0002            Change purchase req. for externally procured component
    PPCO0001            Application development: PP orders
    PPCO0002            Check exit for setting delete mark / deletion indicator
    PPCO0003            Check exit for order changes from sales order
    PPCO0004            Sort and processing exit: Mass processing orders
    PPCO0005            Storage location/backflushing when order is created
    PPCO0006            Enhancement to specify defaults for fields in order header
    PPCO0007            Exit when saving production order
    PPCO0008            Enhancement in the adding and changing of components
    PPCO0009            Enhancement in goods movements for prod. process order
    PPCO0010            Enhancement in make-to-order production - Unit of measure
    PPCO0012            Production Order: Display/Change Order Header Data
    PPCO0013            Change priorities of selection crit. for batch determination
    PPCO0015            Additional check for document links from BOMs
    PPCO0016            Additional check for document links from master data
    PPCO0017            Additional check for online processing of document links
    PPCO0018            Check for changes to production order header
    PPCO0019            Checks for changes to order operations
    PPCO0021            Release Control for Automatic Batch Determination
    PPCO0022            Determination of Production Memo
    PPCO0023            Checks Changes to Order Components
    STATTEXT            Modification exit for formatting status text lines
    Reason was the data related tp materials was not accesble at this point and residing in resb internal table .
    Any suggestions ? Ideas  ?
    Thanks in advance,
    Gowri

    Hi,
      Try with BADI <b>WORKORDER_UPDATE</b>.
    Regards

  • I have a  problem while changing quantity value in VA01

    Hi,
                       I am written my conditions in User exit save_document_prepare
    and in that I have given custom error message. After the error I have to correct the
    quantity value and then save it.
    But when I am trying to change after error mesasage it gives an Abort message
    "Item xxxx doesnot exist."
    Here is my code pls help me regarding this
    DATA : FLAG(2),
           FCODE LIKE SY-UCOMM,
    FCODE = SY-UCOMM.
    IF FLAG <> 'X'.
      IF SY-TCODE = 'VA01'.
        IF SY-UCOMM = 'SICH' OR SY-UCOMM = 'OPT1'.
          DATA: BEGIN OF T_VBAK OCCURS 0,
                        VBELN LIKE VBAK-VBELN,
                        VGBEL LIKE VBAK-VGBEL,
                        AUART LIKE VBAK-AUART,
                        NETWR LIKE VBAK-NETWR,
                       END OF T_VBAK.
          DATA : BEGIN OF T_VBAP OCCURS 0,
                         VBELN LIKE VBAP-VBELN,
                         POSNR LIKE VBAP-POSNR,
                         ZMENG LIKE VBAP-ZMENG,
                         KWMENG LIKE VBAP-KWMENG,
                 END OF T_VBAP.
          DATA : BEGIN OF I_VBUK OCCURS 0,
                   VBELN TYPE VBUK-VBELN,
                   RFGSK TYPE VBUK-RFGSK,
                 END OF I_VBUK.
          DATA : T_VBAK_RE LIKE T_VBAK OCCURS 0 WITH HEADER LINE,
                  WA_VBAK TYPE VBAK.
          DATA : I_NETWR1 TYPE VBAK-NETWR,
                 I_NETWR2 TYPE VBAK-NETWR,
                 I_NETWR3 TYPE VBAK-NETWR.
          DATA : L_VBELN TYPE VBAK-VBELN.
          SELECT VBELN VGBEL AUART NETWR
             FROM  VBAK
                   INTO TABLE T_VBAK.
          IF NOT T_VBAK[] IS INITIAL.
            SELECT VBELN RFGSK
                   FROM VBUK
                   INTO TABLE I_VBUK
                   FOR ALL ENTRIES IN T_VBAK
                   WHERE VBELN = T_VBAK-VBELN.
          ENDIF.
          SORT T_VBAK BY VBELN DESCENDING.
          IF NOT T_VBAK[]   IS INITIAL.
            SELECT VBELN POSNR ZMENG KWMENG
            FROM VBAP
            INTO TABLE T_VBAP
            FOR ALL ENTRIES IN T_VBAK
             WHERE VBELN = T_VBAK-VBELN.
          ENDIF.
          LOOP AT T_VBAK where VGBEL = XVBAK-VGBEL.
            IF T_VBAK-AUART = 'TA'.
              I_NETWR2 = T_VBAK-NETWR  + I_NETWR2.
            ENDIF.
          ENDLOOP.
          LOOP AT T_VBAK WHERE VBELN = XVBAK-VGBEL.
            IF T_VBAK-AUART = 'TISC'.
              I_NETWR1 = T_VBAK-NETWR.
            ENDIF.
          ENDLOOP.
          I_NETWR3 = I_NETWR1 - I_NETWR2.
          WA_VBAK = XVBAK.
       READ TABLE T_VBAP WITH KEY VBELN = VBAK-VBELN.
       IF SY-SUBRC = 0.
          LOOP AT XVBAP.
    READ TABLE XVBAP WITH KEY VBELN = SPACE.
            IF SY-SUBRC = 0.
              MOVE T_VBAK-VBELN TO XVBAP-VBELN.
              MODIFY XVBAP.
            ENDIF.
          ENDLOOP.
          IF FLAG <> 'X'.
            IF   WA_VBAK-AUART <> 'RE'.
              IF WA_VBAK-NETWR > I_NETWR3.
              MESSAGE E000(ZMS1) WITH I_NETWR3.
                      ENDIF.
                       ENDIF.
            ENDIF.
          ENDIF.
        ENDIF.
       ENDIF.
      ENDIF.
    ENDIF.
                                                                  Thanks in Advance
                                                                          Ravi

    Hi,
    This error comes when we use the work area taht is already defined in the program and that u have not created in this exit.
    i think in this exit, u have created ur own internal table and workarea for all tables except XVBAP.
    just create WA like
    <b>data : xvbap type xvbap.</b>
    LOOP AT XVBAP.
    READ TABLE XVBAP WITH KEY VBELN = SPACE.
    IF SY-SUBRC = 0.
    MOVE T_VBAK-VBELN TO XVBAP-VBELN.
    MODIFY XVBAP.
    ENDIF.
    ENDLOOP.
    IF FLAG <> 'X'.
    i had faced the same problem and it got solved in this way.
    Hope it helps.
    Regards,
    Sonika

Maybe you are looking for