Hi time shot problem

Hi,
I have a small problem. Time slot divisions.
In my selection screen I have taken Date and time fields. If I entered one date (suppose 03/01/2006) and time slot as (12:04:56 to 05:08:34) .
I need the output as:
Date:03/01/2006
12:00:00-12:59:59
01:00:00-01:59:59
02:00:00-02:59:59
03:00:00-03:59:59
04 :00:00-04:59:59
05 :00:00-05:59:59
Is there any function module for splitting of this. Or any other solution for this. I am waiting for your reply in earlier.
regards,
srinivas

Hi
Try a code like this:
PARAMETERS: time1 TYPE sy-uzeit,
            time2 TYPE sy-uzeit.
DATA: BEGIN OF time OCCURS 1,
        t_from TYPE sy-uzeit,
        t_to   TYPE sy-uzeit,
      END   OF time.
DATA: t_from TYPE sy-uzeit,
      t_to   TYPE sy-uzeit.
START-OF-SELECTION.
  CONCATENATE time1(2) '0000' INTO t_from.
  CONCATENATE time2(2) '5959' INTO t_to.
  time-t_from = t_from.
  DO.
    time-t_to = time-t_from + 3599.
    APPEND time.
    IF time-t_to = t_to.
      EXIT.
    ENDIF.
    time-t_from = time-t_to + 1.
  ENDDO.
  LOOP AT time.
    WRITE: / time-t_from, time-t_to.
  ENDLOOP.
N.B.:
In this case 05:08:34 is am and 17:08:34 is pm
Max

Similar Messages

  • Help, I am about to pull my hair out, can't get into a locked drive and Time Machine problem

    I've screwed everything up, I think.  I had Time Machine doing backups to an external 500Gig drive and somehow it got locked.  I went into Get Info to try and change the access but it won't allow me.  On top of this problem, my original drive died and I can't get into Time Machine to restore.  When I click "Enter Time Machine", nothing happens.  I created an eDisk and a startup disk to another external drive that I'm using now, but since everything that's been backed up is on the other drive that I can't access.  When I try accessing the drive it gives:  "The folder “G-DRIVE ” can’t be opened because you don’t have permission to see its contents."  I'm not knowledgeable enough to work from the command line, so if I need to do that to access the drive, please walk me though it.  As for the Time Machine problem, I have no idea how to recover anything since it won't even come up, it just sits there.  Outside of blowing my brains out, I don't know what to do.  Any help would be greatly appreciated as I can't afford to take it to Apple to let them try and fix it.

    Hello, not sure how this might affect a TM drive, or not, but...
    Here is what i needed to do for my drive "320GB HD", the last command is just for clean up
    Open Terminal and type these commands carefully with the spaces & change 320GB HD to the name of your drive.
    sudo chflags 0 "/volumes/320GB HD"
    sudo chown root "/volumes/320GB HD"
    sudo chmod 1775 "/volumes/320GB HD"
    sudo -k
    That said, these should be sufficient to do the job:
    sudo chflags 0 "/Volumes/320GB HD"
    sudo chmod a+rx "/Volumes/320GB HD"

  • Time out problem in BPS

    BPS friends,
    We have a planning function to copy Versions based with some filters. The copy function takes 5 hours and times out after that. The function is reaching max buffer size as recommended by SAP so we cant increase the buffer size anymore.
    We are on BW-BPS 3.5.
    How can I solve this time out problem? Please respond to me.

    Hi Pat,
    How many record did you copy ??
    Could you restrict the copy in not 1 package ??
    Package per package ...
    I suggest you ..
    e.g. you have restriction by a 0CALMONTH / something ..
    Then,
    You can copy e.g. for January to March, then March to August, etc.
    You can automate it by planning sequence.
    Hopefully it can help you a lot.
    Regards,
    Niel.
    thanks for the points you choose to assign.

  • When I tap the mail icon on my iPhone 4s, the menu of email servers pops up.  I already have a me acct that I check all the time, no problem.  So I choose iCloud, sign in and it tells me that I already have an acct-.so why can't I get to my emails then?

    When I tap the mail icon on my iPhone 4s, the menu of email servers pops up.  I already have a me acct that I check all the time, no problem.  So I choose iCloud, sign in and it tells me that I already have an acct….so why can't I get to my emails then?  I've turned the phone off and on twice....that has fixed it in the past but not this time....

    all fixed ha

  • I have the latest version of free Quicktime, Itunes  and unable to view video on my PC all i get is a pink screen the audio is OK i have uninstalled and installed several times same problem, i have a Iphone 4 and unable to view the content.

    i have the latest version of free Quicktime, Itunes  and unable to view video on my PC all i get is a pink screen the audio is OK i have uninstalled and installed several times same problem, i have a Iphone 4 and unable to view the content.

    Open your QuickTime control panel (either via the Control panels, or by going "Edit > Preferences > QuickTime Preferences" in the Quicktime Player). In the Advanced tab, uncheck Enable Direct3D video acceleration:
    ... and click OK. Quit and restart the QuickTime Player prior to checking to see if the settings change has had any effect.

  • Time offset problems with file i/o

    Hello everyone, I'm having a problem with the file i/o VI's. I require my application to save serial data at constant five minute intervals. The problem I'm currently seeing is that on each save to a file a time offset is being added which eventually becomes seconds, then minutes and so on. Since this application is meant to be run for a whole year this is a serious problem.
    Attached is the VI, an Arduino program simulating how the DAQ sends data and a file showing my time offset problem. 
    Any ideas/suggestions/fixes are appreciated.
    Thanks
    Jose Molina
    P.S.
    To run the VI upload the code to an Arduino, select it's serial port in the popup VI then click on Ok. The VI will wait for a time that is a modulo of 5 then create a folder structure inside the same location as the LLB. Inside this folder structure should be a file with the data which should be saved every five minutes if left at the default averaging time.
    Attachments:
    7-8-2012.txt ‏3 KB
    Daq_Simulator.zip ‏1 KB
    Weather_DAQ.zip ‏117 KB

    Sorry I forgot to mention that the averaging time is configurable in the pop up vi at the start. I tried 20 seconds because it's much faster for testing than 5 minutes. Timing is being done by a simple counter that increments each time data is received. So if I receive data the timer increments by 5 because data is sent every 5 seconds. Once the timer is equal to the averaging time the data is sent to the enqueue function and then the blocking dequeue function on the second loop sends the data to the file save vi which then saves the data to the file. 
    Attachments:
    counter.PNG ‏13 KB

  • Time consuming problem in Self update rule

    Hi all:
         We have time consuming problem in self update rule.I have ODS ZOMS001,for this we created self update rule.In process chain we include this self update rule and during delta update,it takes 20 to 25 mins even if there is two records or 10000 records.In delta for this self update rule,it takes the whole records in ODS
        EX: If i have 10000 records during initialise and 10 records in Delta update...For the delta self update rule it takes 100010 records..But it only update delta records values.
    we have to reduce the total time consuming for this self update during delta..
    Waiting for your inputs.
    It would be helpful for your valuable reply.
    Rgds
    MSK

    I think retransporting is the only option available to you. You cannot modify anything in your production system.
    IF you have a chance to speak with basis people,ask them to open the system status to modifiable for few minutes.
    and make necessary changes in production and bring it back to normal (This is not a best practise in all situations).
    hope this helps.
    Praveen

  • I have windows xp. I downloaded quick time no problem still can't get itunes to install. Still get same message (a program for this install to complete could not be run).

    I have windows xp. I downloaded quick time no problem still can't get itunes to install. Still get same message (a program for this install to complete could not be run).

    Try the following user tip:
    "There is a problem with this Windows Installer package ..." error messages when installing iTunes for Windows

  • Time Machine problems

    My question is this: Is there any way to force Time Machine to make a complete backup of all files, not just the recently changed ones?
    My story so far:
    Installed Leopard yesterday. Detected brand-new (and newly Mac formatted Extended Journaled) Seagate 300GB hard drive and asked if I wanted to use it for Time Machine. Answered yes. Thought I was through with worrying about Time Machine- wrong! First backups went OK- so I thought. First one took several hours and seemed to back up the whole drive. Subsequent ones were shorter, which seemed to make sense. After a couple backups had been performed, decided to see if I could "go back in time". The only window to show up was the original backup (which I never bothered to check to see if it truly was complete). This morning I was greeted with an error that it couldn't do the backup because it couldn't complete the library.
    So I come to this forum and read posts advising me to reformat my drive and name it with no spaces (it was previously "Backup Disk"). I did that, erasing all previous backups. Seemed to help, but...
    Now, unfortunately, Time Machine doesn't realize that the backups are not there anymore and will not do a complete backup with my completely empty external drive. I even tried removing the com.apple.TimeMachine.plist file from its place in the directory to see if that would force the program to build a new library. It didn't.
    Not even sure that making a complete backup again will solve all my Time Machine problems but it's a start!

    I had this same problem when I first started using my Time Machine on my MBP. I had a portable drive (Western Digital 160 gig passport drive).
    I was advised by the tech to do the following before the first use of the drive:
    1. Turn off the time machine
    1. format the drive with your disk utility.
    3. configure the time machine for the drive.
    4. Turn on the time machine. Make sure your not backing up anything but your main hard drive. (Your shouldn't back up any other external hard drives). At least not the first time you run Time machine.
    5. start the backup.
    The first backup is always the longest, but it shouldn't take that long, especially if your doing the Macbook Air.
    Hope this helps.

  • Time out problem while uploading large bpel processes into oracle soa suite

    Hi everyone,
    I'm using oracle soa suite 10.1.3.4.0 and I'm encountering time out problem while trying to upload a 5MB bpel process into my bpel process server located in the LAN network. The error is coming from apache common file upload.
    Is there a way to increate the connection time out for oc4j to avoid this problem?
    Thanks for any help.
    Regards
    Esfand

    Hi Marc.
    Thanks for your reply. I increased the transaction manager time-out but still I have the same problem. I believe this is something related to oc4j settings and related to upload bpel process. here is my stack trace output:
    79: A problem occured while connecting to server "192.168.0.12" using port "8888": bpel_JazbModaresJadidBPEL_1.0.jar failed to deploy. Exception message is: javax.transaction.RollbackException: Timed out
    at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:94)
    at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:324)
    at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:341)
    at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:376)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:400)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:414)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.oc4j.rmi.OracleRemoteException: An exception occurred during transaction completion: ; nested exception is:
    javax.transaction.RollbackException: Timed out
    at com.evermind.server.ejb.EJBTransactionManager.end(EJBTransactionManager.java:152)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:57)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
    at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:319)
    ... 25 more
    Caused by: javax.transaction.RollbackException: Timed out
    at com.evermind.server.ApplicationServerTransaction.checkForRollbackOnlyWhileInCommit(ApplicationServerTransaction.java:664)
    at com.evermind.server.ApplicationServerTransaction.doCommit(ApplicationServerTransaction.java:273)
    at com.evermind.server.ApplicationServerTransaction.commit(ApplicationServerTransaction.java:162)
    at com.evermind.server.ApplicationServerTransactionManager.commit(ApplicationServerTransactionManager.java:472)
    at com.evermind.server.ejb.EJBTransactionManager.end(EJBTransactionManager.java:137)
    ... 33 more
    Total time: 4 minutes 30 seconds
    The bpel jar file is about 2MB and is uploaded from my machine located in the same LAN.
    Any hints?
    Thanks
    Esfand

  • HT5824 iTunes Store repeatedly asks me to sign in, says my password is wrong. Changed it 4 times, same problem.

    iTunes Store repeatedly asks me to sign in, then says my password is wrong. Already changed it 4 times, same problem over and over. What's up with this?

    We are all users like yourself.
    No one from Apple reads or responds here.
    Contact iTunes customer support to see if they can assist you.
    Of course, it would be much easier to simply enter the correct credentials. 

  • My children enters wrong password several times on problem  my ipad ..., the was it is indicated that it was disabled ... how can i access my ipad thanks please help ... thank you

    my children enters wrong password several times on problem  my ipad ..., the was it is indicated that it was disabled ... how can i access my ipad thanks please help ... thank you

    If it's reached the point where you can't try re-entering the code then you will need to connect the iPad to the computer that you normally sync to and you should then be able to reset the iPad and re-sync your content to it - from http://support.apple.com/kb/HT1212
    If you repeatedly enter the wrong passcode, your iPhone, iPad, or iPod touch will be disabled for longer intervals before you can try again. After too many unsuccessful attempts, you won't be able to try again until you connect it to the computer with which you last synced it.
    You may need to put the iPad into recovery mode : http://support.apple.com/kb/ht1808

  • KOrganizer time zone problem

    I'm having this weird time zone problem with the KOrganizer Calendar. I'm in Chile and the goverment extended the daylight saving time for a couple of months (until May 7). I already installed the latest tzdata 2011e-1 package (from testing) which contains the updated rules for America/Santiago.
    Now if I create an event in Calendar, let's say tomorrow April 8 starting at 10:00 AM, everything is fine. But if I restart the application the event is shifted by one hour (11:00 AM) as if KOrganizer was using an outdated time zone database. When I click on the event to bring up the edit dialog the right time reappears! If I save the event the time is corrected and everything is fine again unless I restart the app.
    Has anyone had a similar problem? The only thing I can guess why this is happening is that KDE somehow uses more than one source for the time zone info.

    There are a couple of ways you could do it.
    Way 1:
    Search for a file by name 'glogin.sql' on your client work station and add the following statement
    alter session set nls_date_format = 'YYYY-MM-DD HH24:MI:SS';Make sure you save the file. This change will apply to all users who will log into the database using SQL*PLUS from your machine.
    Way 2:
    Create a shortcut and place it some where (for example on the 'DESKTOP').
    Right click on the short cut and choose properties.
    Change the text corresponding to the 'Start in' box to reflect the current location of the shortcut.
    Create a file by name 'login.sql' and place it in the same folder as the shortcut.
    Edit the file and add the following line.
    alter session set nls_date_format = 'YYYY-MM-DD HH24:MI:SS';Make sure that you save the file.
    When you double click the shortcut to start SQL*Plus and login, the script 'login.sql' is executed.

  • N8 Daylight savings time huge problem

    I live in Jordan and daylgiht savings is activated on April 1st (the phone time is set to jordan) but today/yesterday (march 25th) it activated daylight savings increasing one hour on the time, the problem is that everytime I adjst the time (decrease 1 hour) it automatically increases another hour making it impossible to fix the time (auto time updates are off). 
    *noite: i can change the minutes but not the hours
    so bascially does anyone else have this problem?? and do you have idea how to fix it 
    If you found this post or any other psot helpful please press the green kudus star

    We will get somebody to look at this incorrect date for the time change, many countries that use daylight savings time do so from the final Sunday of March, which would appear to explain your premature switch in Jordan where you are using a different date for the switch.
    With regard to the way the time zone is shown, Symbian phones always show your local time in relation to GMT/UTC, which doesn't include any daylight savings calculation, so for example here in Finland, my N8 shows GMT+3, but once we switch back to normal time in September that will revert to GMT+2.
    If this or any post answers your question, please remember to help others by pressing the 'Accept as solution' button.

  • Toshiba 48L1433DB - USB time out problems

    My USB Ports are not shown on my Source list and I have a "time-out" problem.
    If I put a stick in either USB port the media page loads automattically and everything works perfectly but then switches off after an hour or so (on-screen message shows empty port has switched on).
    I then have to disconnect the stick and reload it before I can start watching again (Have to fast forward to place where disconnect happened but have to stop every now and then to prevent time out re-occuring)
    Very puzzling

    Originally Posted by [email protected]
    My USB Ports are not shown on my Source list and I have a "time-out" problem.
    If I put a stick in either USB port the media page loads automattically and everything works perfectly but then switches off after an hour or so (on-screen message shows empty port has switched on).
    I then have to disconnect the stick and reload it before I can start watching again (Have to fast forward to place where disconnect happened but have to stop every now and then to prevent time out re-occuring)
    Very puzzling
    At first you should make sure, that it is not caused by the stick type and/or file format.
    Did you check with a stick from another vendor ? Also, does it happen with every file type, or related to certain formats ?

Maybe you are looking for

  • HT1338 Trying to reinstall hp LaserJet P2035n fails even though Apple says software available.

    When I upgraded my Mac Pro to Lion a feature of my LaserJet P2035n went away. The feature was the ability to do manual double sided printing. The feature showed on the printer page but was always greyed out. I have noticed that a recent Mac OS softwa

  • Validation error after File upload

    HI, I am using a file upload functionality in OAF page. When i browse for the required excel file and click on browse, the data is popluated on the oaf page. I have 2 lov fields on page - say a & B. B is a dependent LOV on A. I have a validate button

  • My Ipod 4th generations Camera won't work, how do I fix it?

    My Ipod 4th generations Camera won't work, how do I fix it?

  • OER Report error..

    Hi, I am using OER 10.3 and have set up projects and assets as per documentation. When i tried to generated the standard reports like Asset Use, Asset Status etc, i am always getting *null in the report pop-up. When i see the tomcat log, it gives a n

  • Hide Resubmit button in UWL

    Hi, i want to hide the resubmit button in the uwl but only for the leave. how can i achieve that? Thanks, Anumit