Sales orders flow - dates difference

Dear All,
I need to build a model for a report which needs to have the days difference between the sales order creation date, delivery date, goods issue date  and billing date. The lowest level of detail should be the Sales Order/Item and one Sales Order/Item can origin different Delivery Items.
Base on this, i'm wondering how can i model this scenario...
Do you have any suggestion?
Thanks in advance and best regards,
Nuno

Hi,
I need to build a model for a report which needs to have the days difference between the
Sales order creation date,
Delivery date,
Goods issue date ,
Billing date.
In your question you didn't mension what differences you need
Eg:
Sales order creation date - Delivery date
Goods issue date - Billing date
Sales order creation date - Billing date
Delivery date - Goods issue date
Like what combination you need?.
Steps:
Bring all InfoObejcts into Cube and once youn have all required InfoObecjts in your cube then in reporting level you can play like any thing. So first bring all Dates data into Cube. Use 0SD_C03 InfoCube with relavent datasources.
Then Use Formula Variables with Replacement pathes and then do simple Substractions at reporting level. Your problem is resolved.
See the below Article how I'm calculating Age of teh Material. Here I'm using Custome Exit Variable to get teh System Data, but in your case you don't need it, you just use Formula Variable with Replcemet Path and replace with Date and then do Substartion.
Calculating the Ageing of the Materials
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/a-c/calculating%20the%20ageing%20of%20the%20materials.pdf
https://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
Thanks
Reddy

Similar Messages

  • How to fetch post goods issue date and sales order creation date

    Hi All,
    How to find out the difference between SD Sales Order Item Creation Date and final Post goods issue Date. I would like to know how to fetch those dates and what is the relationship between the tables from which i will get the dates.
    Please let me know the solution .
    Thanks in advance.

    Hi,
    Sales order creation date is when u raise a sales order in favor of the customer using VA01.......using ATP logic system purposes the material availability date....
    after saving ur sales order...when u raise the Delivery using VL01n  w.r.t to OR...than u have to perform picking ....In the picking Tab...specify the amount to be picked than press Post Good Issue....means the goods left the company premises ..
    You can the fetch the values using tables-  Use T code   SE12  or SE16
    Vbak-----order header
    Vbap-----order item
    Vbek-----order schedule line
    Likp-----Delivery header
    Lips----Delivery item

  • Sales order Creation date

    Hi All,
    I see that the sales order creation date in VBAK is suppose 2009.06.16 and in VA03 if i see th document flow the date is 2009.06.15. and quatation date is also 2009.06.15.
    Which date is the correct Sales order date.If va03 one is correct what is the source table of this date?
    PLease commnet .
    Thanks in advance,
    Swati

    Hi ,
    Let me know in which field you are looking into in VBAK table
    Please let me know if you still need any help.
    Thanks and regards,
    Rajeshwar.

  • Requisition, Sales Order & Delivery Data

    Requisition, Sales Order & Delivery Data
    Hi,
    Please answer the following as best as possible:
    1. What are the main TRANSACTIONS for Requisitions, Sales Orders & Deliveries?
    2. What are the main TABLES for Requisitions, Sales Orders & Deliveries?
    3. How are Requisitions, Sales Orders & Deliveries related to each other?
       Simplified Table Mapping?
    Please help.
    Thank You,
    John

    Hi John,
    See the General SD flow is enquiry - quotation- sales order - Delivery - Billing
    Transactions
    Enquiry - VA11/VA12/VA13
    Quotation - VA21/VA22/VA23
    Sales Order - VA01/VA02/VA03
    Delivery - VL01N/ VL02N/VL03N
    Billing - VF01/VF02/VF03
    Tables
    Enquiry - VBAK , VBAP
    Quotation - VBAK , VBAP
    Sales Order - VBAK , VBAP
    Delivery - LIKP, LIPS
    Billing - VBRK, VBRP
    to know more about the tables refer sapgenie.com
    Thanks
    Ashok

  • Idoc segment for updating Sales order item dates

    Hi All,
    I would ike to update the sales order item dates (loading date, Goods Issuance date etc) from an IDOC.
    please let me know the Idoc segment and fields that need to be filled in?
    Thanks in advance.
    Regards,
    Zeeshan.

    Hi,
    Here are some details of the segments in the idocs -
    SEGNAM Segment Name E1EDL20
    VBELN Sales and Distribution Documen 180001539
    SEGNAM Segment Name E1EDL18
    QUALF IDOC Qualifier: Control (Deliv PIC : Picking with flow records (inbound)
    SEGNAM Segment Name E1EDL18
    QUALF IDOC Qualifier: Control (Deliv PGI : Post delivery goods issue (inbound)
    SEGNAM Segment Name E1EDT13
    QUALF IDOC Qualifier: Date (Delivery 010 : Picking
    NTANF Constraint for activity start 20090808
    ISDD Actual start: Execution (date) 20090808
    SEGNAM Segment Name E1EDL24
    POSNR Item number of the SD document 10
    MATNR Material Number 1112
    WERKS Plant SG01
    KDMAT Material belonging to the cust 1112
    LFIMG Actual quantity delivered (in 55
    VRKME Sales unit EA
    POSEX External item number 10
    ORMNG Original Quantity of Delivery 55
    SEGNAM Segment Name E1EDL41
    QUALI Qualifier for Reference Data o 001 : Purchase order data of customer
    BSTNR Customer purchase order number 4500004668
    BSTDT Customer purchase order date 10
    POSEX Item Number of the Underlying 10
    SEGNAM Segment Name E1EDL37
    Regards,
    Shamma

  • SALE ORDER COMPLETION DATE

    Hi all,
               We are create one sale order in va01N after completion of all process we make a delivery entry in VL01N.We are creat morethan five deliveries.
          Any standard report to see the sale orders completed date
    ie order closed date wise report.
    Regards,
    T.Murugu

    Hi
    You can use Acceptance field at Sales Order item to enter date on which final delivery is made.
    Based on that field, we can create a Z report lisitng Customer, Order Number, and Delivery Date (Maybe more fields based on the business scenario)
    Hope you find it useful.
    Reward points if you do.
    Regards
    Ravi

  • Sale Order additional data B.

    Hi,
    I have created 2 z fields in sale order additional data b at item level.
    but when user is entering any data in that field,same data is getting displayed for all line items.
    how to control that for particular item for which user has entered.
    Data Entered in z fields are used only for display purpose which are used for some calculations.

    hi,
    in PAI  usercommand  module  
    use loop endloop for internal table which store item level data 
    loop at item level data
    user command module 
    endloop.
    in module  driving program .
    module
    read table it_issue index tab_ctl-current_line transporting no fields.
      if sy-subrc = 0.
        it_issue-kostl = p_kostl.
        it_issue-ktext = p_ktext.
        it_issue-for_sys = p_for_sys.
        modify it_issue from it_issue index tab_ctl-current_line.
        clear it_issue.
      else.
        it_issue-kostl = p_kostl.
        it_issue-ktext = p_ktext.
        it_issue-for_sys = p_for_sys.
        append it_issue .
        clear it_issue.
      endif.
    endmodule  .
    regards
    deepak.

  • Sale order complection date

    Dear All
    which table stored in sale order complection date
    Thanks and Regards
    Suresh

    You can see the SO complete status in table VBUK-RFSTK filed.
    But i dont think you will get directly teh completion date. What you can do the check for the billing documents of the SO and take final billing doc creation date as SO completion date.
    Anyway plese check with your functional consultant.
    Thanks,

  • Sales order item data & sales order schedule data

    Hello,
    I have a Sales Orders cube which is pulling data from two DSOs (one for sales order item data and the other for sales order schedule data). The common fields between these two DSOs is the Sales Order number but in my cube I have dual entries for each Sales Order document (item and schedule info).
    Example of how the data looks now:
    Sales Order . . Item Cat. . . Article . . . Net Price . . . Delivery . . . Act GI Date
    1. . . . . . . . . ...TAN. . . . . ABC123. . . .10
    1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 . . . . . . . . 01/01/2000
    2. . . . . . . . . ...TAN. . . . . CBA321. . . .15
    2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2 . . . . . . . . 01/02/2000
    How do I merge the data on the Sales Order number in the cube so it looks like below?
    Sales Order . . Item Cat. . . Article . . . Net Price . . . Delivery . . . Act GI Date
    1. . . . . . . . . ...TAN. . . . . ABC123. . . .10 . . . . . . . . . .1 . . . . . . . . 01/01/2000
    2. . . . . . . . . ...TAN. . . . . CBA321. . . .15 . . . . . . . . . .2 . . . . . . . . 01/02/2000
    Many thanks,
    Matt

    > Hello,
    >
    > I have a Sales Orders cube which is pulling data from
    > two DSOs (one for sales order item data and the other
    > for sales order schedule data). The common fields
    > between these two DSOs is the Sales Order number but
    > in my cube I have dual entries for each Sales Order
    > document (item and schedule info).
    >
    Two previous remarks:
    1) If you need to report on very detailed data consider doing an info-set joining both datastores. 2 reasons why:
    - not a good idea to report on very detailed information (sales order, GI dates) on cube level, if you have a scenario with lots of data. You end up with big dimension tables a poor report times;
    - there are better alternatives, like drill-through from cube query to DS query with report to report interface or Datastore-based reporting...so...
    With this solution you do not need to change the data model, I think, but test to be sure. See if the reporting times are acceptable. If not...
    2) First confirm your requirements, because what you show in your example as "to-be" have details that do not make sense, probably..
    - if you have more that one schedule line for each item then you would have many times the item information like material/price;
    - if not or if you could cope with that, then you can consider:
    2.1) create a new DS that agregattes from the previous on, with the same key of sales order item; do you have schedule line kf's? if so you these KF's should be additive in DS update; But if you may have more one scheduled line for 1 item then you have to decide what to do with the GI data (keep the last one posted, use code..) and other characteristics.
    2.2) update the shedule line datasource to the sales order item DS; same comments apply.
    2.3) maintain the missing data in the cube update rules from sheduled lines DS. Using code, refer to the respective item in the order item ODS. You would have to make sure that DS's data are correctly activated before updating the infocube.
    What solutions to choose?
    2.1 is better in terms of flexibility and architecture...because you could re-arrange the new DS to answer future needs, without loosing the 1st line DS's data;
    2.2 choose if data volumes and disk space are a concern...
    or
    2.3 it's OK, but i do not like it because of what explained in point 1...
    Message was edited by:
            Miguel Costa

  • Sales order schedule date is a (working) day before Scheduled ship date

    In MRP/MPS planning, the forecast consumption is occuring for all sales orders at a date (sales order schedule date) which is always a working day before the Scheduled Ship Date (SSD). What is the logic?
    Time fences are not used.
    E.g. Sales order is scheduled to ship (SSD) on 30th Nov, in forecast set > Forecast items > Consumptiion > Detail, the sales order schedule date is a day before SSD.

    Hi,
    This is a complex issue; best solution is by using APO/GATP.
    If not, then in ERP only, the second best is:
    1) Work with assembly processing in SO, meaning that a production/planned order is automatically created in the customer order during order creation.
    2) Then, after the order is created it is scheduled, and the delivery date proposal is based on that.
    3) Now you can check in the order that there are no capacity overloads, and all capacity required to produce on the proposed date is available. If yes, you're done. If not, it gets a bit complex, since you actualy need to switch to capacity planning, do capacity leveling and dispatch (PP), and the you get a new feasible schedule proposal based on that.
    APO/GATP could do all that automatically!
    Regards,
    Mario

  • Sales Order Item Data & Sales Order Schedule Lines

    Hello,
    I have a Sales Orders cube which is pulling data from two DSOs (one for sales order item data and the other for sales order schedule data). The common fields between these two DSOs is the Sales Order number but in my cube I have dual entries for each Sales Order document (item and schedule info).
    Example of how the data looks now:
    <b>Sales Order . . Item Cat. . . Article . . . Net Price . . . Delivery . . .  Act GI Date</b>
    1. . . . . . . . . ...TAN. . . . . ABC123. . . .10  
    1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 . . . . . . . . 01/01/2000
    2. . . . . . . . . ...TAN. . . . . CBA321. . . .15  
    2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2 . . . . . . . . 01/02/2000
    How do I merge the data on the Sales Order number in the cube so it looks like below?
    <b>Sales Order . . Item Cat. . . Article . . . Net Price . . . Delivery . . .  Act GI Date</b>
    1. . . . . . . . . ...TAN. . . . . ABC123. . . .10 . . . . . . . . . .1 . . . . . . . . 01/01/2000 
    2. . . . . . . . . ...TAN. . . . . CBA321. . . .15 . . . . . . . . . .2 . . . . . . . . 01/02/2000  
    Many thanks,
    Matt

    Hi Matt,
        Its no possible If you are maintaining data at Order Level.
    Try to introduce one more ODS/DSO in between ODS's and CUBE by keeping Sales Order only key field. Load data from both DSO's in required fields only. Then PUSH delta to CUBE. In this why you can maintain 1 record. Try to compress cube(with delete Zero Record Rows) to delete unnessasary records.
    Hope it Helps
    Srini

  • Control Sales order Pricing Date with Delivery GI Date

    Is it possible to have a control that ensures the Actual GI date in a delivery is not more than a number of days from the sales order pricing date?

    Hi,
    To have restriction in actual GI date in transaction VL01N . Please find the user exit for VL01N , you can use one which are marked as bold . Kindly take the help of abaper to put the validation or logic as required.
    V02V0001   - Sales area determination for stock transport order 
    V02V0002   - User exit for storage location determination 
    V02V0003   - User exit for gate + matl staging area determination 
    V02V0004   - User Exit for Staging Area Determination (Item) 
    V50PSTAT  - Delivery: Item Status Calculation 
    V50Q0001   - Delivery Monitor: User Exits for Filling Display Fields
    V50R0001    -  Collective processing for delivery creation 
    V50R0002    - Collective processing for delivery creation 
    V50R0004    - Calculation of Stock for POs for Shipping Due Date List
    V50S0001    - User Exits for Delivery Processing 
    V53C0001    - Rough workload calculation in time per item 
    V53C0002    - W&S: RWE enhancement - shipping material type/time slot
    V53W0001   - User exits for creating picking waves 
    VMDE0001  - Shipping Interface: Error Handling - Inbound IDoc 
    VMDE0002  - Shipping Interface: Message PICKSD (Picking, Outbound) 
    VMDE0003  - Shipping Interface: Message SDPICK (Picking, Inbound) 
    VMDE0004  - Shipping Interface: Message SDPACK (Packing, Inbound) 
    Hope this will help you to resolve your issue!!!!
    Regards,
    Krishna O

  • How to do INIT for Sales order Itema Data (DS 2LIS_11_VAITM)

    Hi all
    I have a report on sales order item data, I have to reload it. DS 2LIS_11_VAITM
    Can any of you pls explain me the steps to do the INIT? Refill set up tables etc
    Many Thanks in advance
    Ishi

    Hi Hari
    Many Thanks for the explanation and steps. I deleted set up tables and executed to fill it.
    It says in R/3 Start of Processing, I ticked to continue and its still running.
    In the mean time I checked RSA3 and it says 1007 records selected. I am refreshing it and the no. of records are still the same.
    Can you tell me how long it takes to fill the table?
    And the R/3 system is still running (Start of Processing)
    Thanks again
    Ishi

  • Create a report to show changes in Sales Order Due Dates

    Hello all,
    I've recently started using SAP Business One 8.8 and I want to run a report to show a list of Sales Orders with the original Sales Order Due Date, and the New Date that it has been changed to. What is the best way to create a report to show me this?
    thanks
    Leigh

    Hi Leigh.......
    Try this......
    Select T0.DocNum, Max(T1.UpdateDate) 'Last Update', T0.DocDueDate
    from ADOC T0
    JOIN ADOC T1 on T1.DocNum = T0.DocNum AND T1.ObjType = '17'
    where T0.ObjType = '17'
    Group By T0.DocNum, T0.DocDueDate
    Regards,
    Rahul

  • Sales order creation - data stored in which tables for customer

    Hi experts,
    During sales order creation, data entered during sales process is stored in various related tables. Can anyone list the tables where data is stored for customers?
    Thank you

    Dear Manisha
    Once you saved the sale order,
    - all header datas are stored in VBAK
    - all item level datas are stored in VBAP
    - schedule line confirmation in VBEP
    - all condition types and values are stored in KONV / KONP
    - Partner functions in VBPA
    - Delivery related fields like Shipping Point, Delivery Date, Goods Issue etc., are all in VEPVG
    thanks
    G. Lakshmipathi

Maybe you are looking for

  • EJB - JAR or EAR file reloading - how to get it to work consistently.

    We are using wl 6.0 sp2 rp2 - with 2 WL instances on the same box. We have always seemed to have had this headache with WL - getting EJB's to reload consistently. Does anyone have a sequence of steps they follow to get good consistent reloading resul

  • Ipod wont finish syncing

    im trying to put my photos from my computer back on my ipod. i have been doing it folder by folder but its taking forever i tryed to add a folder with only 22 pics in it and it was syncing for 4 hours so i cancelled the sync and there were no extra p

  • I need to re-lead the bios on aspire 3100, can't find file

    Anyone know where I can get the bios file for aspire 3100.  I reset the windows vista before selling itand now it won't boot.  disconnected hard drive and still no initial boot, want to re-load bios.  HELP! the buyer wants to pick it up soon.

  • Trying again, please help if you can

    This is my problem. I am trying for a week now to get my apex application working through a remote connection (i.e. accessible through the internet) without success. I have read at least half the board to find a sollution. I just completed the follow

  • Staus CSER in production order

    Hi Friends Can any one tell us how to restrict the production order from creation if the status of the order is CSER(error in cost calculation) I used one user exit for this,but its working only when we do costing on production order manually. Thanks