Date and time for background job

Hi,
I am creating a program with out selection screen . This program runs based on date and time . so I need to create a table
with date and time fileds.
Program runs based on FROM DATE FROM TIME  TO DATE  TO TIME....... FROM DATE and FROM TIME  will get it from ztable and TO DATE & TO TIME values as SY-DATUM & SY-UZEIT. In the end I will update sy-datum and sy-uzeit values in the custom table to get the values ( Use it for from date from time ) for next run of the program.
This program is mainly used for background job so how do we get the values of from date and from time for the first run of the program ? how do we update the latest date and time details by deleting old date and time details.
Thanks ,
Vinay.
Edited by: Vinay parakala on Apr 22, 2010 9:18 AM

First of all, I'll suggest to maintain TVARVC instead of doing it in custom table unless you need a complete log.
As per my understanding, you are trying to fetch some records based on the time period(Delta loads).
So, you will do an initial run to load the complete data then you will run it for time periods. For example,
1st Load- 01/01/1991(earliest date possible) - today's date say 03/22/2010
2nd load- 03/22/2010 - today's date
so on............
You have to move the to date values to from date values and to date value needs to be updated by the latest one for each load.
Do you have any dependency on background job? Please let me know if my understanding is correct or specify your requirement in detail.

Similar Messages

  • Reminder app not working correctly, issue started around Sept. 1,2014. Will not allow me to set date and time for a reminder.

    Today I noticed an issue with my Reminder app on my IPhone 5s. Using OS 7.1.2. I called Apple, and the tech didn't know what he was doing and just trying different things.The reminder app will not let me set a date and time for reminder. Finally he escalated the call to a senior advisor who was rude, arrogant and unprofessional. He insisted the Reminder App was updated with the new update of IOS September/October 2013. Not true, the issue just started about 5 days ago August 31,2014. Now there is an additional reminder line for reminder entries that I have to use and have to transfer all my reminders manually from the other part of the app. The feature does exist; if I try to set a date and time for the reminder it appears for 1-2 seconds and then disappears.
    Has anyone else noticed this issue?

    He insisted the Reminder App was updated with the new update of IOS September/October 2013. Not true
    Yes, it is true.
    iOS 7 was released 18 Sep 2013. At this time, the Reminders app was updated (with most everything else).
    the issue just started about 5 days ago August 31,2014.
    Your issue just started but the app was not updated 5 days ago.
    Now there is an additional reminder line for reminder entries that I have to use
    I don’t understand what this means...
    Open Reminders, type the reminder, tap the i at the end, turn on Remind me on a day and enter the date/time.

  • Adjust Date and time for all Photos in an event?

    Would some one tell me how to adjust the date and time for all photos in an event. For some reason when I change the date, it only changes the first photo in the event and I am left with a range of dates in the event, but I would rather they all have the same date in the event. Any thoughts or ideas?

    How are you selecting the photos and changing them? How much of a change are you trying to make? A total change of date and time or just a delta change either plus or minus?
    Using the Photos->Adjust Date and Time... menu option will apply the time/date difference to all of the photos in the Event if you click on the Event icon in the Photos mode or the Event mode.

  • Getting last login dates and times for graphical/xwindows logins?

    Hi,
    How do I get the last login date and times for users who just use the GUI (and don't launch terminals)?
    So far such logins don't seem to show up when I do "last -f /var/adm/utmpx" or for wtmpx.
    What should I be using on solaris to get the last login dates and times for all users, whether they log in on the text console, graphical console, or remotely via ssh etc?
    Thanks,
    Link.

    Hi,
    How do I get the last login date and times for users who just use the GUI (and don't launch terminals)?
    So far such logins don't seem to show up when I do "last -f /var/adm/utmpx" or for wtmpx.
    What should I be using on solaris to get the last login dates and times for all users, whether they log in on the text console, graphical console, or remotely via ssh etc?
    Thanks,
    Link.

  • SCCM 2012 R2 changing date and time for patching software update groups

    I recieve this error when changing date and time for software update group. worked fine yesterday before patches to the server were applied last night. we removed patches but still get error below. Any help would be great.
    ConfigMgr Error Object:
    instance of SMS_ExtendedStatus
    Description = "Property array AssignedCIs exceeded the max allowed";
    ErrorCode = 1078462259;
    File = "e:\\nts_sccm_release\\sms\\siteserver\\sdk_provider\\smsprov\\sspupdatesassignment.cpp";
    Line = 94;
    Operation = "PutInstance";
    ParameterInfo = "";
    ProviderName = "ExtnProv";
    StatusCode = 2147749889;
    Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlQueryException
    The SMS Provider reported an error.
    Stack Trace:
    at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlResultObject.Put(ReportProgress progressReport)
    at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlResultObject.Put()
    at Microsoft.ConfigurationManagement.AdminConsole.SmsDialogData.Put(IResultObject resultObject, List`1 resultObjectsPut, Boolean retainLock)
    at Microsoft.ConfigurationManagement.AdminConsole.SmsDialogData.Put(Boolean retainLock)
    at Microsoft.ConfigurationManagement.AdminConsole.DialogFramework.Forms.SmsPropertySheet.Put(ActionTrigger trigger)
    System.Management.ManagementException
    Generic failure
    Stack Trace:
    at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlResultObject.Put(ReportProgress progressReport)
    at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlResultObject.Put()
    at Microsoft.ConfigurationManagement.AdminConsole.SmsDialogData.Put(IResultObject resultObject, List`1 resultObjectsPut, Boolean retainLock)
    at Microsoft.ConfigurationManagement.AdminConsole.SmsDialogData.Put(Boolean retainLock)
    at Microsoft.ConfigurationManagement.AdminConsole.DialogFramework.Forms.SmsPropertySheet.Put(ActionTrigger trigger

    no it is the final version... is working today after cleaning up database... is working now...thanks
    Hello Robert,
    would you please give some more informations, as I have the same issue and don't get what you mean bye "cleaning up databases".
    Regards ooGDoo
    ooGDoo

  • Unable to Determine the Change Date and Time for records in infotype 2011

    Hi Everyone,
    We need to know on when the clock-in and clock-out records were interfaced to SAP in infotype 2011.
    The change date/time field in infotype 2011 is blank/not populated. Hence, we're unable to determine on when the clock-in records were updated in infotype 2011.
    It is not possible to get the audit logs for infotype 2011 as it is switched off.
    We found this table TEVEN and just the same thing, the field "change on" is blank.
    Kindly help us on how we can determine the change date and time for records in infotype 2011.

    Hi Prasad,
    Here's the scenario.
    On June 3, it was reported that staff's clock-in record on june 1, 7:00AM is missing in infotype 2011.
    However, when I checked infotype 2011, the record is there.
    So, they are now asking me on when this record was updated in infotype 2011 as they are thinking that there might be some delays in sending of the data to SAP.
    The created on and created at in table TEVEN shows the same, june 1, 7:00AM which seems to be not true as on june 3, it was reported to be missing.
    Can you help further on this?

  • Setting/changing and using date and time for an alarm.

    While I know how to get the time I'm not sure how to somehow allow the user of the app to change it, save it and then use both the date and time to set off an alarm.
    While this can be easily done using forms my application is purely canvas based so none of that easy to use stuff, I'd have to print the time on the screen then allow the user to change that time, repaint the numbers again while also changing it in system, save the time and date to memory then use it set off an alarm.
    If anyone can link to some good, simple tutorials or explain themselves it'd be appreciated, thanks.

    This may be possible, but it may need a script to launch with firefox...so this may be a skeleton answer.
    A couple of brianstorms to achieve this
    *Cronzilla add on might be helpful [https://addons.mozilla.org/en-US/firefox/addon/cronzilla/]
    *Saved sso login might be in the about:config file page:
    [http://superuser.com/questions/664656/how-to-configure-firefox-for-ntlm-sso-single-sign-on] "securtiy ask for password"
    * you may need to add to the security exceptions the sso login page
    Two things we can do, file a bug to add this to the launch arguments, and find a meantime work around which stackoverflow.com would be a great place to ask this question.

  • Date and time for credit block and release in Sales document

    Hi.
    For sales document [sales order and delivery], we need to find out the date and time :
    1. when it was blocked from credit block.
    2. when it was released from credit block.
    Is there a standard table that stores these dates and time?
    Tks.
    Rgds,
    Johnhuang05

    Try as in Environment--> Changes in sales Order.
    Or VKM2
    Hope this satisfies.
    regards,
    Ganesh Sabnis

  • Create/update date and time for any object

    Hi All,
    How to find that at what date and time at which perticular object is created or updated.
    Thanks,
    Nitesh

    Example below:
    [email protected]> alter session set nls_date_format='dd-mm-yyyy hh24:mi:ss'
    2 /
    Session altered.
    [email protected]> select owner, object_name, last_ddl_time
    2 from dba_objects
    3 where owner = 'MOB' and object_name = 'T';
    no rows selected
    [email protected]> create table t(id int);
    Table created.
    [email protected]> select owner, object_name, last_ddl_time
    2 from dba_objects
    3 where owner = 'MOB' and object_name = 'T';
    OWNER OBJECT_NAME
    LAST_DDL_TIME
    MOB T
    30-08-2006 14:15:58
    [email protected]> column object_name format a30
    [email protected]> /
    OWNER OBJECT_NAME LAST_DDL_TIME
    MOB T 30-08-2006 14:15:58
    [email protected]> alter table t add x int;
    Table altered.
    [email protected]> select owner, object_name, last_ddl_time
    2 from dba_objects
    3 where owner = 'MOB' and object_name = 'T';
    OWNER OBJECT_NAME LAST_DDL_TIME
    MOB T 30-08-2006 14:16:25
    Best Regards
    Krystian Zieja / mob

  • Not allowed to change date and time for some photos; why?

    I have some images that I scanned in of old photos.  I'm trying to change the date and time and location to reflect the time the original photo was taken.  I know how to do it in the menu system, but when I try to change the original data it tells me they are of a file type that won't allow this metadata to be changed.  They are simple JPEG's so I'm not sure what the problem is.  Do I need to convert it to some other format first to be able to do this?  Any ideas would be helpful...

    Hello Toran,
    are trying to change the date and time of the versions only, or are you trying to change the date and time of the masters too? If you are using
         Meta Data -> change date and time
    deselect "also change master file", this causes the problem, the new Aperture version seems not to allow to change the date and time of masters.
    There have been long discussions on this problem, see e.g. this thread; I do not know if somebody has found a solution by now,
    Regards, Léonie

  • FM or BAPI for  date and time for the creation of a Purchase Requisition

    Hi people:
    Does anybody knows about a FM, BAPI or table in which i have de detail for the date and hour of the creation of a Purchase requisition?
    Points for helpfull answers.
    Thanks in advanced

    Hi,
    If you want to get the time along with the creation date then use the tables CDHDR and CDPOS, but be careful while passing the data need to pass the entire primary fields data else it will fail in the performance test.
    Reward points if useful.
    Regards,
    Suman

  • Release date and time for Purchase order

    Hi Masters,
    Could you please let me know that in which table the release date ane time will get stored for purchase order.
    Regards,
    Panneer

    Hi,
    You can find out from CDHDR & CDPOS table.
    Select Date Time from CDHDR table & Join with CDPOS table where CDHDR-OBJECTCLAS = EINKBELEG and CDHDR-OBJECTID = PO number and CDPOS-TABNAME = 'EKKO' and CDPOS-FNAME = FRGZU and CDPOS-VALUE_NEW = 'X'.
    You will get the date time from CDHDR table.
    Regards,
    Udayasankar Rajagopalan

  • HT1212 Every time i try to turn on my Ipad the only i can see the the date and time for a second and them the screem goes off again !

    I have an Ipad 2 /. Everytime a push the bottom to turn it in the screem shows the time for a second and the screem goes black again
    what can I do ??

    Are you sure it's charged?
    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased.
    Frozen or unresponsive iPad
    Resolve these most common issues:
        •    Display remains black or blank
        •    Touch screen not responding
        •    Application unexpectedly closes or freezes
    http://www.apple.com/support/ipad/assistant/ipad/
    iPad Frozen, not responding, how to fix
    http://appletoolbox.com/2012/07/ipad-frozen-not-responding-how-to-fix/
    iPad Frozen? How to Force Quit an App, Reset or Restart Your iPad
    http://ipadacademy.com/2010/11/ipad-frozen-how-to-force-quit-an-app-reset-or-res tart-your-ipad
    Black or Blank Screen on iPad or iPhone
    http://appletoolbox.com/2012/10/black-or-blank-screen-on-ipad-or-iphone/
    What to Do When Your iPad Won't Turn On
    http://ipad.about.com/od/iPad_Troubleshooting/ss/What-To-Do-When-Your-Ipad-Wo-No t-Turn-On.htm
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
     Cheers, Tom

  • Date and Time issue oracle job

    i have wriited oracle job to execute my procedure and the job has to execute the procdedure at 11:30 pm every day.
    following are the parameters of the JOB.
    next_date => TRUNC(SYSDATE) + 23/24+ 0.5/24
    interval  => 'SYSDATE + 1'
    But it is not executing the procedure at 11.30 pm everydat. Waht coud be wrong in the schedule part. please help me in this.

    Hi,
    born2win wrote:
    i have wriited oracle job to execute my procedure and the job has to execute the procdedure at 11:30 pm every day.
    following are the parameters of the JOB.
    next_date => TRUNC(SYSDATE) + 23/24+ 0.5/24
    interval  => 'SYSDATE + 1'
    But it is not executing the procedure at 11.30 pm everydat. Waht coud be wrong in the schedule part. please help me in this.When you use SYSDATE in the interval parameter, it is the time when the job finishes , not the time when the job begins (which may not be the time you wanted the job to begin, if the database is down).
    If, regardless of when a job finishes, you want it to run again at 11:30 PM the next day, then use
    interval  => 'TRUNC (SYSDATE) + 1 + (23.5 / 24)'Unless you're using a very old version of Oracle, you should use dbms_scheduler instead of dbms_job. See
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28419/d_sched.htm#CIHHBGGI

  • Master data table name for background jobs...

    Hi Friends,
    can any body pl tell me the table name, where I can see all the background jobs which have been created till date.
    Thanks,
    Hardik

    hi,
    please check table TBTCP ,TBTCO
    Regards
    Suresh.

Maybe you are looking for

  • Windows Phone 8.1 Preview users still need to downgrade their OS in order to get Lumia Cyan

    Just an FYI for those of you who jumped on the Windows Phone Developer bandwagon and subscribed to the Windows Phone Developer Preview to get an early look at 8.1.  This is not such good news.  As is the case with all Microsoft Beta and Pre Release S

  • Calls disconnect on first try but works on second

    Some of my calls disconnects first time(receiver can't listen my voice) But the second call connects.and works fine I don't understand why ?any one help please Topic edited by Rickard

  • Initial Positioning of RowIterators

    I have a fairly large hierarchy of Master/detail view Objects like: ViewObject1 ->ViewObject2 --->ViewObject3 ----->etc... My swing/Jclient app starts with a search to find the correct row for ViewObject1 and that row gets set to the current Row. Now

  • Java technologies (JSP, Servlet, Reflection).

    Hello. I have questions about Java technologies. 3. what is it Stud&Skeleton and how are they created? 4. what is it Reflection? 5. what the relations between JSP and Java Servlets? 6. what is it Remote object and how is it created? Thanks in advance

  • MSS PCR Fields

    Hi , I would like to know from where below fields are coming to portal in MSS PCR. Applicant     Telephone      Department     I want to hide those fields.Can I do from configuration end? We are using ECC 5.0 Please suggest me to solve this issue Tha