How to find the date difference in query level?

Hi All,
  I have to find the difference between Delivery Date and Posting Date in the query level. Canyou please let me know whether it is possible or not?
Thanks in advance!!
Regards,
Ramanathan.R

Hello,
If both infoobjects are key figures , then you can do the calculations. Create new formula and do the calculations.
If infoobjects are characteristics, then also you can perform the calculations but you can do this by creating a formula variable using replacement path.
Thanks,
Praveen Tati

Similar Messages

  • How to find the data loaded from r/3 to bw

    hi
    how to find the data loaded from r/3 to bw is correct . i am not able to find which feild in the query is connected to which feild in the r/3 . where i am geting the data from r/3 . is there any process to find which feild  and table the data is comming from . plz help
    thanks in advance to u all

    Hi Veda ... the mapping between R/3 fields and BW InfoObjects should take place in Transfer Rules. Other transformation could take place in Update Rule.
    So you could proceed this way: look at InfoProvider Data Model and see if the Query does perform any calculation (even with Virtual keyfigures / chars). Than go back to Update Rules and search for other calculation / transformation. At least there are Tranfer Rule and eventually DataSource / Extraction Enhancements.
    As you can easily get there are many points where you have to look for ... it's a quite complex work but very usefull.
    Once you will have identified all mappings / transfromation see if BW data matchs R/3 (considering calculations ...)
    Good job
    GFV

  • How to find the Date and Time of Modification of Column in aTable?

    Hi all,
    Do  you know how to find the Date and Time of Addition of Column to a Particular Table?.
    I know however, How to find the modification time of the Table. Using the below Query :
    Select Object_Name, to_Char(Last_DDL_TIME, 'DD-Mon-YYYY HH24:MI:SS') Last_DDL from User_Objects where Object_Type = 'TABLE';
    Object_Name
    Last_DDL
    Employee
    20-Aug-2013 09:23:03
    I wanted to know the Creation or Modification Date and Timestamp of all columns of Employee Table?. Is it possible at all. If possible, How to get it?.
    Regards,
    Bhaskar M

    I agree with you on that. Since its a development enviornment I can remove the column but that not my point here.
    My whole purpose it to know whether we get the Column's Creation or Modification DateTime.

  • How to find the time difference..?

    HI
    How to find the time difference between two times
    for Example
    the difference between '24/10/2005 8:25:00 PM' and '25/10/2005 5:20:00 AM'
    is 8.55
    Kris

    This is a procedure taht do the job
    CREATE OR REPLACE FUNCTION Diff_Time
         LD$Date_Deb IN DATE DEFAULT SYSDATE
         ,LD$Date_Fin IN DATE DEFAULT SYSDATE
         ,LN$JJ       OUT PLS_INTEGER
         ,LN$HH       OUT PLS_INTEGER
         ,LN$MI       OUT PLS_INTEGER
         ,LN$SS       OUT PLS_INTEGER
      ) RETURN NUMBER
    IS
      dif   NUMBER ;
    BEGIN
      IF LD$Date_Fin < LD$Date_Deb THEN
         RETURN ( -1 ) ;
      END IF ;
      SELECT  LD$Date_Fin - LD$Date_Deb INTO dif  FROM dual ;
      SELECT  TRUNC ( LD$Date_Fin - LD$Date_Deb)  INTO LN$JJ  FROM dual ;
      SELECT  TRUNC ( (LD$Date_Fin - LD$Date_Deb) * 24) -  ( LN$JJ * 24 ) INTO LN$HH FROM dual ;
      SELECT  TRUNC ( (LD$Date_Fin - LD$Date_Deb) * 1440) - ( (LN$HH * 60) + ( LN$JJ * 1440) ) INTO LN$MI FROM dual ;
      SELECT  TRUNC ( (LD$Date_Fin - LD$Date_Deb) * 86400) - ( (LN$MI * 60) + (LN$HH * 3600) + ( LN$JJ * 3600 * 24 ) ) INTO LN$SS FROM dual ;
      RETURN( dif ) ;
    END ;
    /You may have to modify it to fit your own requirement.
    Francois

  • How to find the Data Type of a column

    Dear All,
    How to find the Data Type of a Column dynamically in oracle Form.
    Thanks and Regards,
    Fazil
    Edited by: user11334489 on Aug 25, 2012 9:06 PM

    hi,
    you can use get_item_property built-in
    eg:
    declare
       l_item VARCHAR2(10);
    begin
       l_item := Get_Item_Property('item_name',DATATYPE);
    end;

  • How to find the structural difference between two tables

    Hi all,
    How to find the structural difference between two tables .
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    PL/SQL Release 11.1.0.7.0 - Production
    CORE 11.1.0.7.0 Production
    TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - Production
    Thanks,
    P Prakash

    you could try something similar to this, for each table pair that you want to compare:
    SELECT 'TABLE_A has these columns that are not in TABLE_B', DIFF.*
      FROM (
            SELECT  COLUMN_NAME, DATA_TYPE, DATA_LENGTH
              FROM all_tab_columns
             WHERE table_name = 'TABLE_A'
             MINUS
            SELECT COLUMN_NAME, DATA_TYPE, DATA_LENGTH
              FROM all_tab_columns
             WHERE table_name = 'TABLE_B'
          ) DIFF
    UNION
    SELECT 'TABLE_B has these columns that are not in TABLE_A', DIFF.*
      FROM (
            SELECT COLUMN_NAME, DATA_TYPE, DATA_LENGTH
              FROM all_tab_columns
             WHERE table_name = 'TABLE_B'
             MINUS
            SELECT COLUMN_NAME, DATA_TYPE, DATA_LENGTH
              FROM all_tab_columns
             WHERE table_name = 'TABLE_A'
          ) DIFF;that's assuming, column_name, data_type and data_length are all you want to compare on.

  • How to find the date my iPhone 4s was manufactured

    Hi, Please can anyone tell me how to find the date my iPhone 4s 64gb was manufactured. I have the serial and i-m-e numbers. For some reason my Insurance company want to know, all I wanted to do was add the phone to my all risks policy. Thanks in advance for any advice.

    That's all you will get, there is no way to know the manufactured date only the warranty status from date of original sale and it is most unlikely your warranty is still "good" on an iPhone 4

  • How to find the queryid of a query

    Hi,
    Can someone suggest how to find the queryid of a query?
    Many thanks,
    Xibi

    hi xibi
    please follow my simple way to find the queryid of the query.
    Go to open qeury from BEx, select the query for which you wish to see the queryid, copy the query using CtrlC and paste the same to notepad CtrlP.
    There you can see the queryid with all the other details also.
    The result you find with this method is the easiest i hope.
    hope this helps
    regards
    vijaykumar

  • How we calculate the date difference between two list in SharePoint 2010

    Hi friend's....I have two list first is list1. In this list i have two coulmn start_date and End_date. In second list2 i have two column HolidayName and Holiday_date. Now i want two find the number of day in list1 Excluding Weekend and Holiday_date(that
    column from list2). How i will do ..? Please help me dosto..

    Thanks for reply...
    I have done the date difference in list1. But i want to Exclude the Holiday_date form list2.
    I have list1 - Start_date , End_date, Number_of_day(Exclude weekend and Holiday_date between Start_date and End_date )
    list2 - HolidayName, Holiday_date
    Now how i will calculate the Number_of_day in first list.

  • How to find the data flow in pipes

    Hi All,
    I am working on an existing created job which have the query that mapped to a input file from there it have a couple of Query transforms. After the second Query transform there are multiple Pipes with different query transform in which all of the querys are target to a error table and one pipe is target to a clean table.
    I want to know how the data is flow into the clean table and error table. How to find the conditions saying which record needs to go into the clean table and which record needs to go into an error table.
    Thanks

    No such public document available from Oracle unless from Oracle Education.
    for some specific operation you can check Process tab inside Oracle Application which shows the data flow as part for workflow process.
    Regards
    Prashant Pathak

  • How to find the Data source name on linux server

    Hello All,
    Good Morning...
    I created a rpd in my local machine and deployed on the server through Fusion middle ware.
    and copied the catalog file there in the server.
    While working on my local machine I have two odbc connections... one is for development and other is for production.
    at the time of deployment to the server I changed the development instance to production instance throught the connection pool.
    I am encountering the following error while working on the analyis....
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 16001] ODBC error state: IM002 code: 0 message: [DataDirect][ODBC lib] Data source name not found and no default driver specified. (HY000)
    I think this is because of the mismatch of the datasource name in server and my local machine...could you please tell me how to find the datasource names on the server?
    Thanks!

    Hi Dpka-
    I created two ODBC connections in my system.
    one for development and another for Production.
    while deploying the rpd to the server I changed the development login credentials with production login.
    The problem here is I just want to know whether Iam giving the same datasource name which was presented on the server or not.
    I don't have access to the server now.
    Is there any way to find out the datasource names which were presented on the server with the help of admin console?
    Thanks!

  • How to find the URL of precalculated query

    Hello,
    I would enter into a precalculated query direclty the URL; is it possible?  How to find the URL ?
    Thanks.

    Hello Arvin,
    I have created a Web Template, and through the Reporting Agent, I run the query.
    Regards,
    Laura

  • How to find the date of Division creation in org structure

    Dear Gurus
    I want to know how to find the sales division creation date in organisation structure
    Regards
    Anand

    Hi,
    I checked it in my system and it is working.
    Please go to SPROEnterprise strDefinition-Log General-Define.......Division-
    Here go to the screen where the division can be created.
    In this screen, go to the menu Utilities---Change logs. Now select a date range and then execute. You will get all the creations/changes done.
    Ensure that you do this in your golden client where your configurations are done and not in any other systems. If this area is not enabled for logging, then again you cant see this history.

  • How to find the date when entries were made in DEVACCESS table

    Hi All,
    I needed to know if there is a way to find the date when an a developer was registered in our SAP system.
    I can see in DEVACCESS table (in SE16) all users registered along with their developer key but i also need to see when those entries were  made. Can you please help in this.
    Regards,
    Ashish Robinson

    Hi all,
    Thanks for the replies but my issue is that I got only for some users from SCCR in service maketplace. It seems that that other users for which (i can see entries in table DEVACCESS in my system) were created with somne other s-user which we dont know at thsi time so finding from service marketplace is not working!
    I needed to know iff there is some way i could get this information (when entries went in table or when the users registered) from SAP itself.... or may be from oracle sql level.
    Thanks to suggest <removed by moderator>
    Regards,
    Ashish Robinson
    Edited by: Thomas Zloch on Nov 23, 2010 2:28 PM - priority normalised

  • How to find the source generating DNS Query

    Hi team,
    we are getting error message for DNS total query
    Received/sec is getting more than 250 . can any one help me how i know the source where these query are generated .
    DNS Total Query Received/sec is 308.11; >TH = 250
    Regards, Triyambak

    Note: For this to work correctly you’ll need to run this part of the process from a domain controller. In this example I’m using a 2012 R2 DC but the process should be the same for 2008 and 2008 R2, unfortunately this process doesn’t apply to 2003 DCs, for
    sure you can use SPA and get similar information but the good thing is that you’ve got rid of those old 2k3 DCs right?
    http://blogs.technet.com/b/askpfeplat/archive/2013/12/16/domain-and-dc-migrations-how-to-monitor-ldap-kerberos-and-ntlm-traffic-to-your-domain-controllers.aspx
    You can add the DNS
    Regards~Biswajit
    Disclaimer: This posting is provided & with no warranties or guarantees and confers no rights.
    MCP 2003,MCSA 2003, MCSA:M 2003, CCNA, MCTS, Enterprise Admin
    MY BLOG
    Domain Controllers inventory-Quest Powershell
    Generate Report for Bulk Servers-LastBootUpTime,SerialNumber,InstallDate
    Generate a Report for installed Hotfix for Bulk Servers

Maybe you are looking for