Which Date for Sales Date in Demantra

Hi Experts,
For 'Shipment History – requested items –shipped date' option for collecting actual quantity, which date is picked from oe_order_lines_all table.
I assume it is Actual_shipment_date . Initially I was thinking of scheduled_arrival_date
or is it something else??
If we are on weekly bucket, there will be some date parsing for Monday date ( day of week start)
I assume this
SALES_DATE = trunc(NEXT_DAY(Oe_order_lines_all.actual_shipment_date - 7 ,'MON'))
Is my assumption correct?
Thanks

Hi MJ,
Thanks for clarification
If I use this for date compare, I should be getting correct dates right in my sql??
SALES_DATE = trunc(NEXT_DAY(Oe_order_lines_all.actual_shipment_date - 7 ,'MON'))
Thanks

Similar Messages

  • How to get the pricing hierarchy based on the delivery date for sales order

    Hi,
    How to get the pricing hierarchy based on the delivery date for sales order other than system date.
    My requirement is to get the Pricing hierarchy based on the delivery date other than system date.
    Waiting for kind response.
    Best Regards,
    BDP

    HI Sai,
    please refer teh document already how to write FM based extration on generic extractors.
    and here  the logic to find the latest records values:-
    -> get the data in an internal table
    ->Sort the internal table data based from date descending
    -> Using READ statement , we can read the first record of the table which is nothign but your latest record.
    Regards.
    Sakthi

  • How to see archive data for Sales order

    Hi all,
            I am working on PS , network is created with sales order 10911. the components are added while sales order created, but after that someone deletes the sales order, because now it is showing oder does not found, where i get the entreis for sales order.
    Regards,
    Khushi.

    Hi Khushi,
    To see the archived data for sales order , go to transaction code SARA.
    Choose object name as SD_VBAK.Click READ.
    It will show a screen giving a name of program and option to execute in background or foreground.
    It will help you to get information about archived sales order data.
    Hope it helps you.
    Thanks,
    Sarita singh Rathour
    Edited by: Sarita Rathour on Aug 28, 2009 7:46 AM

  • Upload the data for sales order using BAPI

    hi experts,
    how to upload the data for sales order using BAPI.
    what is the FM?
    it would be much helpful if i have the sample code as i am very new to BAPI.
    thanks and Regards
    Shyam

    Hi  Shyam
    Its very useful for u
    BAPISDORDER_GETDETAILEDLIST
    BAPI_ACC_SALES_ORDER_CHECK
    BAPI_ACC_SALES_ORDER_POST
    BAPI_ACC_SALES_QUOTA_CHECK
    BAPI_ACC_SALES_QUOTA_POST
    Reward all the helpful answers..
    With Regards
    Navin Khedikar

  • Table for Sales datas assinged to Equip/Floc

    Hi
          I need a table for Sales datas like sales org,distribution channel,divition,sales office,sales group assigned to equipment master,
    Points assured
    Thanks
    Seenu

    hi seenu
    yes you are wright the sales organisation, DC,Divison is strored under the ILOA table only , since in equipment its being picked from the view table,you can interrelate with FL and equipment
    regards
    thyagarajan

  • Custom master data for Sales Document Number

    Is it possible to create master data for "sales document number" as a custom field and/or table in R/3?  We have a need to record the "end user" customer of an order but this data may be updated a long time after the order and sale is complete.  IT seems that loading to BW/BI may be simpler if this is treated as document attributes rather than transactional data since no delta will be trigger by changes to this field.  Does anyone have experience with this approach?

    Hi,
    it is possible to create attributes for this InfoObject. Add the Attributes you need in BW. You can use the attributes even if the sales doc is line item dimension of your cube.
    On Sourcesystem side you have to create a generic extractor in SBIW. I think a table view on VBAK or VBAP may fullfill your needs. Of course the tables are not the smallest ones but maybe u can use the timestamp to implement a generic delta. Check whether the timestamp is set when the 'end user' is set. Not every change in the sales document leads to an entry in the delta queue of logistic, but the timestamp should be set.
    After that replicate the datasource to BI and connect it to the attributes of 0SALES_DOC
    I had a similar enhancement at one customer reading the actual transport routes to the sales documents and it worked fine.
    Hope that helps
    Christoph Vortkamp

  • Change to existing sales order - There is no incompletion data for sales document

    we have just started TM in our sandbox system. When we change an existing order we get the following message:
    There is no incompletion data for sales document and the order change does not get sent to tm.  Creating a new order and changing all works fine. Is there something to be done with existing orders?

    Hello John,
    Have you tried to use the report TMTRQINITIALSENDING?
    Rgs, Marcelo Lauria

  • There is no source data for this data record, Message FZ205

    Hi Experts,
    I am facing a problem with the DME File download. This problem happened all of sudden in our production system since last month and it was never before. Our system landscape has also not been changed but as per our basis consultant he has added two-three more new application server to the Production client. Even we do not have this problem in our testing clients.
    Please note that we have been using the output medium '1' from the day one and thus the system has been generating the DME in 'File System' which we download on the desktop and upload the same to the bank online. After running the payment run when we trying to download the DME File, the system gives the error "There is no source data for this data record, Message FZ205".
    I tried to fix this issue through many ways but not able to. So can you please let me know the reason of this error and solution to fix this.
    With best regards,
    BABA

    Hi Shailesh,
    Please share how you solved this problem.
    Many Thanks,
    Lakshmi

  • DOCUMENT DATE FOR BACK DATA TO BE UPLOADED

    hello experts,
    I have a purchase cube with TD from last year.
    I have PO NUMBER as a characteristic AND 2LIS_02_SCL as datasource for Purchase.
    now i want the date on which PO is created and there is a DOCUMENT DATE available in the datasource.
    now i have added 0Doc_date as a characterstic to the cube but the date is coming in the report instead # is appearing in Doc date column.
    when i am checking the data in PSA the document date value is available correctly .
    Now please help to load the document data for the back data.
    how to do this so that the Transaction data should not get affected and i get the Document date for the previous PO numbers also.
    plz explain in details.
    will be very thankful

    Hi,
    Delete one Request of that data source from Cube
    and then Reconstruct it.
    check whether the data for document date is coming or not
    if it is coming then delete all the request and reconstruct.
    it will reflect after that.
    Edited by: obaid shaikh on Mar 17, 2011 1:47 PM

  • Powerpivot for sharepoint error: Unable to refresh data for a data connection in the workbook

    Hello,
     I have three errors when i try to use a simple powerpivot workbook published in sharepoint: (nothing on google has help me..)
    1-Unable to refresh data for a data connection in the workbook.
    Try again or contact your system administrator. The following connections failed to refresh:
    PowerPivot Data
    2-The embedded PowerPivot data in the workbook cannot be loaded due to a version mismatch
    3-01/21/2012 17:26:47.08  w3wp.exe (0x1950)                        0x0AD0 Excel Services Application     Excel
    Calculation Services     bccc Medium   Session.HandleTrimmedWorkbookReloading: userOperation ApplySlicerSelectionOperation requires BaseWorkbook: "http://crm2011:2020/Marketing%20Reports/test2_excel32bits.xlsx"
    [0x409] [Saturday, 21 January 2012 09:40:18] [BaseWB ID: 2] to be untrimmed if it is currently trimmed. The workbook is currently NOT trimmed. fb614a65-e398-4b97-a98d-fb7b23eab39f
    01/21/2012 17:26:47.08  w3wp.exe (0x1950)                        0x0AD0 Excel Services Application     Excel Calculation
    Services     f1va Medium   CWorkbookWrapper::CWorkbookWrapper: Created with ID=4 fb614a65-e398-4b97-a98d-fb7b23eab39f
    01/21/2012 17:26:47.09  w3wp.exe (0x1950)                        0x0AD0 Excel Services Application     Excel Calculation
    Services     eq3r Medium   ConnectionRequest.ConnectionRequest: New connection request. SessionId=1.V21.4PI+fCwIq52LH++nOoMzs90.5.en-US5.en-US73.-0060#0000-10-00-05T03:00:00:0000#+0000#0000-03-00-05T02:00:00:0000#-006036.bfceb31b-7122-46ca-9e2a-ae52cefcfcaf1.N,
    WorkbookVersion=ConnectionInfo.WorkbookVersion: Uri=http://crm2011:2020/Marketing Reports/test2_excel32bits.xlsx, Version=Saturday, 21 January 2012 09:40:18 fb614a65-e398-4b97-a98d-fb7b23eab39f
    01/21/2012 17:26:47.12  w3wp.exe (0x1950)                        0x0AD0 Excel Services Application     Excel Calculation
    Services     aysl Medium   Succeeded to initialize a chart. fb614a65-e398-4b97-a98d-fb7b23eab39f
    01/21/2012 17:26:47.12  w3wp.exe (0x1950)                        0x0AD0 Excel Services Application     Excel Calculation
    Services     8xk9 Medium   ExternalSource.ExecuteOperation: We exhausted all available connection information. Exception: Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInfoException: Exception of type
    'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInfoException' was thrown.     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionInfoManager.GetConnectionInfo(Request request, String externalSourceName, Int32
    externalSourceIndex, Boolean& shouldReportFailure)     at Microsoft.Office.Excel.Server.CalculationServer.ExternalSource.ExecuteOperation(Request request, ExternalSourceStateInfo externalSourceStateInfo, ExternalSourceStateInfo prevExternalSourceStateInfo,
    Int32 index, ConnectionInfoManager connectionInfoManager, ExternalDataScenario scenario, DataOperation dataOpe... fb614a65-e398-4b97-a98d-fb7b23eab39f
    01/21/2012 17:26:47.12* w3wp.exe (0x1950)                        0x0AD0 Excel Services Application     Excel Calculation
    Services     8xk9 Medium   ...ration, Boolean verifyPreOperationConnection), Data Connection Name: PowerPivot Data, SessionId: 1.V21.4PI+fCwIq52LH++nOoMzs90.5.en-US5.en-US73.-0060#0000-10-00-05T03:00:00:0000#+0000#0000-03-00-05T02:00:00:0000#-006036.bfceb31b-7122-46ca-9e2a-ae52cefcfcaf1.N,
    UserId: 0#.w|contoso\manager fb614a65-e398-4b97-a98d-fb7b23eab39f
    My server and client olap versions are the same: MSOLAP.5, i used sql server 2008 R2 SP1 and sharepoint 2010 SP1 and reboot or iisreset have no effect
    Thanks in advance for your help

    Hello Challen Fu
    I would be so grateful if you could please help me out
    I have been trying to find a solution to the same error message
    In my case, the power pivot reports were working before on a regular team  site , but then two things changed:
    a)  I  created a toplevel site using the BI Center template. Now I am using a Business Intelligence template , created a power pivot gallery library and uploaded a few powerpivot reports
    b)  On the  backend, the database instance was upgrated to SQL Server 2012 
         Front end Server VDSP01  remains  SQL Server 2008 R 2 where Sharepoint 2010  was installed as a FARM  
    Now, the reports will display in sharepoing however they will not refresh. the error message i get is the same.
     Scenario recap:
    a- Server VDSP01  uses SQL Server 2008 R 2 where Sharepoint 2010  was installed as a FARM
    b- On the back end,  the database instance name was replaced with SQL 2012 Server:
               from SQL Server 2008 R 2 (instance DBDEV-COTS\COTS)
               to     SQL Server 2012 ( instance VTSQL01\COTS)
    c-  I was told that:
         From VDSP01, they ran
    CliConfg.exe   to create SQL Server Alias :
           where    BEFORE: vdsharepoint -->  DBDEV-COTS\COTS
                and  AFTER    : vdsharepoint -->  VTSQL01\COTS
     I appreciate in advance any help you can provide<v:shapetype coordsize="21600,21600" filled="f" id="_x0000_t75" o:preferrelative="t" o:spt="75" path="m@4@5l@4@11@9@11@9@5xe" stroked="f">
      <v:stroke joinstyle="miter">
      <v:formulas>  <v:f eqn="if lineDrawn pixelLineWidth 0">
      <v:f eqn="sum @0 1 0">
      <v:f eqn="sum 0 0 @1">
      <v:f eqn="prod @2 1 2">
      <v:f eqn="prod @3 21600 pixelWidth">
      <v:f eqn="prod @3 21600 pixelHeight">
      <v:f eqn="sum @0 0 1">
      <v:f eqn="prod @6 1 2">
      <v:f eqn="prod @7 21600 pixelWidth">
      <v:f eqn="sum @8 21600 0">
      <v:f eqn="prod @7 21600 pixelHeight">
     <v:f eqn="sum @10 21600 0">
    </v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:formulas>
     <v:path gradientshapeok="t" o:connecttype="rect" o:extrusionok="f">
    <o:lock aspectratio="t" v:ext="edit">
    </o:lock></v:path></v:stroke></v:shapetype> <v:shape alt="" id="Picture_x0020_2" o:spid="_x0000_i1025" style="width:630pt;height:475.5pt;" type="#_x0000_t75">
    <v:imagedata o:href="cid:[email protected]" src="file:///C:\Users\wlarange\AppData\Local\Temp\msohtmlclip1\01\clip_image001.jpg">
    </v:imagedata></v:shape>
    wanda larangeira

  • Baseline Date for Due Date Calculation required for S/L indicators

    Hello,
    Iu2019m facing the following problem
    Iu2019m trying to insert an invoice (using a customer master record) but the system blocks me because the field ZFBDT (Baseline Date for Due Date Calculation) is a Required entry.
    The strange thing is  that if I use a S/L indicators the field is mandatory, if not the date may be defaulted.
    I checked in OB41 but there are non differences between Special PK and normal PK.
    Any ideas?
    Thanks in advance
    Alberto

    Dear Alberto,
    the field "Due On (BSEG-ZFBDT)" cannot be controlled with field status.
    It is controlled by field attribute of screen painter (Tcd: SE51).  If
    you look at element attribute for "Due On" field, a flag for required
    entry is activated.  In this case, field status has no control over
    the field.
    As of release 3.1G, field BSEG-ZFBDT is hardcoded in most FI screens
    to be mandatory and cannot be influenced by any field status
    changes. This situation is only valid when posting with special G/L
    indicator (ie PK 29/39).
    SAP development team has determined that this is a critical field.  The
    reason behind this is that this special GL screen and the data entered
    here are very important to many other programs. This data affects
    liabilities and receivables where due date is necessary almost
    everytime. Thus, we changed this field in this screen in order to
    prevent problems in many other areas. The reason is explained further
    in note 95079.
    I hope this helps You.
    mauri

  • How to get current date for posting date

    hi,
    how to get current date for posting date ? any sample code ?
    Thanks

    Hi......
    Use
    Select getdate()
    for current date.......
    Regards,
    Rahul

  • Entry Date for sales upload

    hi all,
    i am currently trying to find out if there is a way by which we can find out what was the exact date on which the particular sales was uploaded in the fi. i have checked the gl account balances but am not able to find the option for entry date in the layout.
    please suggest alrernate to find the date on which the file was uploaded.
    Regards
    Arvind Kumar

    Hi Arvind,
    If you have the billing doc number,
    Go to t-code VF03 and display the document.
    From the menu --> Go To --> Header --> Header
    You can see the "Created on" date.
    If you have the FI doc number,
    Go to t-code FB03 and display the document.
    From the menu --> Go To --> Document Header
    You can see the Entry date.
    Regards,
    Mike

  • BEX Query for Week, MTD, YTD  for Sales data

    Hi,
    I want to display the sales data for current  Calender day, Cal week, Cal Month to date, Cal Year to Date and also for previous year Cal month, Previous Year Calender Year to Date data.
    Structure is like this. for displaying Sales data. No variables are used on selection screen regarding below structure.
    Calender Day I CalWeek I CalMonth(current) I CalMonth(previous Year) I YTD(current) I YTD(previous Year)
    Please suggest me I used the variable 0P_HAPCY is enough or I have to do any other setups.
    Message was edited by:
            Kaveri

    Kaveri,
         I think 0P_HAPCY doesn't work for all the columns. Well when the user enters date it will also have the year and month right? So what is the relevance of year entered by teh user.
    For the data for calender day, you can get directly from the user entry.
    For calweek data you need to derive week from the calday enetered by the user using customer exit.
    Similarly for month to date, and year to date.
    Use offsets on customer exit variables for previous year calmonth and previous year yera to date data.
    Hope this helps you...

  • SAP BODS and SAP ECC integration for Sales data

    Hi  Folks,
    I have a requirement to load sales data from BODS into SAP ECC. Could you please suggest me a best approach for this?
    I really appreciate your prompt response.
    Thanks,
    Daniel.

    Hi Daniel
      What sales data you want to migrate?. Like
    1) Customer master
    2) Pricing Condition
    3) Sales Order
    4) Customer Sales Area
    5) Scheduling Agreement
    6) Schedule Lines
    7) Customer Material Info Records
      What you want to migrate. Evyerything is possible only by IDOC's if the volume of data is less( < 100000). If its more they the best option is only by BAPI method.
      please provide the exact requirement then we can through some light on it.
    Regards
    Vijay Mukunthan

Maybe you are looking for

  • HP Pavilion dm4-3055dx

    Ok so yesterday i turned on my laptop, a HP Pavilion dm4-3055dx Entertainment Notebook PC, and I got a disturbing message that a hard drive failure was imminent. I tried to run a check on my hard drive by pressing F2 during start up but every time I'

  • Locate an entry in SXMB_MONI for a particular value(IDoc numbe) in payload

    Hi,      We have an R/3 – XI – Third party scenario. R/3 is sending tones of IDocs. In some cases some IDcos are not going beyond XI. In BD64 we get a status code 40(from XI). We would like to locate the entry in SXMB_MONI for one particular IDoc. Th

  • PowerPoint Like Presentation Using LiveType for Final Cut Express

    In LiveType, would it be a good way to present bulleted text like in PowerPoint? Any suggestions as to how to make text appear one point at a time?

  • Replace Zorin 9 OS with Windows 8.1 OS

    I have an opportunity to purchase a HP TOUCHSMART 15-D069WM, 15.6" Intel [email protected] GHz, 6 GB, 500 GB for a reasonable price.  However it has Zorin 9 OS.  How can I replace the OS with Windows 8.1  I have the retail Windows 8.1 discs.

  • Allow Aspect Ratio Save as Default or Preset

    Requesting feature; aspect ratios can be saved as camera default or as a develop preset.