Link between actual ship date of an item and schedule line in Sales Order

So, we are developing a custom report that compares actual Ship Date (Goods Issue Document MKPF-BUDAT) and the date the item should've been shipped (Schedule Line Date).
I am able to link the GI Document to Delivery Document and can then link to Sales Order Number/Item Number.  However, a line item can have multiple schedule lines.  What logic can be put in the mapping so that the correct scheduling line is picked for the GI date to be compared against?
Example:
Sales Order 123
Item 10 Product X - Quantity 10
Schedule Line 1: 11/15/2014 8 pieces
Schedule Line 2: 12/15/2014 2 pieces
Let's say first shipment gets delayed 2 months and ships 1/15/2015
Due date in report should know to select 11/15/2014 to calculate that shipment was late 60 days
Any way to link delivery document to a specific schedule line??
Thanks!!

Hello,
Just did similar development for customer report. List of deliveries based on sales order number and sales order line item numbers. Sort these deliveries either with number or actual goods issue date. Compare goods issue quantity with schedule line quanity and start allocating deliveries to schedule line. For example
Schedule line 1 - 10 MT, Schedule line 2 - 5 MT. Now you have created 3 delivery. First with 7MT, second with 5MT and third with 3MT. Your first delivery will be for first schedule line. Your second delivery is for first and second schedule line and your thrid delivery will be for second schedule line
Regards,

Similar Messages

  • Ignore the number of schedule lines in sale order item when run MRP

    Dear All,
    I have a problem when I create production order (discrete manufacturing)
    When I create a sale order with one sale order item and 3 schedule lines for this sale order item.
    After that, I run MRP for this sale order, what I get is 3 planned orders for 3 schedule lines. It means that I will have 3 production orders for 1 sale order item.
    I want  create one production order for one sale order item whatever the number of schedule lines in sale order item.
    I think I have to config in MRP. Please help me.
    Thanks in advance

    Dear
    Check in OPPQ then look in Master data Availability Check & strategy for material also check whether u have maintained strategy for same material and see did u extended sales views for other material
    As u said 3 schedule lines for this sale order item check whether u have extended sales views for next material
    With Regards
    Pushpalas

  • Printing last delivery date in schedule lines for sales order

    Hi!
    We should create a sales order with more then one schedule line. This schedule lines are only for internal use (only to plan our production) and not for printing on the sales order paper. Only the last line is the real delivery date which should be printed on the sales order paper. Now I'm searching for a solution to print only this schedule line.
    Have anyone a good idea?
    Thanks
    Markus

    Hi, 
    Select <required fields> from VBEP
    into table <itab>
    where vbeln = <order number>.
    sort itab by posnr etenr descending.
    read table itab into wa index 1.
    contents of work area will have the last schedule line details of order.
    Regards
    Vinod

  • Regarding multiple schedule lines in sales order with same date

    Hi All,
    we create the Orders from RFC and the orders are going to Multiple Schedule lines for the same date.
    period       delivery date          ordered quan       confirmed quantity
    D     10/11/2007                10                    0
    D     10/11/2007                 0                     10
    here for the same date in first line it is not confirming and in the second line it is confirming the quantity for the same date.
    On what conditions it is possible??????
    Any one have the solution for this Please send it to me [email protected]
    Regards,
    Prasad

    Just check the schedule line details i.e go to schedule line---shipping. You will find that although the del. date is same in both the case but the timings were different e.g material availability time etc will be different in both these lines. So though the dates may be same its time difference that's causing the second schedule line.
    Reward points if useful

  • MD04 - Delivery Date shown as per 1st schedule line in Purchase order

    HI ,
    we have an issue in one of our client related to Purchase order .see detials below.
    we have maintained the configuration " E " under STO configuration with the combinaiton of Purchase order type , Delivery type ,Checking Rule .
    SPRO = Material Management = Purchasing = Purchase order - Setup stcok stransfer order - Assig delivery type to checking rule
    we have assign the E = Display the delivery proposal with dailog box under feild " Rules adoption for ATP check "
    it means that when you create the Purchase order with Qty then system will propose an new screen with delivery proposal.
    we need to select one which would like.
    once you select it system will display to schedule line items for line item in Purchase order.
    first schedule line item delivery date will be calcualted based on the Planned delivery time
    second delivery date will be calculated based on the Route determiantion ( Note this functionaity will be avialble in Ecc 6 and may be in 4.7ee also )
    so now issue is when we see MD04 system is showing first schedule line delivery date in MD04, it was suppose to show the second scheduline delivery , but it is not happening .
    why ?  is it STD behaviour ?
    pls check it and suggestme

    Hello,
    We are also experiencing this issue in ECC 6.0 with the first schedule line showing as the delivery date in the receiving plant in MD04.  In our case, we have sales orders that are placed on the distribution centers, and that triggers an STO to be generated for shipment from the Source plant to the DC to fulfill the Sales order demand.
    We have also noticed that in CO09 for the receiving plant, the committed dates are not displayed, so ATP is incorrectly calculated at the distribution center when rescheduling changes the committed dates in the STO due to a change in material availability.
    Has anyone been able to find any solutions or additional findings to workaround this issue?  I see that SAP development will be taking a look at this but that was last updated in May of 2011.  I have not been able to find any other additional information on OSS that addresses this issue.
    Thank you,
    Tina
    Original Post from pentakota srini:
    "HI,
    We have an issue in one of our client related to Purchase order .see details below.
    We have maintained the configuration " E " under STO configuration with the combination of Purchase order type , Delivery type ,Checking Rule .
    SPRO = Material Management = Purchasing = Purchase order - Setup stock transfer order - Assign delivery type to checking rule
    we have assign the E = Display the delivery proposal with dialog box under field " Rules adoption for ATP check "
    it means that when you create the Purchase order with Qty then system will propose an new screen with delivery proposal.
    we need to select one which would like.
    once you select it system will display to schedule line items for line item in Purchase order.
    first schedule line item delivery date will be calculated based on the Planned delivery time
    second delivery date will be calculated based on the Route determination ( Note this functionality will be available in ECC 6 and may be in 4.7ee also )
    so now issue is when we see MD04 system is showing first schedule line delivery date in MD04, it was suppose to show the second schedule line delivery , but it is not happening .
    why ? is it STD behavior ?
    pls check it and suggest me"

  • No inquiry items and project assignment to sales order

    Hi Friends?
    I am using DP81 to create sales pricing but getting error message when entering project number that
    No inquiry item exist for project
    There are no inquiry items for project A1
    Message no. VPK1111
    Diagnosis
    A project-assigned inquiry is a prerequisite for sales pricing.
    To access sales pricing, choose Logistics or Accounting -> Project System  -> Controlling -> Planning .
    Procedure
    Check your entries.
    If required, create a customer inquiry and assign it to a WBS element for your project definition.
    *Further we assign the the project in sales order via( VA01-->account assignment tab here we can assign the WBSE to sales order).*
    Is there any other way to assign project to sales order?
    Regards

    The error message clearly states that you have not created any sales inquiry...You wanted to carry out sales pricing, for that you need an enquiry from customer...So first create inquiry in VA11, there you assign WBSE and then do DP81

  • Determination of Item category and Schedule line category

    Hi,
    I am fresher being trained in SAP-SD.I am confused with determination of Item and schedule line category. Pls help me
    How is item and schedule line category is determined. Should it be done by us or by the system. pls explain it in a low level.

    hello,
    these are very basic question and can solved if you search over the net or ask your instructor to recommend any book.
    coming to your question
    item category determination  in sales document is done via following rule
    sales document typeitem categorygroupusage+higher level item cat=item cat det in sales doc
    OR                              +       NORM                                                              =TAN
    SCHEDULE LINE CAT determination  in ITEM OF A sales document is done via following rule
    item category+mrp type=schedule line category
    TAN               +PD          =CP
    revert if helpful
    Mohit Singh

  • Diff between Actual & Planned data.

    Hi
    Diff between Actual & Planned data.
    Thanks
    Kawal

    Hi,
    You can do it with help Transaction cube. Create a basic cube and transaction cube.Go to the transaaction cube Rght click on the cube select the Switch on the traction cube you get 2 radio buttons where u can load and planning on the cube .
    When u select on planing u can't load the data but wen u select the Load Radio button u load the data and compare with basic cube.To be presice it is the concept of BPS(Business Planning Simulation) part of SEM.

  • Actual shipping date vs original/requested shipping date

    Hi Experts
    We are new with SNC and want to not only measure supplier delivery performance on delivery date but also on shipping date - i.e. measure if the supplier shipped the goods on time.
    Do you know how we can get a hold of these two dates (actual vs original shipping date)? Are there any table fields to obtain this info or perhaps an option to load the dates into BW info cube?
    Thank you in advance.
    Best regards,
    Dan Bruun

    Hi Dan,
    You can get actual shipping date  and original shipping date from the table /1OM/ORDR4SDL<your client name>.(if client=800 then table will be /1OM/ORDR4SDL800).
    Go to table /1OM/ORDR7MP3<your client name> enter the PO number in field ORD.NO and copy ORDID use this ORDID in table /1OM/ORDR4SDL<your client name>.
    select the record with ORDID(copied from above table) and field SLDType=CONF then field TSTFRFRT will give you the original shipping date and TSTFRTOT will give you original delivery date.
    select the record with ORDID(copied from above table) and field SLDType=ASNC then field TSTFRFRT will give you the actual shipping date and TSTFRTOT will give you actual  delivery date.
    Regards,
    Nikhil

  • Can anyone confirm the date used for pushing the data into AR interface table? Is it abse don Actual ship date or scheduled ship date?

    Can anyone confirm the date used for pushing the data into AR interface table? Is it abse don Actual ship date or scheduled ship date? We are facing a scenario where trx date is lower than the actual ship to which logically sounds incorrect.
    Appreciate any quick response around this.

    Hi,
    Transaction date  will be your autoinvoice master program submission level date (If you haven't setup any logic.
    Please check the program level default date, if user enter old date ststem will pick the same.
    Customer is trying to set the value of the profile OM:Set receivables transaction date as current date for non-shippable lines at the responsiblity level. System does not set the transaction date to current date in ra_interface_lines_all.
    CAUSE
    Customer has used the functionality in R11i. But after the upgrade to R12, the system functions differently than R11i.
    SOLUTION
    1.Ensure that there are no scheduled workflow background process run.
    2.Set the profile "OM: Set Receivables Transaction Date as Current Date for Non-Shippable Lines"  at Responsibility level only as Yes.
    3.Now switch the responsibility to which the profile is set.
    4.Create order for Non-Shippable Lines and progress it to invoicing.
    5.Ensure that the 'workflow background process' concurrent program is run in the same responsibility and this line is considered in it.
    6.Now check if the 'SHIP_DATE_ACTUAL' is populated to ra_interface_lines_all

  • Relation between movement type and Schedule Line Item Cat

    I have a situation for Return Sales Order, there's two lines items with
    *Item Cat                      Schedule Line Item Cat         Stock
    REN(Normal)                 YN (Returns 657)                 Blocked
    RENN (Free Goods)      DN (Returns)                        Return Stock
    Question is, the user would like all the return stock to be posted to Block stock which should be using movement type 657. How can I configure this.

    Hello Sarvanand
    Assign Sched Line category YN to item category RENN using this path:
    SPRO/IMG/Sales and Distribution/Sales/Schedule Lines/Assign Schedule Line Categories
    Don't change movement type of standard Item cat DN.
    Thanks.

  • Delivery from sales scheduling agreement with one item per schedule line

    Hi all,
    I have a sales scheduling agreement where the same part number has 3 different JIT schedule lines and I need to create a delivery with 3 item lines: every item line of the delivery has to be referred to one schedule line of the scheduling agreement.
    When I create the delivery with transaction VL10E it has only one item line and its quantity is the sum of the 3 schedule lines of the sales scheduling agreement.
    I've tried to change the customizing of the User Role, choosing the Split Schedule Line = 2 ("One item per schedule line") but the delivery is created again with only one item line.
    How can I solve this issue?
    Thanks in advance for reply

    Dear Alex
    The SAP standard behaviour is that all schedule items with delivery date in the past have to be rescheduled anyway to one date and are combined therefore.
    Partially this behaviour can be influenced in VL10* by 2 parameters in
    the user role : Split per sched.line and Rule (delivery qty).
    Please find below informations about these different parameters
    "Split per sched.line propose you 3 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.
    About rule for delivery quantity, the following rules are currently
    implemented:
    1. No cumulation
    The open schedule line quantity to be delivered is the quantity at which
    the list line is delivered.
    2. Sum of all open schedule line quantities to be delivered that fall
    before the chronologically latest date in the to field (following the
    Deliv. creation date field) of the selection criteria.
    3. Sum of all open schedule line quantities to be delivered whose
    delivery creation date falls within the selection time frame (between
    the dates in the Deliv. creation date and to fields, respectively),
    making the calculation of the quantity to be delivered consistent with
    selection criteria. However, calculationof the quantities delivered with
    the order's schedule line quantities is not affected."
    Hope this helps.
    Regards
    Tonia

  • 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.

  • FBCJ LINE ITEM AND FI LINE ITEMS ARE DIFFERENT

    Dear Expert
    FBCJ LINE ITEM AND FI LINE ITEMS ARE DIFFERENT

    Hi,
    It seems from the screen shot you are seeing different documents as in the first screen shot it clearly shows you have booked the multiple expenses under one see the below screen shot we have circled it
    whereas FB03 screen shows different.
    You can do one thing click on circle item and check the expenses involved in it and accordingly go to FBL3N and display documents for that G/L for the date 05.04.2014.
    Hope your issue has been resolved else revert.
    Regards,
    Tejas.

  • Item Partners Check box in Sales Order

    Hi all,
    What is the functionality and configuration settings of Item Partners Check box in sales order, partner function tab line item level?
    When i find the check box marking then it allows me changes by double clicking of the partner and changing the address, but when the same check box is not marked then it is in dispaly mode when i double click it.
    So please suggest me how to control its features.
    Thanks in Advance,
    Cheers,
    Anil.

    Hello,
    If this indicator is activated, the partner is validated at item level.
    It may happen that in a business transaction the partner in the document header does not apply to all items, for example, if specific goods for a customer are normally delivered to another ship-to party.
    In sales documents and billing documents you can enter one of the deviating partners from the document header at item level.
    When creating a document , the system copies the document header partners to the items. If you want to define another partner than the one in the document header at item level, overwrite the proposal from the item partner screen.
    Prase

Maybe you are looking for

  • Report for total IR value total GR value and Total P.O value

    Is there is any report to get IR value GR value and P.O value as well............? i don't need balance i want completed P.O and GR IR value with quantity....... Please help me to get this kind of report in SAP Thanks Neha

  • Upgrade from 11i to R12 - Custom Forms,Reports and Workflows

    Dear Community Friends, We are planning for upgrade from oracle apps 11.5.10.2 to R12. We have custom Forms,Form Libraries,Reports and Workflows. Kindly provide me for approach on how to migrate Custom form libraries,reports and Workflows. I beleive,

  • Connecting 2 ipods to one computer

    I'm getting so frustated with my ipod. both my sister and i got a ipod recently and we both use the same computer to connect to itunes. everytime i download the music i want to my ipod it also downloads to hers when she connects and erases the existi

  • PdfSecurityUtil class errors in Database

    Hi Experts, I am trying to compile java based plsql stored procedure in database (version 10.2.0.5.0) but getting below error. Kindly advice on this issue. 3: cannot resolve symbol symbol :class PDFSecurityUtil location: package util import oracle.ap

  • Mac Mini 2005 / Kernel Panic

    My mac mini kept getting the kernel panic every time it booted up. Took it into the apple store and they said most likely the HD was going out. Of course when it was in the store it had no kernel panic problems. I ended up replacing the HD in the min