Production Operation open quantity due to Scap ECC confirmation

Hi
We are using transaction CO15 (order confirmation) for confirmations of production orders. When we confirm Scrap, the scrap quantity is updated on the Last operation on the ECC order. So, for example order for 1000 pcs and we confirmed 100 as yield and 10 as scrap.
The ECC order will look like that after the cnfirmations:
oper 0010:
Operation Qty :1000
Confrimed scrap : 0
confirmed yield: 110
Oper 0020:
Operation Qty :1000
Confrimed scrap : 10
confirmed yield: 100
In APO for operation 0010 the operation qty is now = 890
But in fact, production planning personal want to see in APO for the operation in the DS palnning board, that actually 900 pcs as the leftover to produce.
Any way to achive that? Is it ECC or APO configuration?
Thanks

You need to mention START-OF-SELECTION explicitly in your code.
Change your code as below:
*& Event START-OF-SELECTION
START-OF-SELECTION.
IF mrpntdn = 'X'.

Similar Messages

  • WM-production order supply quantity is not reduced after confirmation,GRN

    Dear Gurus
                   i am configured the WM-PP , in the production order after material staging and TR-TO process , i did confirmed the
                   production order and GRN.  Raw material stock is not reduced from the storage type 100.... 
                   kindly, suggest me where i missed the configuration.
    BR
    DEVA

    Hi Ismini,
    For the first question, there could be several reasons, like for example, 13.1 is not week 4. So if the consumption parameters did not allow forward for at least around 7-10 days (to get to the date of the first day in week 4), then consumtion didn't take place. Another reason could be that you defined planning strategy 10 for the material AFTER the sales order was already created.
    Point 2: I really don't know he details of these LTP scenarios that you mention.
    Point 3: if it really is from 2007 I think that you can delete the PIR without fear.
    Regards,
    Mario

  • WM-production order-need change the open quantity in Transfer order

    Hi,
       I created the production order (order quantity 1000).  i did material staging and generated TR. .
       But i need to change the open quantity in transfer order . i need to create the partial Transfer order
        against TR..
       KINDLY SUGGEST ME
       WITH REGARDS
       Dinesh

    Hi Dinesh,
    TO for partial qty is possible.
    When you are doing material staging with 319 mov.type, you create a transfer order for partial quantity as follows:
    You first create a manual transfer order using transaction LT04.
    You specify the TR number in the intial screen and navigate to the detail screen, system shows the Open TR quantity and the proposed TO quantity. By default, both these quantities are equal to the TR quantity.
    However, when you create by clicing the "Create TO button" (the icon with a plus sign in the tool bar of LT04 screen), system takes you to another screen where it asks for the "Requested Qty" on the top of the screen.  Here you can modify the qty as per your requirement; then you can check and confirm the storage type and storage bin for source and destination stocks & save.
    It is important that you give the correct source storage type & storage bin that is having stock or otherwise system might give error message.
    System will create a TO line item with the entered qty and propose the balance TR qty as the 2nd TO line item. You can skip this 2nd TO item or delete it from the TO.
    Once again, if you click the Save button, system will save the TO with the partial quantity.
    The balance quantity will be available in the TR as open quantity and this can be seen in the header data of transaction LB03.
    Regards
    Prabhu

  • Automatically updating open quantity..is it possible?

    Dear all,
    I am facing a series of issues related to the open quantity. My client insists that this function is a necessity. However, it's not easy to find out how.
    1. Problem
    After registering a Purchase Order and Goods Receipt PO, there are cases we have to return Goods Receipt PO.
    However, the number appears on Open Qty. does not chance on the original Purchase Order.
    Therefore,
    1) The total number of goods has to be dealt as if it had been returned, then a complete new Purchase Order has to be made or,
    2) A brand new Purchase Order has to be created as many as the goods returned or,
    3) Goods Receipt PO has to be processed as many as the goods returned without making any change on the Purchase Order.
    2.  Request
    When a number of goods are returned after being handled on Goods Receipt PO, the Open Quantity automatically reflect the change so that the user does not have to manually change the number
    If this is not fixed, the orders and items loose their traces which is not welcomed in the management point of view.
    It would be very nice if anyone here can help us out.
    Regards,
    Jinah.

    Hello Jinah,
    I can understand how important it is to keep your customer Happy but this functionality is impossible to achieve.  This is a fundamental change to Product design.  The fact that it cannot be done the way your customer wants has to be explained as I have not known any Accounting system which would work this way.
    Best wishes
    Suda

  • How  to configure for open quantity

    please help
    how the oder quntity will be come as deliver quanity and delivery quntity ll be come as open quantity
    for this reason my delivery is splited in to 2delivery each time and
    the schedules are coming auto matically
    see the notes regarding open quntity in delivery
    Quantity to be delivered in sales units
    The quantity of the item that remains open for delivery. The open quantity includes the delivery quantity in the delivery that you are currently processing. The quantity is expressed in sales units.
    Use
    The system calculates the open quantity by taking the original delivery quantity and subtracting the quantities from any deliveries that also refer to the item. If you create more than one delivery for an item, the system adjusts the open quantity in existing deliveries every time a new delivery takes place.
    Example
    You create a sales order item for 100 pieces. During delivery processing, you create three separate deliveries that refer to this order item.
    1. Delivery #1 has a delivery quantity of 40. The open quantity is 100 pieces (the quantity still to be delivered, including the 40 pieces you already entered for this delivery item).
    2. Delivery #2 has a delivery quantity of 50. The open quantity is 60 (the original delivery quantity of 100, minus 40 from the first delivery, but including the 50 you are currently processing). In the first delivery, the system adjusts the open quantity from 100 to 50, to account for the delivery quantity in the second delivery.
    3. Delivery #3 has a delivery quantity of 10, to complete the original delivery quantity of 100. In the third delivery, the open quantity stands at 10 and the system adjusts the open quantities in the first and second deliveries to 40 and 50 respectively.
    so all the problem due to this open quantity
    so please tell me how the open qunatity will be same as the delivery quanity
    or ordered quntity
    regards
    subrat

    Hi Surbat,
    First we would like to know why you want the open quantity same as delivery quantity or Sales order quantity?
    Regards,
    Amrish Purohit

  • Production order conformation quantity control

    Dear friends,
    Requirement is : Against a production order quantity say 100, with milestone confirmation in 3 operations, the actual yeild is only say 80 with indicator delivery completed in the final operation. System is still allowing to do the GR for the balance quantity which is not exisiting. Please guide how to address this .
    Thanks in advance,
    Muralee

    Hi,
    Order qty is 100 no's. Yield is  80 no's. So system will allow you to make confirmation  for 20 no's more.
    Enter 20 no's in scrap field. Then only system will not allow you to do GR more than 80 no's.
    In tcode OPK4 , you can set under delivery over delivery tolerance.Say 10% tolerance given in work scheduling view.
    System allow you to do GR for 90 no's(under delivery) 110 no's (over delivery) without showing any error message.
    If you beyond these limit, system will give error or warning message according to your setting in OPK4.
    Regards,
    Dharma

  • Open quantity remains open even when delivery and goods issue is completed

    Hi gurus,
    We have so many deliveries in system where open quantity  in outbound delivery document  shows the quantity as open even though the goods issue is completed and invoice has been created and accounting documents are also cleared.
    I am not getting why it is happening. can someone please advise or throw some light on this.
    Vice versa they are showing up in MRP run as requirements.
    Thanks in advance gurus,
    Kind regards,
    Gopio.

    Hi Amol,
    I think i got the correct one which is RVV05IVB, and i had selected the shipping due date index, but it did not clear the open quantity, still it remained as open quantity.
    And the message i got after running the report is pasted below.
    Reorganization of SD Document Indices
    Reorganization sales document indexes with the following selection criteria:
    I EQ 80015593
    Delivery due Index
    How does that open quantity gets updated, or is there any control that we can deactivate as these are showing up in MD04 as sales requirements.
    Thanks,
    Regards,
    Gopio.

  • Restrict Yield to be confirmed should not less then operation GR quantity.

    Dear Sap Gurus,
    I have an issue. I want to restrict Yield to confirm quantity should not be more or less then operation GR quantity.
    I am doing production order confirmation through Co11.
    How can i restrict it ? or please guide user exit for that.
    Regards
    rvyas

    Hi
    You can use implicit enhancement to restrict the confirmation in CO11N screen.
    Check with your ABAPer to use it.
    Regards
    Bala

  • Error in schedulinq parallel sequences with flow production operations

    We have a routing with a standard sequence with operations in wich we have set "Continuous flow prod"
    and "Min. Send-Ahead Qty=1".
    We have a parallel sequence as well with operations set in the same way "Continuous flow prod"
    and "Min. Send-Ahead Qty=1".
    When you run the transaction "MD11" to create a planned order for the item the scheduling of the operations is correct
    as regard the standard sequence,the system, correctly,  schedules the operations overlapping
    them according to lead time set in the operation details.
    But the last operation of the parallel sequence is scheduled to finish the whole lot before the operation
    following the "return operation" . The system doesn't overlap this operation. In this way the
    last item of the last operation (in the parallel sequence) isn't finished at the same time
    with the last item of the "return operation" (in the standard sequence) as we like it would be.
    We have set "Backwards scheduling" type on customizing and we use the "Alignment key= 2 "
    for standard sequence and in the parallel as well. We have also tryed to set "Alignment key= 1"
    in the parallel sequence but the results are howewer not correct.
    In conclusion the schedulation of  continuous flow production operations
    doesn't work properly between operations belonging to parallel sequences.
    Could you suggest me what to do?
    Thank you.

    Hi,
      I tried with 5 ops 10, 20, 30 ,40,50 ( same work center  wc1)
      Set up time 1, Process time 1min for 1 pc
      set the continuous flow prodn i at op 20 with min send ahead qty 1
      Also a parallel seq was created with 3 ops op20 ,30 , 40 .
      set up time was 2 min for all work centers( same work center wc2) and proc time
      time is 1 min for  1 pc
      In that set the  continuous flow prodn at op 20 with min send ahead qty 1
      sceduling type was forward
    .Alignment key was 2 for both std seq and parallel seq .
      After scheduling found that op 20 in std seq starts at 6.14am and op 40 ends
      at 6.47 am where as in parallel seq op 20 starts at 6.11 am and op 40 ends at
      at 6.47 am which is correct.( branch op is 20 and return op is  40)
      The three minutes late start in op 20 of std seq  is due to 3 minutes extra time
      defined for three  work centers setup time.
      I also tried with alignment key 1in both std seq and parellel seq.
    Kindly check that you have maintained the continous flow prodn radio button
    in the same operation in both std seq and parallel seq.
    Regards,
    S.Nandhakumar

  • Execute of operation 'Produce_Message' failed due to: ERRJMS_EMPTY,help....

    <messages>
    -<input>
    -<Invoke_Output_Produce_Message_InputVariable>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Root-Element">
    <Root-Element xmlns="http://TargetNamespace.com/Inbound"/>
    </part>
    </Invoke_Output_Produce_Message_InputVariable>
    </input>
    -<fault>
    -<remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    -<part name="code">
    <code>null
    </code>
    </part>
    -<part name="summary">
    <summary>
    file:/C:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_BPELProcess2_1.0_926648afbf81509a7362b645586f22f7.tmp/Outbound.wsdl [ Produce_Message_ptt::Produce_Message(Root-Element) ] - WSIF JCA Execute of operation 'Produce_Message' failed due to: ERRJMS_EMPTY_PAYLOAD.
    Payload Record Element is unexpectedly empty [Caused by: Element not completed: 'Root-Element'].
    ; nested exception is:
         ORABPEL-12167
    ERRJMS_EMPTY_PAYLOAD.
    Payload Record Element is unexpectedly empty [Caused by: Element not completed: 'Root-Element'].
    Please examine the log file to determine the problem.
    </summary>
    </part>
    -<part name="detail">
    <detail>null
    </detail>
    </part>
    </remoteFault>
    </fault>
    </messages>

    In the JMS configuration (oc4j-ra.xml), set the following property to false:
    <config-property name="isTransacted" value="false"/>

  • How to calculate the OPEN QUANTITY in delivery Duelist Report

    Hi Everybody,
       I have a query for finding out the OPEN QUANTITY for schedulines for a delivery.
    If for example the report is run for 2nd of February, it is necessary to
    determine whether there are delivery relevant schedule lines before the
    2nd.
    If yes, we need to know whether there is an open quantity to this line
    item.
    If yes, this open quantity is a negative deviation (we delivered not
    enough).
    If there is no open quantity it is necessary to determine whether for the
    earliest future to be deleviered schedule line, the open quantity equals
    the ordered quantity (VBEP-WMENG),
    if No the the difference between both values equals the positive deviation
    (we delivered more than requested)
    If the open quantity equals the ordered quantity there is no deviation.
    The problem is to calculate the open quantity and the SAP standard there is function
    builder used in SAP standard include MV45AF0O_OFFENE_WERTE_ERMITTEL, the
    function builder is called RV_SCHEDULE_CHECK_DELIVERIES'. But how could we use in this formulae in a Custom delivery report.
    Looking for your helpful suggestions.
    Many thanks in Advance,
    Mira Saikrishna

    Krishna....have a look in the below threads where there was a similar requirement..
    error while using BAPI_OUTB_DELIVERY_CHANGE
    change outbound delivery

  • Purchase Order Open quantity calculation.

    Hi All..
    I would like your help in finding out the logic behind calculating the open quantity for a given line item of a purchase order.
    Iam aware that i should go to the EKBE table to see purchase order history. Can someone tell me what are all the conditions i need to consider to calculate the Open quantity.
    Iam able to give a value E to field BEWTP (Purchase Order History Category) in EKBE and for all the recieved records iam adding the quantity for movement type 101 and removing the quantity for movement type 102 that finally gives my total GR qty. Then iam doing Original PO qty - GR qty to get the Open qty.
    Let me know if this logic is wrong or else is there any other conditions to consider.
    Appreciate your help and will reward.
    THanks.

    subtract the PO quantity EKPO-MENGE with the delivery quantity field EKET-GLMNG
    Thanks
    Seshu

  • Purchase order open quantity

    Hi,
    I am making one report for open purchase order quntity.But there is some problem
    In delivery shedule tab of  purchase order,If delivery date is in future, that purchase order quantity
    also shown by system as open quantity. So whether this open quantity is taken into account or not.
    So please guide me.
    Thanks and Regards
    Anil

    Hi,
    You can also user other transaction for open purchase order quantity.
    Enter ME2M t-code.
    Then select WE101 in selection parameter option and click on execute button.
    Then go in change layout option and take To Be Delivery quantity field in display mode.
    You can see open purchase order quantity.
    I hope it is useful for u.
    Regards,
    Mahesh Wagh

  • BAPI for PURCHASE ORDER with OPEN QUANTITY field

    Hi All,
    I wanted to use the BAPI_PO_GETDETAIL to get the Purchase Order details upon triggering from Warehouse management system,
    But the details required contains a field called OPEN QUANTITY...which is not used in this BAPI.
    I request to let me know if any BAPI exits for PO details having the structure for this field:Open Quantity.
    Am using SAP version 4.0B.
    If not exists please advise how to customize the existing BAPI to meet the requirement.
    thanks
    mahi

    Hi,
    Open quantity is a calculated field. I guess the BAPI gives the details of the delivery, so take the ordered qty and substract the delivered qty from that.
    Delivery data is EKET table.
    Regards,
    Ravi

  • SO open quantity

    Hi,
    I need to get open quantity for each sales order in my Z report. Is there any field to store it or i need to calculate it. How can i do that, Thanks!

    Hi..
    check the below code to get the open quantity.
    open quantity = ordered quantity - delivered quantity
    Fetch delivery information
          SELECT vbeln posnr vgbel vgpos lfimg
                       FROM lips
                       INTO TABLE gt_lips
                       FOR ALL ENTRIES IN gt_vbap
                       WHERE vgbel = gt_vbap-vbeln AND
                             vgpos = gt_vbap-posnr.
    *Compute delivered qty
                LOOP AT gt_lips INTO st_lips WHERE vgbel = st_details-vbeln AND
                                                   vgpos = st_details-posnr.
                  gv_lfimg = gv_lfimg + st_lips-lfimg.
                  CLEAR st_lips.
                ENDLOOP.
                st_details-open_qty = st_details-ord_qty - gv_lfimg.
    i guess you know how to get the ordered quantity for the sales order item.
    Award points if found useful.
    Regards
    Divakar

Maybe you are looking for

  • Transactional data upload

    hi this is teja,i have faced below questions. 1.go live date is 01.04.2007,but client was given trail balnce (vendor balance ,customer balances,open items and every thing )that trasanctional data was view in the sap systems from legacy.what are the s

  • Static in Phone Line

    My iPhone has static in the line; I can hear callers, but they cannot hear me due to static. Someone please help!

  • Anyone experiencing timeline issues? No drop down in three way cc saturation

    Hi not quite sure when, probably with in the last week or so I've noticed that a project i started a while ago has become buggy.  The timeline needle doesnt scrub, different sequences show up sparraticcaly, saturation doesn't drop down in three way c

  • Stationpre​step not executing in stationcal​lback.seq?

    Hi, I did some examples to get more familiar with callbacks. I'm not sure if there's a setting I'm not aware of or anything, but here's the scenario I have difficulty explaining. I have a Process Model (PM) with an Entry Point containing one sequence

  • Can't get focused a JTextField within a JTable cell

    I have a table and I placed a cell editor with a JText field on it for all cell editing, I want to do things when the focus is lost or gained and my app works fine when a cell is double clicked or f2 is pressed, but when a cell is selected (without d