Open Quantity in Scheduling Agrreement

One of our client is not able to CREATE DELIVERY using a SCHEDULING AGREEMENT.
Actually the problem is SA is not showing ANY OPEN Quantity on that Day. If we increase the quantity in Order quantity then the open qty is showing some quanity. and we could make delivery then..
Can anybody give the reason of not showing any open quantity.

Hi,
whats about your cumulative quanity?
which requirement type is used?
Bye
NL

Similar Messages

  • Open quantity for scheduling lines

    Hi,
    I need calculate open quantity from scheduling lines(based on date) for Scheduling Agreement (similar like VL10I works). I noticed that open quantity is not maintain in VBEP. So could you help me?
    BR,
    Z

    Hi,
    For calculating open quantity for scheduling lines ,u need to query the sales order number in table VBUK and check the field GBSTK , it will be an open order .
    You can look in table VBAKUK for this .
    This is Join of VBAK and VBUK entries. You can eliminate a join if you fetch it from VbakUk
    Now once it is confirmed that it is open then fetch the entries from VBAP.
    Hope it helps you.
    Thanks,
    Sarita Singh

  • Open quantity in schedule agreement

    Hi All,
    We have finished with a particular schedule agreement(ME31L). No more pending deliveries.
    Now in the open quantity is showing in schedule agreement. here 2 deliveries does not match as quantity differs.
    Can I know why this open quantity is showing and how to check/over come this issue.
    Thank You

    Hi,
    You can check the scheduling agreement in transaction ME38 for the entered deliveries & GR made against each delivery. The difference is open Schedule.
    Regards,
    Prashant

  • Open quantity not displayed in SUS for Scheduled agreement

    Hi,
    When trying to send a Scheduled agreement from R/3 4.7 to SUS using the
    Idoc DELINS, we are getting the open quantity in SUS in column
    Quantity. There is another column as Open which should display the
    available open quantity in the system for the material which is not
    displaying. Plz do let me know what should be done to get the open
    quantity in the column.
    Regards,
    Anand

    Hi
    <u>Seems to be like some OSS note is missing in the system.</u>
    Please refer to the following OSS notes.
    <b>
    865410 SRM50-SUS: Missing follow-on doc buttons in sched agrmnt rel
    807935 SRM40-SUS: Create links do not show all purchase orders
    608760 BAdI for flexible plnd indep. requiremt settlement/reduction
    976264 Archiving enhancements in purchasing for ERP 2005
    806361 Partner ID of the sold-to party in the SUS-MM scenario
    791662 SUS-MM: U.S. postal codes are not transferred correctly
    791006 SUS-MM: Updated IDoc creates new order</b>
    Have you raised any OSS message with SAP on this yet ?
    Regards
    - Atul

  • Outbound Delivery Creation without OPEN quantity in SD scheduling agreement

    hi,
    We have a customer requirement, where user 's should be able to create
    outbound delivery irrepective of open quantity in Sales document.
    In Vendor Direct Ship scenario where vendor ships goods to customer directly and sends Inbound 856 EDI message which creates Inbound Delivery, GR, Outbound Delivery, picking, Goods Issue automatically and outbound ASN is sent to Customer. At times, when there is open quantity in SDSA, the I/B IDOC fails in status "51". In such cases, user needs to update the open quantity in SDSA manually and then reprocess the IDOC. In order to avoid manual intervention, business wants to create outbound delivery even though there is no open quanity.
    Please provide your valuable inputs.
    Thanks
    Sudheer

    Not solved

  • 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

  • How to change the open quantity of PO / STO using  BAPI_PO_CHANGE

    Hi Friends,
    How can I change the open quantity in ME22 using the BAPI BAPI_PO_CHANGE...
    I am getting some errors..The values I am passing to the BAPI are:-
    *-- Purchase Order document
        lv_purchaseorder = tbl_join-ebeln.
    *-- Calculate Open quantity
        lv_quantity = ( tbl_join-menge - tbl_join-wemng ).
    *-- Fills Schedule quantity to be processed.
        tbl_poschedule-po_item      = tbl_join-ebelp.
        tbl_poschedule-sched_line   = tbl_join-etenr.
        tbl_poschedule-quantity     = lv_quantity.
        APPEND tbl_poschedule.
    *-- Marks the Schedule quantity to be processed.
        tbl_poschedulex-po_item     = tbl_join-ebelp.
        tbl_poschedulex-sched_line  = tbl_join-etenr.
        tbl_poschedulex-po_itemx    = c_true.
        tbl_poschedulex-sched_linex = c_true.
        tbl_poschedulex-quantity    = c_true.
        APPEND tbl_poschedulex.
    CALL FUNCTION 'BAPI_PO_CHANGE'
          EXPORTING
            PURCHASEORDER                = lv_purchaseorder
          POHEADER                     =
          POHEADERX                    =
          POADDRVENDOR                 =
            TESTRUN                      = 'X'
       IMPORTING
          EXPHEADER                    =
          EXPPOEXPIMPHEADER            =
         TABLES
           RETURN                       = tbl_return
           POSCHEDULE                   = tbl_poschedule
           POSCHEDULEX                  = tbl_poschedulex.
    Is there any other required fields needs to be passed to change the open quantity..
    I am checking in ME22...
    The scheduled quantity is 20.
    Delivered quantity is 15.
    Open quantity is 5   and ( this field is in non-editable display )
    Delivery date  is 10.10.2002  ( which is in past )
    Now using this BAPI ..I want to post the remaining open quantity which is " 5 "
    How can i do this ?? Please help.

    Hi Hari
    Please check after making the following changes:
    *-- Marks the Schedule quantity to be processed.
    tbl_poschedulex-po_item = tbl_join-ebelp.
    tbl_poschedulex-sched_line = tbl_join-etenr.
    <b>tbl_poschedulex-po_itemx = 'U'. "c_true.
    *tbl_poschedulex-sched_linex = c_true.</b>
    tbl_poschedulex-quantity = c_true.
    APPEND tbl_poschedulex.
    If still you do not get the desired function working add the below code:
    tbl_poitem-po_item = tbl_join-ebelp.
    tbl_poitem-quantity = lv_quantity.
    append tbl_poitem.
    tbl_poitemx-po_item = tbl_join-ebelp.
    tbl_poitemx-po_itemx = 'U'.
    tbl_poitemx-quantity = c_true.
    append tbl_poitemx.
    Hope this helps.
    Kind Regards
    Eswar

  • VBBE Table for Sales Order Open Quantity......

    Hi Experts,
    In VBBE Table I found sales Order Open Quantity but Some of the Materials are not showing in this VBBE table which are still pending (Open).
    What may the reason.
    Yusuf

    Hi CHR,
    In S001 table i found related material open qty. but there is no link with vbeln posnr and etenr (schedule date). Only Customer Code (Kunr) is available.
    This is no use for me for making report.
    Yusuf

  • Open quantity gets blocked (SUS)

    Hi all,
    We had PO qty 4 each, GR was done for 4 each (through SUS), but in quality inspection 1 qty was rejected in quality inespection and 122 movement type, nw the vendor must be able to do ASN against the remaining 1 qty, but the system dont allow to do the ASN against the PO, it is showing confirmed quantity as 4 each..
    Same is the case with schedule lines the open quantity gets blocked..
    any suggestion.. please guide me..
    Regards,
    Abhishek
    MM/SRM

    Hi Abhishek,
    You can do a GR only when the vendor has sent an ASN.
    Regards,
    Nikhil

  • 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

  • ADF_FACES-60097 error while opening a random schedule job

    Hello,
    recently i'm facing a error in oim while i open the schedule job
    When i logeed in with xelsysadm
    click on advanced.then click on System management
    search all the scehdule jobs
    open a random schedule job
    error occured!!
    Error: An error Occurred while retrieving trigger for the schedule job.
    ADF_FACES-60097
    please help
    regards
    tp

    Hi Frank,
    Thanks for the reply. I am using it as an inline popup. I am trying to create command links dynamically in an iterator. When a link is clicked a popup window opens. The text of the link is passed to the popup window by creating a variable in the session scope ( I even tried request scope) by an action listener in the backing bean.
    I tried to create another simple application with a static command button which passes its text to popup window through a session scope variable. It worked fine. I am not sure why the same procedure is not working in my original application. Can you give me a hint what could possibly go wrong according the exception stack trace ?
    Thanks,
    KK

  • 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