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

Similar Messages

  • MIGO for schedule lines against total released quantity

    Hi Gurus,
    Is there any standard solution (or user exit) available, so that  MIGO can be performed against total released quantity of schedule lines (Scheduling Agreement) in ME84?
    Currently, MIGO can only be performed once the "Proposed All Item" is ticked, and the quantity proposed is blanked.
    Thanks in advance.

    Hello,
    Yes I have created Scheduling agreement and maintain schedule lines with ME38 and also release schedule lines with ME84 transaction.
    I'm able to do GR, but I wonder if it possible to see all relevant (not yet received) schedule lines (as you can see in ME38 transaction with delicery date) in MIGO transaction? Now I can only see quantity summary of the schedule lines, which are not yet received.
    Regards,
    jaana

  • How to link Invoice Quantity and Confirmed quantity in schedule line

    Hello,
    I'm working for a report in BW. The user want to compare the invoice quantity to the confirmed quantity in schedule line for a sales order.
    I can't find any table linking these two fields.
    Could you help?
    Thanks a lot
    Jeannie

    Ashish,
    When we link these two tables by Sales Order Number / Item, we would take following result:
    Sales Order    /     Itme     /     Schedule line     /    confirmed quantity   /     actual billed quantity
    1                  /      10        /      1                     /    3                            /              5
    1                /         10      /       2                    /     2                            /             5
    But in fact, for Sales order/itm 1/10, we have only 5 PC billed, not 10.
    When billed 5 PC, I want to despatch it to the Schedule line as 3, 2.
    Regards,
    Jeannie

  • GRs created for schedule line of future date

    While making Goods Receipts using MIGO transaction, we are seeing tha GRs can be done for scheduling agreements having schedule line of future dates. Is there some way of restricting the GR upto to current date only. Meaning suppose if I have the following schedule lines:
    category of delivery date         delivery-date           schedule quantity
    M                                               01.2010                   100
    M                                               02.2010                    200
    M                                               03.2010                    150
    Currently the system is allowing to do GRs of quantity = 450 (100 + 200 + 150) in the month of February, 2010.
    But I want that while doing a GR in February, 2010 the system should allow to do GR of quantity 300 only (100 + 200). Please let me know how we can do so in the system.
    Regards,
    Pratima.

    Dear Veer,
    Your answer has helped in the MIGO transaction. Please let me know if something similar is possible for inbound deliveries also. Meaning like in MIGO transaction, I should not be able to make inbound deliveries (in xns VL31N) for schedule lines of future dates / months.
    Regards,
    Pratima.

  • Step wise config data for schedule line agreements

    DEar All,
    I need urgently one the foolowing doc:
    step wise config data for schedule line agreements.
    thanks
    regards,
    s KUMAR

    Hi,
    1) Scheduling Agreement is a long term agreement and PO is normally a one-off. When you have long term relation with supplier you will go with SA.
    2) SA need not have delivery schedules at the time of ordering. It's like a contract with vendor for all basic prices, quantities & terms. You will release schedules as & when required. This method is very popular with manufacturing ind (e.g. automotive) where they negotiate prices but delivery schedules are given periodically based on their actual production/sales demands.
    3) In a PO, you must give schedules in PO itself.
    4) If you know contract & release order (or call-off) concept, then SA is like contract and SA schedule is like release order. PO is release order.
    or
    While using schedule agreement, you will create delivery schedule, when ever you require materials.
    Firm and trade off zone in delivery schedule details will be forwarded to your vendor. you can create daily , weekly , monthly schedule lines
    Example : if you have created a schedule agreement for product " A " for quantity 1000, and you require material of 100 nos in the first month, you can create schedule line for this 100 only and this will be transmitted to vendor( if you are using LPA you have to release schedule line). when ever you require further qty based on your requirement you will create another delivery schedule line, then it will be transmited to vendor.
    In case of PO if you are ordering 1000 qty , you need to specify the delivery date in Purchase order it self, and all the dates are immediately transmited to vendor along with Purchase order.
    For configuration steps please follow
    http://help.sap.com/saphelp_47x200/helpdata/en/93/7439fb546011d1a7020000e829fd11/frameset.htm
    Hope this will help.
    Thanks,
    Raja

  • Inbound Delivery for Schedule Lines of future date

    We have a requirement where in we want to disallow inbound creation for scheduling agreements for schedule lines of the future. For example if we have the following schedule line for a scheduling agreement
           Month        Quantity
    M    01.2010     100
    M    02.2010     200
    M    03.2010     150
    Currently the system is allowing inbound delivery creation of quantity = 450 (100 + 200 + 150) in the month of February, 2010.
    But I want that the system should allow inbound delivery creation in February, 2010 for quantity 300 only (100 + 200). Please let me know how we can do so in the system.
    Regards,
    Pratima.

    Hi Rami ,
    Maintain different schedule lines in PO - Item Details - Delviery Schedule tab.
    This would allow only those qty that is due on that date when creating inbound delivery.
    Regards
    Ramesh Ch

  • Query - Delivered quantity at schedule line of Sales Order

    Hi,
    I've realized a sales order report and i need extract for each schedule line the delivered quantity (VBEPD-VSMNG). How can i find the correct values?
    Thanks and best regards.
    Antonio

    Hi.
    You can use the function module RV_SCHEDULE_CHECK_DELIVERIES to get the delivered quantity corresponding to schedule line item  in sales order.
    Please refer below code:
    Internal table it_vbep has got field VSMNG which is the delivered quantity for each line item
      SELECT * FROM vbfa
        INTO  TABLE  it_xvbfa
        WHERE vbelv = <sales order numer>
        AND posnv = <sales order line item>
        AND vbtyp_v = 'C'.
        SELECT  * FROM vbup
        INTO TABLE it_xvbup
        WHERE vbeln = <sales order numer>
        AND posnr = <sales order line item>.
        SELECT * FROM vbep
        INTO TABLE it_vbep
        WHERE vbeln = <sales order numer>
        AND  posnr = <sales order line item>.
        SELECT  * FROM vbap
        INTO  TABLE it_xvbap
        WHERE vbeln = <sales order numer>
        AND  posnr = <sales order line item>.
        CALL FUNCTION 'RV_SCHEDULE_CHECK_DELIVERIES'
          EXPORTING
            fbeleg                  = <sales order numer>
            fposnr                  = <sales order line item>
          TABLES
            fvbfa                   = it_xvbfa
            fvbup                   = it_xvbup
            fxvbep                  = it_vbep
            fvbap                   = it_xvbap
          EXCEPTIONS
            fehler_bei_lesen_fvbup  = 1
            fehler_bei_lesen_fxvbep = 2
            OTHERS                  = 3.
    Regards,
    Sameer

  • How do know open quantity  for a  sales order  (patially  delivered)

    Hi  Gurus,
    I have requirement to  know  open quantity for  sales order and it was partially delivered.
    Any table  to know partially delivered qty of a material for a  sales order.

    Hi
    Check This Table  VBBE for open order quantity
    You can find open Qty like this
    Open Qty  = Delivery Qty (LIPS-LFIMG) - Order Qty (VBAP-KWMENG)
    Swamy

  • Release strategy for Schedule lines in SD

    Hello All
    Can we create a release strategy for Schedule Lines in Scheduling Agreement? If Yes How?
    I have already maintained a release strategy for Item Level... which I want to put it for Schedule line as well....
    Thanks in advance.

    Hello,
    I think you are in the wrong forum. Please choose the right forum category and post it there.
    Matthias

  • How to get the Deliver Quantity against Schedule Line Quantity

    Hi,
    I have specific requirement for a report where we need to determine the delivery qty against the schedule line qty for a sales order. In sales order in schedule line tab system shows the delivery qty. The field is VBEPD-VSMNG. VBEPD is a structure and I could not find the table in which this is actually stored. Does anybody know how to get the delivery qty for schedule line?

    Hi,
    U can check the following tables:
    VBEP (Sales ScheduleLines) VBEP-VBELN =VBAP-VBELN and VBAP-POSNR = VBEP-POSNR
    LIPS (SalesDoc:Delivery Items) LIPS-VGBEL =VBAP-VBELN and LIPS-VGPOS =
    VBAP-POSNR
    VBEH (Schedule LineHistory) VBELN POSNR ETENR
    Regards
    Kannaiah

  • Open field for customer line item

    Hi Guru
      I have some problem about open field for customer line item  post with posting key 09 and special GL , I open field at posting key 09 but the field still hidden  . How I can open field for used . Thank you

    Dear,
    Use transaction FBL5N and select Special G/L Transactions only and execute.....here bring posting key and filter the posting with 09.
    REgards,
    Chintan Joshi

  • Item & for schedule line & is in the work area

    Hi All,
    We added some custom fields on the schedule line tab and also in VBEP table. For thie same we also added code in the PBO module of SAPMV45A/4500 screen#. Since we added the code we are getting the error message# V1357 with description 'Item 000010 for schedule line 000040 is in the work area'.
    I did check the forum and found couple of notes with this error and some replies say that it is for the quality issue. I tried going to OQ77. But i am pretty sure it is because of what i codded. Because When i comment my code so error shows up. But I am not sure what is the problem with my code.
    Here is the sample of my code that i wrote in my PBO module:
        IF  XVBEP-VBELN IS NOT INITIAL.
            INPUT = MARA-BRGEW * XVBEP-WMENG.
            PERFORM CONVERSION.   "This is the module that i wrote to convert from G to LB.
            XVBEP-ZTOTALWT = OUTPUT.
            xvbep-updkz = 'U'.
            modify xvbep index ivbep-tabix.
        ENDIF.
    Please let me know if i am doing wrong anywhere in the code.
    Thanks,
    Karuna.

    Issue: I got the issue resolved. The mistake i made was the local structure was holding last item which has 1 schedule line and the my first item10 was having more than 1 schedule lines and trying to loop all the schedule lines. As the last item has only one schedule line i was getting the problem.
    Solution: I reset the structure to that it will loop from the first line item instead of it holding the last item#.
    Hope this helps.
    Karuna

  • Shipment for schedule line

    hi,
    For our Scenario., schedule line is generated from scheduling agreement with vendor.
    And, Shipment for schedule line is created successfully, using VSR Optimization.
    and in OLTP Generation of deliveries, I am getting List with my shipment for which the deliveries to be generated in ECC.
    but while executing, I am not getting any error (except application log in /SAPAPO/C3) as well as no delivery created in ECC which stopping me for "check Release of planned shipment. " and move the shipment to ECC
    Could anyone suggest me how to process the shipment for schedule line (based on scheduling agreement)
    Regards
    Maran
    Edited by: DP.Maran on Mar 7, 2010 11:33 AM

    Delivery generation was blocked in ECC, cahnged teh confirmation control key in shceduling agreement (0036)
    this allowed me to generate Delviery in ECC

  • Use of NOSCL(Counter for scheduling lines) in 02LIS_02_SCL

    Hi,
    I want to extract PO value from 02LIS_02_SCL in BW. The value which I get in PSA table is +ve and -ve. I am boserving the sum value for any PO is zero.
    I wanted to know what is the use of NOSCL(Counter for scheduling lines) in 02LIS_02_SCL? I can observe that PO value corresponding to NOSCL =1 is +ve, i.e. I am getting all the +ve value in order for which NOSCL = 1. The positive PO value is as per R3 data.
    Thanks in advance

    Dear SDBI,
    Thanks for reply.
    I checked for rejection indicator. Again for every positive value there is negative value and for every negative value, its marked with rejection status. So when value for any  particular value is summed up, we get result value as zero.
    I need following information:
    1. Is it possible for every every positive PO value, there is negative value?
    2. How to reconcile the data in PSA of 2LIS_02_SCL with R3 tables?
    Thanks again.
    Jaydeep.

  • Can anyone explain me the procedure and initial settings to do sto for schedule lines?

    can anyone explain me the procedure and initial settings to do sto for schedule lines?
    Create a STO with new doc type for material M1 to ship from plant 1 to plant 2 with qty as 100. On pressing enter you should be able to see schedule lines in delivery schedule tab. In schedule line you should see the Material availability date, GI date, loading date etc.
    can anyone give the answer for this question..

    Hi Megha,
    Please find below links for Config STO with schedule lines.
    http://dhavalatsap.blogspot.sg/p/configuration-of-plant-to-plant-sto.html
    https://scn.sap.com/thread/1260375
    Thanks,
    Bala.

Maybe you are looking for