Find the Difference in time for creation of two activities for the same SR

Hi
I need to find the difference in time of cretaion of two different activities for an SR. Is there any function which I can use to get the same
For e.g.
SR # |Activity Created Date |Duration
123 12-nov
123 13 nov 1 day
Thanks in advance
Meena

There's a TIMESTAMPDIFF function.
An example from the book Oracle CRM On Demand Reporting has the following example...
TIMESTAMPDIFF( SQL_TSI_MINUTE, Activity."Start Time", Activity."End Time" )
which would return the difference in minutes.
As I type this, I'm thinking you probably know this and your problem is how to get the Activity start time for the next activity into this function. I sorry can't think of any way to do that.

Similar Messages

  • Issue at the time of creation of transfer order for inbound delivery

    Hello,
    I am facing one issue at the time of creation of transfer order for inbound delivery.
    If I create inbound delivery for purchase order with account assignment as 'M' (Ind. cust. w/o KD-CO), inbound delivery is not updated. Also document flow for inbounde delivery s not updated. I can create N number of transfer orders for on inbound delivery. Need help to resolve issue.
    If I create inbound delivery for purchase order with account assignment other than 'M' (Ind. cust. w/o KD-CO), inbound delivery and document flow is updated.
    Thanks and Regards,
    Nikhil

    Hi
    In OMS2 t-code
    for your material type and  plant ,you have to mark value based and qunaity based updation mark
    Regards
    kailas Ugale

  • What's the difference between time capsule and time machine?

    What is the difference between time capsule and time machine?

    See Using Time Machine with a Time Capsule.

  • On the initial set up for apple tv it just sits there trying to set the date and time . it is a wireless setup and the ipaddress and router address is correct . I can't get by this screen

    On the initial set up for apple tv it just sits there trying to set the date and time . it is a wireless setup and the ipaddress and router address is correct . I can't get by this screen. The setting is on automatic and I have picked a city in my time zone yet it still tries to set a time and date but fails.
    thanks

    Make sure router is up to date. Try ethernet to rule out any wifi issues. Reboot ATV and router.

  • Measure the average read time of a single database block for hardware.

    Hi,
    how to Measure the average read time of a single database block for hardware ?
    Many thanks.

    Hi,
    A STATSPACK report has data file level I/O tunings, but they include buffered reads, so they are biased.
    Try this in 9i:
    http://www.dba-oracle.com/oracle_tips_cost_adj.htm
    select
    a.average_wait c1,
    b.average_wait c2,
    a.total_waits /(a.total_waits + b.total_waits)*100 c3,
    b.total_waits /(a.total_waits + b.total_waits)*100 c4,
    (b.average_wait / a.average_wait)*100 c5
    from
    v$system_event a,
    v$system_event b
    where
    a.event = 'db file scattered read'
    and
    b.event = 'db file sequential read';
    Or this, in 10g:
    col c1 heading 'Average Waits for|Full Scan Read I/O' format 9999.999
    col c2 heading 'Average Waits for|Index Read I/O' format 9999.999
    col c3 heading 'Percent of| I/O Waits|for scattered|Full Scans' format 9.99
    col c4 heading 'Percent of| I/O Waits|for sequential|Index Scans' format 9.99
    col c5 heading 'Starting|Value|for|optimizer|index|cost|adj' format 999
    select
    sum(a.time_waited_micro)/sum(a.total_waits)/1000000 c1,
    sum(b.time_waited_micro)/sum(b.total_waits)/1000000 c2,
    sum(a.total_waits) /
    sum(a.total_waits + b.total_waits)
    ) * 100 c3,
    sum(b.total_waits) /
    sum(a.total_waits + b.total_waits)
    ) * 100 c4,
    sum(b.time_waited_micro) /
    sum(b.total_waits)) /
    (sum(a.time_waited_micro)/sum(a.total_waits)
    ) * 100 c5
    from
    dba_hist_system_event a,
    dba_hist_system_event b
    where
    a.snap_id = b.snap_id
    and
    a.event_name = 'db file scattered read'
    and
    b.event_name = 'db file sequential read';

  • What would the difference be if I traded an iPad 2 for a Mac book?

    What would the difference be if I traded an iPad 2 for a Mac book?

    You might be able to arrange a trade locally on Craig's List. You'll pobably have to sell the iPad & then buy the MacBook.
     Cheers, Tom

  • I can't connect to the drive on my airport time machine and am receiving the message: "AirPort Time Capsule" can't be opened because the original item can't be found.

    Time capsule has been working perfectly for months.
    Suddenly I can't connect to the drive on my airport time capsule and am receiving the message: “AirPort Time Capsule” can’t be opened because the original item can’t be found.
    Time machine appears to be still backing up (last backup within the last hour), but drive is not visible and I have files stored on it.
    I have tried rebooting everything in order as suggested for other issues, anyone got any ideas how to see the drive again??

    What OS are you running??
    It is very typical Yosemite issue.
    1. In airport utility does the TC show up.. if so click it.. and see the summary page which will include its IP address. That is what you are after.
    From my screenshot you can see the TC address is 192.168.2.57
    It might well show up briefly after a reboot or in ipad / iphone version utility. Yosemite is hopeless. The airport utility hardly works.
    2. In Finder use Go, Connect to server.
    Type in SMB://192.168.2.57 (replace with IP you discover).
    If it is possible it will request a password.. type that in and DO NOT FORGET.. to store it in your keychain.
    This will work until the TC changes IP which won't happen if it is main router.. but will happen if it is bridged.. so you need to tell me the whole network setup.
    Mavericks is nearly as bad and the above instructions should be universal except I would use AFP instead of SMB. Apparently Yosemite is now totally Windows oriented.

  • HT1805 Do you know if the Mobile Usage Current Period is the amount of time you have spent phoning people or the amount of time you have left of your allowance?

    Hi,
    I'm a new iphone owner and have a limit of 200 mins to use making telephone calls per month. I'm just wondering if the amount of time recorded in the 'Current Usage' box on the Mobile Usage screen is the amount of talk time I've used in the month or the amount of time I have left?
    Thank you

    As the phone has no way of knowing what your plan allowance is, it just shows how long you've been on calls. Keep in mind that not all calls are billable. My carrier doesn't count calls to customer service. So, if you had called customer service, it would show on the phone as usage but not on your bill as part of your allowance. Check to see if your carrier has an app in the App Store for tracking minutes. It will be much more accurate.

  • HT201272 How do i see a list of the apps that have been downloaded and the dates and times and amounts?  Tried to follow the on-line thing but i want to compare what has been downloaded with my visa bill.  HELP!!

    How do i see a list of the apps that have been downloaded and the dates and times and amounts?  Tried to follow the on-line thing but i want to compare what has been downloaded with my visa bill.  HELP!!

    See this -> http://support.apple.com/kb/HT2727

  • In the numbers app, using the "date and time" function, is it possible to remove the time? I need to put together a list of dates, but I don't need or want times.

    In the numbers app, using the "date and time" function, is it possible to remove the time? I need to put together a list of dates, but I don't need or want times.

    When formatting your column to date/time, pick Date & time, and then pick the letter i in the circle to the right. Then scroll down and pick "No time"
    Jason

  • Practical, experience-oriented recommended device (f/w? /) s/w version(s) for all PC-centric activities on the TELUS Mobility BB Tour 9630

    Hey all ... I am wondering if I can pick people's brains and get good advice re: practical experience-oriented recommended device (f/w? /) s/w version(s) for all PC-centric activities on the TELUS Mobility BB Tour 9630, including the PC-resident s/w(pkgs) & USB / USB Serial drivers (on XP Pro SP3).
    I will likely be wanting to upgrade various (f/w? /) s/w components after a 3 year hiatus on the BB front  ... however, based on my own IT experience, newer / newest (f/w?) / s/w(pkgs) is (are) not always best for the end-user, and, can even be limiting in certain identifiable respects ... I'm speaking in general terms here ... so ... it may be that the latest BB s/w is the absolute best way to go for my PC O/S platform and Tour device ... I'm just throwing out there this notion of making an educated determination as to which upgrades to install and to what version level, in case the general suspicions I outlined above have any merit.
    I don't have (or want) Data enabled on this 9630, so, getting screen captures or Copied text off it (like all the information in Options > About: "BlackBerry (R) 9630, smartphone (3G, CDMA), v5.0.0.419 (Platform 4.2.0.179), 3G Bands 1 ... " [and, or course, there's lots more info on that screen ... ]) have so far eluded me (any suggestions or help on that front would be greatly appreciated) ... perhaps most of the device-relevant version info required by forum members to help me make this determination also appears in my PC screenshots below.
    Here's what I have left over on my PC from my dealings with my BB Storm 9530 from 3 years ago:
     Thanks, FFF
    Solved!
    Go to Solution.

    Hello! Thank you for those clarifications...they do help greatly to understand your request. Here's my opinions:
    Frankenstien wrote:
    More simply put ... should I upgrade my TELUS Tour 9630 software (currently at:  v5.0.0.419 [Platform 4.2.0.179] to the most currently available software, whatever version # / Platform # that may be?
    Or, is there some advantage in upgrading only to a certain BlackBerry Operating System version level on this particular device?
    For your 9630, you already are on the latest OS level that Telus released/supports. I do not know if other carriers have released anything more advanced, but you can read some very good discussion here:
    http://supportforums.blackberry.com/t5/BlackBerry-Tour/Verizon-Tour-Users-Revert-to-old-OS-here/td-p...
    Based on what I've seen, I'd surmise that there is nothing "newer" than what you have...at least not officially...but you can dig through the official download portal to validate that:
    http://us.blackberry.com/support/apps-and-software/desktop-and-device-download-sites.html
    Given that it's the carriers who hold responsibility for releasing BB OS packages to their customers, that portal is indeed sorted first by carrier...so you must first dig to discover which carriers support your 9630 and then compare the OS packages that each supporting carrier has released. Sadly, it is also the responsibility of the carriers to release change log information, but all too many of them are rather lax on that point. But, that thread I linked for you above has I believe some very good information that might help you in your quest. You also should seek out other threads here (and elsewhere) on similar topics.
    Frankenstien wrote:
    And, should I upgrade the BlackBerry USB Driver / USB Serial Driver / Device Manager / Desktop Manager software on my XP Pro SP 3 PC to the most recently available versions? (screenshots in 1st post show all the current version #'s ... this software was all installed circa mid-2009)
    Or, is there some advantage in upgrading only to certain BlackBerry software version levels for each of the items referenced above ... in the case of this particular device?
    The Desktop Software does not care about the specific device. Rather, it provides certain capabilities that you must choose from. For instance, if you need the ability to export from your BB to CSV/ASCII, then you need to stay behind in the version 6 range as that function was removed from version 7. Likewise, if you are intending to synchronize your BB with a desktop PIM (e.g., Outlook), you need to ensure that you are running a Desktop Software version that is compatible with your PIM:
    KB12268Synchronization support for BlackBerry Desktop Software for Windows
    If neither of those are important and/or compatibility is fine with the latest version, then it's usually wisest to stick with the latest version for bug fixes, feature enhancements, etc. That is not to say that folks don't have problems with the latest version...perusing the Desktop Software board on this site will bear that out quite quickly indeed! But, by and large, there should be no harm/no foul to using the latest Desktop Software version with your BB.
    Further, it's always a good idea to also download and install to your PC the BB OS package that is actually running on your BB. Doing this somewhat customizes the Desktop Software so that it can best work with your specific BB environment. You cannot pick and choose what components within the Desktop Software you wish to upgrade (that "line item" mention you made)...rather, you install the entire package, and it contains within it whatever it has as "current" based on the overall version of the Desktop Software package.
    Hope that helps! Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How do I get the difference in time using 2 ttl pulses

    Hi everyone,   I have a question using the delay time.  What I need to find the time interval between 2 incoming TTL pulses and fire the output TTL pulse precisely the same time interval after the second TTL pulse.  I have been using Labview 7.1 with real time module and FPGA module (I think 1.0 because I can not find wait for rising edge vi).  I am using NI 7830R card.  The length of each TTL pulse is about 1-5 microsec.  Second pulse comes in at about 1 millisec after the first one.  So I need to fire aboyut 1 millisec after the second incoming TTL pulse.  Because of the non constant TTL pulse length, I would like to reference at rising edge of incoming ttl pulses.  Can anyone give me a help on this?
    Thank you very much.
    Hideya 

    Hi Hideya,
    As is the case with many programming questions, there are several ways to go about solving this one.  The solution I have in mind is to poll the digital input line for a transition from low to high.  The simplest way to do this would be to use a loop with a shift register to store the previous digital input value.  When the current digital input value is greater than the previous value, you can get the tick count (microsecond resolution sounds like it would be sufficient).  You can then do that sequence of operations a second time.  The difference between these two tick counts can be used as the input to the wait (microsecond) function.  After that you can send your digital output pulse.
    Best regards,
    David H.
    Systems Engineer
    National Instruments

  • How to find out which schema(time and payroll) is being used for which empl

    Hi,
      Can anyone tell me if there is any way we can find out which schema is relevant for which group of employees, for example in a system which has employees from different countries and for each country there is a diffrerent schema being used ?
    Is there any feature which defaults the schema names according to groups of employees ? If so what is the name of the feature?
    Regards
    QB

    hai
    generally  the schemas are named X000  which stands for common schema  nomination
    x replaced by respective country like for india it is IN00  for US  U000etc
    it is not given according to the group of emplyees but according to the country grouping for your org units
    time schemas are country independent they work for all the countries
    regards
    nalla

  • BAPI/FM for creation of CONTACT RECORD for the contract account

    Hi All,
    I need to create a contact record for the a contract account.
    The contact record details will be maintained in the table BCONT.
    Let me know if there is a function module/BAPI/any othere way to create a contact record.
    Regards
    Shiva

    Hi,
    You can use the function module - BCONTACT_CREATE to create Contact record
    (or)
    make a BDC of the Tcode - BCT1(Contact creation) and use the same for creation of contacts in batch
    Note: Contact is created against Business Partner and not Contract Account. So you will have to include your logic of finding out the respective Business Partner for the Contract Account for which you need to create Contact record.
    regards
    Gagan

  • Data plan!  why???  whats the difference of me using Wifi or being charged for a data plan?

    Feature phones iterally suck, even the internet pro reviews on the phones are very low and most of the feature phones that are  reviewed  the reviewer gives  their  last comment as "don't buy" .
    I do not need a data plan, ( I carry either a Verizon netbook or a notebook for all my internet needs) nor am I comfortable with the charge of a data plan being necessary or is this simply another way for a large company with a large profit margin to stick it to the consumer knowing we have to maintain a cell phone in this day and age?.
    I had settled on the KinTwo, the reviews are not glowing but .... r not that horrible either.  It is also the only phone which gives the owner WiFi accessibility.  (which makes me wonder if this is the reason Verizon has pulled it off the market).  From my extensive research the KinTwo is the only feature phone choice.  But..... When I went back to the site to order it was gone, and the VW stores do not carry it.
    UGH>  I am so discouraged by the data plans and the extremely high price.  Would someone please tell me what the difference is in my using my Netbook, laptop (notebook) on WiFi and not being charged a data fee?  Or why I can bring Wireless Internet into my home and have all my WiFi accessible electronics connect through my main ISP with an additional fee for each WiFi user????   But I am not able to use a Smartphone this way???
    I am serious about these data plans  are they necessary????

    once upon a time verizon did not require data plans
    many users were happy
    but t h is did not last for users started having problems with thier hands
    they would often hit the wrong buttons and use data
    sometims as little as a mb, sometimes many mb
    verizon forums and customer service started recieving phone calls to get credits for this usage
    after all its not the users fault is it? i mean are they responsible if they had the phone to a 2 year old to play with and the kid brings up the browser?
    so verizon decided it was in its best interest to protect its users.  they started requireing data plans so you wouldnt get hit with huge bills for being an idiot.
    So if you wanna cry about data plans blame all those people out there that complained

Maybe you are looking for

  • BI 7 WAD Script item

    Hi,       I need to call a java script function which I created using the Script item and will be calling that function from the Link object command.Some how this is not triggering the java script function when I click the link.       Any thoughts an

  • Queue issue

    Hello, Does anyone have idea about below issue: We are handling high volume of messages, our queues get blocked in smq2 and then we have to either delete queues and re-register or bounce the server back. All optimizations on mapping side (splitting m

  • Premiere Pro CC will not stop rendering

    Premiere Pro CC 7.2.1 Windows 7 In the past 2 weeks, PP will not stop rendering frames on the timeline. As the "frames rendering" amount increases, so does the frames to be rendered. It never ends and when I cancel the render, nothing has even render

  • TS3297 Runtime error R6025

    When trying to open itunes Store, message - Runtime Error R6025 appears & closes i tunes

  • Need to Fix Drivers (Nvidia, Hybrid SSD, etc) after re-installing Windows 8.1?

    Hi everyone! I have a new Lenovo Z50-70 (i7, 8GB RAM) laptop and recently re-installed Windows 8.1 on it (to get rid of the bloatware). 1. Do I need to fix drivers or something to enjoy the Nvidia 840M (4GB) performance? Also, the laptop has a Hydbri