Delivery Status at Schedule Line level.

Hi All,
I have to retrieve some data on the basis of Schedule line for which delivery is not complete. Please find below the requirement.
I am having one sales order with one line item which having two schedule line. For one schedule line confirmed qty is 1K and for other 2k. For first line item deliver qty is also 1k.
I want to know how to check the delivery status for schedule line counter so I will get the idea that for first schedule line qty is delivered and for second not.
Thanks
Piyush

Use the function module
  CALL FUNCTION 'RV_SCHEDULE_CHECK_DELIVERIES'
    EXPORTING
      fbeleg                        = wa_vbap-vbeln
      fposnr                        = wa_vbap-posnr
  FVERRECHNUNG                  = ' '
  FS073_ALT                     = ' '
  IF_NO_SORT                    = ' '
    TABLES
   fvbfa                         = fvbfa
   fvbup                         = fvbup
   fxvbep                        = it_vbepvb
  FVBLB                        =
    fvbap                        = fvbap
EXCEPTIONS
  FEHLER_BEI_LESEN_FVBUP        = 1
  FEHLER_BEI_LESEN_FXVBEP       = 2
  OTHERS                        = 3
  IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
loop the internal table it_vbepvb.
get the open qty in that schedule line
    MOVE wa_vbepvb-olfmng_flt TO wa_itab-openqty.
    IF  wa_vbepvb-bmeng EQ wa_itab-openqty.
check that with the schedule line confirmed qty wa_vbepvb-bmeng
If delivery is avaliable the open qty will not be equal to confirmed qty.

Similar Messages

  • Reg: Sale Order short close at Schedule lines level

    Dear Gurus,
    Requirement is to close all open schedule lines beyond one month.
    In detailed. User Enters Manual Schedule Lines as per the requirement of the customer say for 6 months.
    for Eg . Sale order entered on 1st of august to Dec with 500 qty, schedule 100 qty/Month, manually in sale order.
    Now if business delivers only 90 out of 100. they need to short close that particular schedule line only not the entire sale order or line item. I tried with Delivery block at schedule lines level. but it is not working.
    If any one has come across this scenario please share with me.
    Regards
    Praveen

    If we apply a delivery block the pending qty will automatically add to the last schedule date. Ex. if there is 3 dates in the schedule lines, and there is some 50 qty pending in second date, and if u apply delivery block it will carry forward that pending 50 qty to the third schedule line and adds up with it.
    But in my case i just want to close that pending 50 qty in second line item.
    Regards
    Praveen
    Edited by: Praveen_PG on Sep 15, 2011 1:28 PM

  • Changing delivey dates on schedule line level in Purchase order in IS AFS

    Hi,
    I want to know if there is any standard transaction or enhancements to change the delivery dates in purchase order on schedule line level in IS AFS scenario on mass.
    Thanks,
    Kumar

    Hi Antony,
    Thanks for the reply.But the transaction MASS is not enhanced for changing delivery dates in schedule line level in IS AFS.
    Thanks,
    Kumar

  • Delivery block with confirm. block on schedule line level in sales order

    We customized a new delivery block with confirmation block.
    When using it in sales order header, it is working correctly: the availability check in APO gATP is executed; but as soon as I save the sales order, the confirmation quantity is set to zero.
    We now need to use this on schedule line level, not on header level. It is not working. Even after saving the confirmed quantity stays as filled by gATP availability check.
    What is wrong? SAP help / documentation officially describe that delivery block with confirmation block either works on header level or on schedule line level.
    Thanks in advance.
    Edited by: Schmidt on Aug 13, 2008 4:47 PM

    Please see if OSS notes 21584 and/or 19488 might help.
    Regards,
    Anisha.

  • Delivery dates in schedule lines is not changing in sales order

    Dear all,
    delivery dates in schedule lines on line item in sales order is not changing.delivery dates are different in schedule line of partial qtys.i have to do same delivery date on all schedule lines.
    Regards,
    Praveen

    Hi Praveen
    1. Schedule Line dates can be changed manually or by doing an availability check only.
    2. In case if you change the delivery date in the header it will not change automatically in the line item level.
    3. You need to do it manually only.
    kindly let me know more details.
    reg
    dsk

  • Delivery item per schedule line

    Hi all,
    Thank you for viewing my posting, I have the requirement as following:
    I have two SD schedule agreements, there are several schedule lines on JIT delivery Scheudle tab for each schedule agreement, these two schedule agreement are for same customer, have different material.
    What I want is:
    When I create delivery for these two schedule agreements in VL10A, these two schedule agreements are combined into one delivery note, but the delivery item per schedule line on the delivery note.
    E.g.
    one schedule agreement has 5 schedule lines
    the other has 4 schedule lines
    After I create delivery for these two delivery notes in VL10A, there should be 9 items on delivery notes, one item per schedule line.
    Do you have idea on this? I do not want to combine several schedule line into one delivery item.
    Thanks!
    Alex Lu

    Dear Alex,
    You try these copy control settings between Scheduling agreement and delivery document.
    Go to VTLA transaction select your document types
    First you go header level settings here you can find the check box field called Copy item number check this then try.
    If it is not full fill your requirement then go in to the item details here you can find the copying Routine maintenace field Item Data Under Data transfer Tab,this field will have 101 item Routine as per the standard,you take ABAPer help you copy this routine then change according to your requirement then assign new routine here.
    I hope this will help you,
    Regards,
    Murali.

  • Delivery qty against schedule line

    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?
    Regards,
    Sachin.

    Dear Sachin,
    the delivery is always created in the ERP system on the item level. You cannot deliver a separate schedule line. This functionality does not exist.
    But if you go to the schedule line screen then the delivered quantity of the item will be distributed through all schedule lines which have the confirmed quantity. The distribution takes place starting from the earlier schedule line and goes to the later schedule lines and the delivered quantity ordered to a schedule line must be always not larger that the confirned quantity. If there will be undistributed rest of delivered quantity, it will be ordered to the last schedule line.
    This distribution takes place dynamically during the transaction VA02. The main program place here is the function module RV_SCHEDULE_CHECK_DELIVERIES.
    I hope, this information helps you further.
    Kind regards,
    Akmal Vakhidov
    Development Support SAP, Walldorf/Germany

  • Tolerance limits at Schedule line level in PO

    Hi
    How to make tolerance limits at schedule line level in PO, (not at item level)
    Thanks
    Raju

    HI Raju,
    In PO Delivery schedule qty tolerance is not possible.
    PO delivery line itemwise tolerance only possible and also we have freezed tolerance in the line items.
    Based on line item qty, We have delivery schedule given and not exceed line item qty.
    Hope, you are clear.
    K.Rajendran

  • Is there a way to track the delivered qty at the schedule line level in R3

    Hello Gurus,
    Is there a way to track the delivered qty at the schedule line level in R3.  I spoke to al ot of functional guys on this and the answer is NO. If NO,then, how does the 2LIS_11_V_SSL extractor extract the delivered qty at schedule line level. Help is really appreciated.
    Thanks
    Simmi

    Hi Simmi,
    I have used this extractor for the purpose you describe at more than one customer without problem. My understanding is that it links the order schedule line with the delivery, but I haven't tried to work out the mechanism.
    Regards,
    Ken

  • Split delivery for each schedule line

    Hi,
    We have a requirement to split deliveries for each schedule line in the order.
    For example: I have an order with one line item which has 2 schedule lines. If the schedule line date on one is 01/29 & the other is on 01/31, and the delivery due list VL10A is run with a range 01/29 - 01/31, it picks both the schedule line & combines them into one delivery.
    Is there a way by which we can force them to create 2 different deliveries (as it would if the delivery due list was run for each day at a time).
    We created a data transfer routine (deliveries), and populating ZUKRL with schedule line date & that doesnt solve the problem since the routine is triggered once for each sales order line and not for schedule lines.
    SAP reverted back that this is standard SAP behaviour to cumulate all due schedule lines into one delivery, but I would like to know if anyone has any other solution ?
    Thanks in advance!

    First of all you have to use VL10E to create deliveries, since it creates one delivery item for each schedule line.
    Then play with your own delivery role copied from standard profile 0201:
    you can trigger 3 different flags to reach your goal:
    Cumul. Rule: Rule for calculation of quantity to be delivered
         There is a field that contains a cumulated quantity in delivery lists
         with item or schedule line views. The quantity at which the list line
         (document item or schedule line) is delivered is defined in this field
         when it is selected and the delivery process is started in the
         background. The value is a default and can be changed by manually
         processing the delivery list on the item or schedule line level.
    SplitSchedLine: Rule for creating one delivery item per schedule line
        In a delivery list in item view with multiple schedule lines, you can
        decide for the same document item whether you want to generate one
        delivery item per schedule line or whether you want to deliver the
        cumulated quantity of the last schedule lines selected.
    LimitSchedLine:  Allow constraints on schedule line level
         You can use this indicator to limit selection o
         delivery when
         o   Delivery due date and/or
         o   Planned goods issue date and/or
         o   Route schedule
         does not fall within selection range.
    This should help you to solve your problem.
    pls. reward points if helpful
    Regards
    Roberto

  • Availability check box at schedule line level and requirement class level

    Hi All
    What is the significance of availability check field at schedule line level and requirement type level.
    If I remove the check box at schedule line level, then there won't be any availability check carried out in the sales order, even though in requirement class it is checked. Is it for doing availability once the requirement is passed to MRP...
    In make to stock scenario, no availability check is active at schedule line level.
    scenario 1. stock is 0 in plant, when i place an order for 10 quantity, does system give any confirmed quantity on so and so date...or the confirmed quantity will be zero or as there is no availability check carried out, it confirms 10 quantity on customer requested delivery date and the time of creation of delivery, it gives an error message stating zero quantity is available. which one is correct in all the above.
    In make to order scenario, no availability check is active at schedule line level.
    order was created for 10 qty, as there is no availability check active, does the system give some date based on the lead times maintained in the material master or not?
    Regards
    Sree

    Hi sreekar
    The significance of availability check at schedule line level  is to determine weather availability check and TOR should be carried out for sales orders  or not. 
    If you remove check box at schedule line level , availability check and TOR wont be  carried out at sales order level.
    Coming to the scenario you said , make to stock , i think the availability check you are using is 01 make it 02. which is planned requirements. and stratergy group as 10. in MRP3 view in MMR. .
    as the availability check u have put 01 & stratergy group as 10 availability check doesnt carry
    coming to the scenario 2  , if the stock is 0 in plant and if you create a sales order, then the confirmed quantity should be 0 and that particular order will go to backorder processing.
    sometimes it  confirms the ordered quantity as the  confirmed qunatity, and it gives a confiremed delivery date on which the stock is confirmed , but that date is a tentative date.
    all these unconfirmed orders will go to backorders. once the qunatity is confirmed automatically , delivery date also will be done
    Coming to scenario 3 , when you create MTO order there will be availability check checked at the schedule line level. can you tell wat is the schedule line you are getting is it CP or ND?
    for schedule lines , ND - no availability check will be there , PD - availability check will be there
    Note: plz check 1st the availability check you have entered in MMR , if it  is 01 make it as 02. and then run these cycles.
    Reward points if useful and if Any queries let me know
    Regards
    Srinath
    Edited by: sri nath on Mar 21, 2008 7:53 PM

  • How to compare delivery date in schedule lines and PGI in outbound delivery

    Hi,
    I want to create a report to monitor and compare different dates in sales and delivery process.
    One of my key figure is the comparison between date confirmed to the customer, that I can find in the schedule line of the sales order, and the actual goods issue date from the outbound delivery.
    But I can't succeed in making the link between delivery and schedule lines, means between LIKP and VBEP.
    Would you have any idea?
    Thank you.

    It seems there's no exact (table) connection / link between delivery item and schedule line item.
    Those who were searching for this thing (link / connection between delivery item and schedule line) were recommended to use FM "RV_SCHEDULE_CHECK_DELIVERIES".
    This FM calculates the delivered quantity for each schedule line, so it makes link between the delivery item and schedule lines - however if you check the code it's quite sophisticated...
    (if you put a breakpoint in the FM and display a SO in VA03, you can check how the parameters have to be populated with data).
    Schedule Line and Delivery Link
    Edited by: Csaba Szommer on Aug 5, 2011 12:03 AM

  • Status of Schedule Line in Sales Order

    Which field in which of the tables shows the status of a schedule line for an item in the Sales Order?

    Hi pooja,
       In sales order schedule line table is vbep, vbeh and vbag.
    might be these are suitable table and field for u r requirement.
    VBEP-WEPOS ( Confirmation status of schedule line )
    VBAG-ABSTA ( Release Status ; current & old release )

  • Customer purchase order number at schedule line level in scheduling agreeme

    Hi,
    We have one typical requirement from scheduling agreement functionality. The scenario is we receive the schedule lines from Idocs from customer with purchase order number for each schedule line. We need to print that PO number on packing slip and ASN. How do we capture the schedule line po number in SAP SA?
    Please share your ideas on this.
    Regards, Lakshmikanth

    Hi Chandrasekhar,
    Thanks for your reply, here we create one delivery for each schedule line quantity, we need to copy the respective purchase order number into delivery. There is no Corelation between schedule line number and additional data field, so we can not use very freely.  Do we have any other option?
    Regards, Lakshmikanth

  • Schedule line level data

    Hi,
    I understant that SRM could not handle schedule line level data, Can any one explain me what is schedule line level data exactly and if the current vesrion of SRM does support it?

    Hi,
    Schedule line data is handled in SUS(Supplier Self Service) one of the module of SRM since June 2002 version SRM 2.0
    You have to use Process " Plan driven Procurement with R/3 - SUS scenario.
    Schedule line data in MM R/3 is published to SUS - supplier system as Scheduling Agreement releases automatically.
    Supplier can either accept or reject a schedule line.
    In current version of SRM 5.0 many useful functions are available like automatic E mail to buyer on acknowledgment of Sc. line data by Supplier.
    Write me if you need more detailed info.

Maybe you are looking for

  • "The selected topic is currently unavailable"

    Why do I always get the following message when using Help in iPhoto, when in fact I am connected to the internet. The selected topic is currently unavailable. To see all iPhoto Help, you must be connected to the Internet.

  • I CANT OPEN MY FLASH PLAYER FOR SCHOOL

    I AM HAVEING TROUBLE OPENING MY FLASH PLAYER FOR MY SCHOOL I NEED IT FOR MY ONLINE SCHOOL AIU COULD YOU PLEASE SEND THE APPS THAT I WILL NEED FOR AIU ONLINE SCHOOL MY EMAIL IS [removed] my name is john my phone number is [removed] i really need this

  • IDM Implementation issue

    current design: There are 5 applications running on weblogic 10 which needs to be integrated with IDM. for this I have installed sim/sam on sun application server and there is reverse proxy instace for each application and J2ee policy agent on each a

  • Reg: Unable to define new payment types in AP

    Hi Consultants, We have requirement to define new payment type. i tried to add new lookup code at Oracle Payable Lookups window but it is not allowing us to add new line. actaully i am technical developer i dont know how to define a new paymnet type

  • I'm unable to open Photoshop Elements on my new laptop

    I've deactivated it on my old laptop, but on my new laptop I get a 150:30 error message: "Licensing for this product has stopped working." How can I activate it on my new machine?