Find the day in rule (Time Evaluation)
Hi All,
How to get the day of current day in a rule (Time Evaluation)? The result should represents Mon, Tue, Wed,...
Thanks.
Edited by: a_irawan on Sep 3, 2009 7:44 AM
Hi,
VARSTWEDAY Relative weekday
same youcan check in TD03
Reagrds
Sri
Similar Messages
-
Find the 'DAY' for a given 'DATE'
Hi Folks,
I need a help regarding finding the day for a given date.
My requirement is that..,
If I enter a date using 'parameters', it should write the 'day' for the corresponding date.
To be more specific.....,
if I enter date as ' 07/15/2008 ' it should return me the day as 'Tuesday'.
Regards,
Naveen GHI,
FM LIST WITH RESPECT TO DAY, WEEK, AND MONTH.
CALCULATE_DATE : Calculates the future date based on the input .
DATE_TO_DAY : Returns the Day for the entered date.
DATE_COMPUTE_DAY : Returns weekday for a date
DATE_GET_WEEK : Returns week for a date
RP_CALC_DATE_IN_INTERVAL : Add days / months to a date
MONTHS_BETWEEN_TWO_DATES : To get the number of months between the two dates.
END_OF_MONTH_DETERMINE_2 : Determines the End of a Month.
HR_HK_DIFF_BT_2_DATES : Find the difference between two dates in years, months and days.
FIMA_DAYS_AND_MONTHS_AND_YEARS : Find the difference between two dates in years, months and days.
MONTH_NAMES_GET : Get the names of the month
WEEK_GET_FIRST_DAY : Get the first day of the week
HRGPBS_HESA_DATE_FORMAT : Format the date in dd/mm/yyyy format
SD_CALC_DURATION_FROM_DATETIME : Find the difference between two date/time and report the difference in hours
L_MC_TIME_DIFFERENCE : Find the time difference between two date/time
HR_99S_INTERVAL_BETWEEN_DATES : Difference between two dates in days, weeks, months
LAST_DAY_OF_MONTHS : Returns the last day of the month
DATE_CHECK_PLAUSIBILITY :Check for the invalid date.
Reward points if useful,
siri -
Reject the personal numbers from time evaluation
Hi SAP pulies.....
My client have requirement like
"Reject the personal numbers from time evaluation whose overtime is greater than his extra hours"
they are uploading overtime data to Overtime IT through a BDC. there is chance for uploadimg more overtime of an employes than his actual ie overtime grater than extra hours...
pls suggest how i can meet this requirementHi,
I would suggest that you ask the ABAPer to build a logic in the program to check this. I am not sure if this is possible but it would be better than checking in the PCR.
Are you using IT 2001 to record time? if yes then I think you can have the total hours worked from this.
I m sure the planned hours can be accessed through WSR for that day.
You can subtract the hours and get what you call EXTRA HOURS and then compare it with the OT hours.
And the BDC can only upload the approved and valid hours and reject and list the incorrect ones.
cheers
AJ -
How do I find the key for my time capsule router
How do I find the key for my time capsule router
Hello, see if these are of any help...
http://www.iclarified.com/entry/index.php?enid=4547
http://manuals.info.apple.com/en/TimeCapsule_SetupGuide.pdf
If it's the Pre-Shared Key you're looking for, open Airport Utility, under the menu item Base Station, look for Equivalent Network Password. -
X6 = "1/5/15 5:16 AM" & NOW ....................difference by Only Time
not date
X6 date and Time will be changing, Its not Constant
Dim myDateTime As DateTime = X6
Dim myDate As String = myDateTime.ToString("dd/MM/yy")
Dim myTime As String = myDateTime.ToString("hh:mm tt")
Dim myDateTime1 As DateTime = Now
Dim myDate1 As String = myDateTime1.ToString("dd/MM/yy")
Dim myTime1 As String = myDateTime1.ToString("hh:mm tt")
Need to use this function to find the Difference between Two Time. due to 12:00 AM isuue
Function XLMod(a, b)
' This replicates the Excel MOD function
XLMod = a - b * Int(a / b)
End Function
Output Required
dim dd = XLMod(myTime - myTime1)
Problem is myTime & myTime1 is String Need to convert them into Time, Later use XLMOD Funtion.Induhar,
As an addendum to this, I thought I'd add this in also: If you have two valid DateTime objects you might consider using a class which I put together a few years ago
shown on a page of my website here.
To use it, just instantiate with two DateTime objects (order doesn't matter, it'll figure it out) and you'll then have access to the public properties. For this example, I'm just showing the .ToString method:
Option Strict On
Option Explicit On
Option Infer Off
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, _
ByVal e As System.EventArgs) _
Handles MyBase.Load
Dim date1 As DateTime = Now
Dim date2 As DateTime = #1/1/1970 2:35:00 PM#
Dim howOld As New Age(date1, date2)
MessageBox.Show(howOld.ToString, "Age")
Stop
End Sub
End Class
I hope that helps, if not now then maybe at some point in the future. :)
Still lost in code, just at a little higher level.
Thanx frank, can use this in Future.... -
Function Module to find the Difference between two times.
Hi All,
Wud you plz let me know the Function Module to find the Difference between two times.
Input Time1( Hours:Minutes) Time2 ( Hours:Minutes)
Need Output in Hours:Minutes only . ( No seconds Needed )
Ex :
Input :
06:00 to 18:00 Output : 12:00
and 20:00 to 06:00 Output: 10:00 with +ve sign only. No -ve sign.
Thanks,
N.L.Narayanacheck this .
data : p_timel like sy-uzeit,
p_timeh like sy-uzeit,
diff like sy-uzeit,
di(8) type c .
p_timel = '200000'.
p_timeh = '060000'.
diff = p_timeh - p_timel.
concatenate diff+0(2) ':' diff+2(2) into di.
write:/ di.
also check for this.
p_timel = '060000'.
p_timeh = '180000'.
see if this can be implemented in ur code .
or else u can try with Fm L_TO_TIME_DIFF passing startdate enddate starttime endtime with UOM as MIN
hope this helps regards,
vijay -
Function Module to find the Diff bt Two Times : O/p : Hours:Minutes only
Hi All,
Wud you plz let me know the Function Module to find the Difference between two times.
Input Time1( Hours:Minutes:Seconds) Time2 ( Hours:Minutes:Seconds)
Need Output in Hours:Minutes only . ( No seconds Needed )
Thanks,
N.L.NarayanaHi
Please use FM
<b>SD_DATETIME_DIFFERENCE</b> -
To find the latest date and time
HI all,
I have a Ztable which contains execution date and exe time.
1) I need to find the latest date and time How can we do this?
2) In my program,I need to insert some values to date,time and status field in Ztable. How can I insert it directly into the table?
for eg ZTAB-DATE = 010122006
ZTAB-TIME = 12.20.20
just INSERT ZTAB is enough or NOT????????????
POINTS WILL BE REWARDED
THANKS IN ADVANCE1) You can do a number of things, one you can get all of the relevant records and sort the internal table by date and time in decending order, then simply read the first record of the internal table.
2) It depends on the key of the table. Say for example, you have a table like so.
MANDT
KEYFIELD
DATE
TIME
If the key alreays exists, you can use the modify statement to update the record, if it dosn't exists, you need to use the INSERT statement to insert the records.
data: xtab type ztable.
xtab-keyfield = 'ABC'.
xtab-date = '20070207'. " or sy-datum
xtab-time = '221600'. " or sy-uzeit.
insert ztable from xtab.
Make sure to use internal fomat for DATE and TIME.
Regards,
Rich Heilman -
Function Module to find the day
Hi,
I have a date S_DATE with me.
I need to find the day of that date.
I hope there is a function module for this.
Please reply me if you know the name of the Function Module to find the date.
Thanks in advance.Hi Rajesh,
Thanks for the reply. Your answer solved my problem. -
How to find the last update date time and user of record field peoplecode
how to find the last update date time record field peoplecode?
Thank you.One can check the last update date time using the following query
SELECT LASTUPDDTTM FROM PSPCMPROG WHERE OBJECTVALUE1 LIKE 'RECNAME' AND OBJECTVALUE2 LIKE 'FIELDNAME' -
Where do I find the Library in a Time Machine backup after Lion installation?
Where do I find the Library in a Time Machine backp after Lion installation?
You can access the backups of another computer by holding down the option key and selecting "Browse other Time Machine disks" from the Time Machine menu in the menu bar. As for getting to the Library folder, you would have to use something like the free application "Tinker Tool" (not "Tinker Tool System") to make hidden files visible in the Finder, then enter Time Machine.
-
My Mac can't find the volume " Data" on Time Capsule, Also I can't find with the disk-utility program the hard disk in the Time Capusule.
So I can't format the disk in the Time Capsule
Deconnevt and then connecting the power tp the Time Capsule gives also no solution.
What can I do?
JoeI listed the commands.. that is how you manually mount the disk.. follow exactly the commands I gave you.
In finder use top menu, go, connect to server.
Type in the following.
AFP://TCname or AFP://TCIpaddress (obviously you replace with the actual name or the actual IP address).
If that fails..
try
SMB://TCname
Here is the screenshot.
tardis4 being the name of my TC.
It should then ask you for your credentials.
And it should remember them in the keychain and be able to then get TM to connect. -
How to find the day of the week ?
Hi,
I want to find the day of the current date. Can you please let me know as to how to get the same ?
My code is like :
java.util.Date date = new java.util.Date();
// Here i need to use a method to retrive the day of this date
Your early input is appreciated.
RegardsUse a java.util.GregorianCalendar:
GregorianCalendar calendar = new GregorianCalendar();
System.out.println("DAY_OF_WEEK: " + calendar.get(Calendar.DAY_OF_WEEK)); -
How to find the difference between 2 time values in Java
hi all,
i have 2 time values
String time1="6:20";
String time2="21:30"
How to find the difference between 2 times in Java?
pls help
thanx in advance....Calculating Java dates: Take the time to learn how to create and use dates
Working in Java time: Learn the basics of calculating elapsed time in Java
Formatting a Date Using a Custom Format
Parsing a Date Using a Custom Format -
Is it possible to find the day of buying the ipad by the serialnumber
My son has a Ipad3 and it making bad sounds sometimes. So is it possible to find the day of buying by the serialnumber
The serial number will tell you when the iPad was manufactured, but not the day you bought it.
Look on your receipt or credit/bank card statment for that.
Maybe you are looking for
-
Why is this? and is there something i need to change so that i can?
-
There are many discussion topics here about people having problems with certain tracks that refuse to download from the iTunes Store. On a desktop machine, the track will download almost completely, then restart 3 times before giving up saying that
-
How to transfer adobe audition to a new laptop?
Hi, In 2005 I purchased a genuine license of Adobe Audition 1.5 and installed it on a laptop. I would like to 1) update to version 3 2) move it to a new laptop (that I'm going to buy). I got all the ref. no., card, date, time of my purchase but I did
-
Where does iphoto place photos when imported
I have been importing photos of a recent trip and need to move them off the hard drive to save space. Where does iPhoto put them and can I access them from an external drive within iPhoto? thanks Shelley
-
Get user statistic by abap user group?
Hi, I need to get number of users visited portal by abap user group? Is it possible to do so using portal activity reports? Activity report has only option for user separating by abap rols. great thanks for all. Edited by: Evgeny Borzykh on Aug 21, 2