Fm - how many weeks in a year
is there any FM for
how many weeks in a year and
how to find the whether the year is leap year or not? and
how many weeks are in the month ?
i want the FM
Hi Priya,
There is a function module 'TIME_GET_LAST_WEEK'.
In this FM, export the Year & you will get(Import) a value in a parameter
EF_WEEK. This will be the Concatenated String of Year&Number_of_weeks in that year
For Example If you run this FM for the Year 2004, the Parameter EF_WEEK will
be '200453'. That means last two digits gives the number of weeks in that year.
From this value you can easily get number of weeks (i.e,EF_WEEK+4(2)).
If this value is 53, then it is a leap year, else not a leap year
Regards,
Sreenivas Reddy Maddi
Similar Messages
-
How to find how many sundays in a year
Hi friends...
how to find the how many sundays in a year?
can u give me the query?Sybrand's approach can still be made to work. His formula actually calculates the number of weeks between the first and last Sunday of the year, so he needs to add one to get the number of Sundays (or calculate the number of weeks between to the first sunday of the following year). It also needs a tweak to deal with cases when the year starts or ends on a Sunday because next_day will return the following Sunday.
with t as (
select add_months(trunc(sysdate,'YEAR'),12*(level-20)) as yr from dual connect by level <= 40
select extract(YEAR from yr) as yr,
(next_day(add_months(yr, 12)-1,'SUN')
next_day(yr-1, 'SUN'))/7 as sundays
from t
order by yr
YR SUNDAYS
1991 52
1992 52
1993 52
1994 52
1995 53
1996 52
1997 52
1998 52
1999 52
2000 53
2001 52
2002 52
2003 52
2004 52
2005 52
2006 53
2007 52
2008 52
2009 52
2010 52
2011 52
2012 53
2013 52
2014 52
2015 52
2016 52
2017 53
2018 52
2019 52
2020 52
2021 52
2022 52
2023 53
2024 52
2025 52
2026 52
2027 52
2028 53
2029 52
2030 52Regards,
Bob -
I am an MBA student , doing a research project on e-learning authoring tools, would like to find out no. of licences sold/active to date for adobe captivate. how many get sold every year. any pointers/help is appreciated. cheers.
I doubt you'll get an answer in a user forum, sorry. This forum is meant for users to help other users when they have problems that have to be solved. You should contact Adobe itself.
-
How to check the query, which had run how many times in a year?
<Moderator Message: ok, subject is better now but you didn't search at all. Therefore thread is locked again>
Hi All,
I want to check the Query statistics like it had run how many times in a year?
Regards,
Kiran
Edited by: Siegfried Szameitat on Dec 9, 2008 11:55 AMHi Kiran,
please follow the below steps
1. Create a query for that purpose
2. Make use of BW Statistic InfoProvider 0BWTC_C02
3. in Col: Key Figure:0TCTNAVCTR
4. in Row: 0TCTQUERY (select a variable 0TCTQUYS)
5. in Filter: BW System( 0TCTSYSID) [give yr source system name whether its production/quality)
6. in Free char you can give calmonth/year or user if want to do so.
save and execute the query
you will be asked for input the query name
As output you will be getting count (as many times query is hit by all users since the time it was created)
if you give date and user name then it will display the count accordingly.
Hope it Clarifies you.
Thanks & Regards
Nagaraju.V -
To find that one user has done how many Transaction during the year
Guru,
Could u suggest which table to check to find transaction done during the year by a user.
I have to develop report with some changes now o/p is needed as one user in whole year how many TC done and list those.
regards,
VibhutiHi
goto CDHDR and enter username and dates and
it will list all the transcation for the year
Regards
Shiva -
Find HOW MANY Saturdays IN A YEAR
Dear Experts,
I have to display the number of SATURSDAYS in a YEAR .
How I can do it ?
Thanks in advance.
Moderator message: date calculation questions = FAQ, please search before posting.
locked by: Thomas Zloch on Sep 8, 2010 12:00 PMHi,
Just try the below given code by giving year as input.
PARAMETERS:p_year(4) type n.
data: date type d,
ndate type d,
rem type i,
count type i.
date+0(4) = p_year.
date+4(2) = 01.
date+6(2) = 01.
rem = p_year mod 4.
if rem eq 0.
ndate = date + 366.
else.
ndate = date + 365.
endif.
clear rem.
while date+0(4) eq p_year.
move date to rem.
rem = rem - 1.
rem = rem mod 7.
if rem eq 6.
count = count + 1.
ENDIF.
date = date + 1.
ENDWHILE.
write:/ 'N.o of saturdays are ',count.
It is helpful. -
is there any FM for
how many weeks in a year and
how to find the whether the year is leap year or not? and
how many weeks are in the month ?
i want the FMHi there. You can use function module hr_99s_interval_between_dates. Just pass a begin date and an end date, and then you can get the number of days, weeks, months, or years between the two dates. So you can pass the begin date and end date of a month to get the number of weeks in the month, or the begin date and end date of a year to get the number of days and weeks in the year. If the number of days is 366 then it is a leap year. I hope this helps.
- April King
Message was edited by:
April King -
How many years can I expect to get out of a MBP?
Hi All,
I'm considering an Apple laptop. Being a graphics professional, I think I want to go with the MPB so I can run the Adobe CS4 Suite (et. al.) while away from my desk.
How many years of useful life should I expect to get (or plan to get) from a laptop? Barring any hardware failures or accidents, can I expect it to reasonably run CS4(+), OS10.5(+), font manager, etc., and connect to the internet etc. for say, 4-5 years? What's reasonable for a laptop's useful life?
Would I want to purchase the fastest processor(s) and biggest HD in the MBP? I'm thinking the 15-inch 2.66Ghz, 250G 7200rpm HD. Heck, my G5 only has 150G on its HD, and the dual 2Ghz non-Intel chip. Purchased in '04, it seems to still have quite a bit of life to it.
Thanks in advance for your advice--D
Or, should I consider something less powerful that can augment my desktop? I just want to be able to get away from the office every once in a while and still get some work done.{quote}
Leopard requires at least a PowerPC G4 processor at 867MHz or faster, meaning G4 towers released prior to 2001 (and select models into 2002) don't meet the spec.
{quote}
Ah, I see. Yep, got it in early 2000.
{quote}
One question there, though - your G4 desktop was upgradeable, but did you upgrade yours? Add anything to those expansion bays? Put in a larger HDD? If you answer no to those questions, consider the fact that you may not ever upgrade a desktop you purchase in the future.
{quote}
Excellent point. I never upgraded the chip or anything, and eventually decided not to update/add to any of the memory (HD or RAM) because I felt I'd get better bang for my buck with a newer/faster machine altogether. I recently resurrected it to hook it up to our new TV to see if we could watch downloaded movies on it, which is what generated that whole conversation about it only being able to handle Tiger, as it's got 10.2 and needs to be updated to interface adequately with the Big Bad Internet World.
My G5 has become sluggish lately, and although I added another 2G of RAM it doesn't seem to affect it much. Back on topic, I wonder if I get the laptop will I grow tired of it or will it grow too slow in less time than the current desktop...
As eww so rightly points out in his reply, I guess I have to decide if I want the latest-greatest on my laptop, or can I live with using versions that the computer can handle. And, do I shell it out for the fastest/baddest, or will I get the same longevity (or lack) with the middle of the road machine.
For my professional software, my strategy has been to upgrade every other time, unless there's some new feature that will make my life absolutely heavenly. It seems like Adobe is slinging out the new versions faster than my budget can handle. Last summer I finally updated to the latest from Office v.X. And the only reason I did that is because my clients have been sending me text files in the latest Win versions of Office (docx and pptx) that I couldn't open. (And it's not good customer service to ask them to save them as txt files and resend.)
Typical scenario:
On my G5 I'm still using Tiger because I'm too cheap to buy the upgrade. (Every time I upgrade my OS I lose something--printer drivers, favorite features in my browser, font manager compatibility, whatever, there's always something I else need to upgrade besides the OS, always.)
Although I'm running Adobe CS3, I have the CS4 suite. CS4 will run on 10.4.11, but the font manager's auto-activation doohickey (which I would have to buy) for CS4's apps only works with OS10.5. So things potentially could get expensive. The only reason I have CS4 is because I bought CS3 a week before CS4 came out. The font manager (Suitcase) is really a lifesaver, and therefore it's pretty necessary. STOP the madness! LOL! (There's another font manager out there that is pretty good and cheaper, so that may be an option.)
Okay, I'm babbling now. I appreciate your wise words to guide my thinking. Time to get nose to grindstone so I can afford that nifty laptop!
Thanks--d -
How many years we can store the data in ODS as well as psa data ?
Hi guru's
how many years we can store the data in ODS? can u give particular years ?
how many days we can store the data in psa ? could u tell me step by step procedure ?
Thanks
Reddy prabhaHi Prabhakarreddy,
As many days as you like:
In the PSA you can keep data as long as you like but you will need more and more disk-space. So its advisable to clean up from time to time.
Example:
PSA's from full loads Clean up in a weeks time,
PSA's from Deltas: Clean up after you are sure data is correct. (e.g. a month or 90 days)
Remember that you cannot do a reconstruction from dataloads of which you have deleted the PSA. If some thing is wrong you will have to do an Init again!
In ODS's you must keep data in order to keep your delta loads to cubes in order. Removing data will force you to do a new initial load.
Sometime companies delete old data form ODS's that is older than a certain period (e.g. more than 3 years old) by running a selective deletion. You will have to do an init again. But loads and activation may run faster and of course you gain on disk space.
Udo -
My wife and I have made many purchases over several years on seperate accounts, how could we join them into one account, without losing everything? We both use Iphone 5's and share an Imac at home.
Purchases using one Apple ID cannot be merged or transferred to another Apple ID. Purchases are forever tied to that Apple ID used. You have to decide which Apple you want to use for purchases and stick to that Apple ID so that you can share: Settings > iTunes & App Stores > Apple ID : > use the same Apple ID here to share purchases.
-
How many years can an Ipod Touch last?
Hello,
I have a year old 16g 2nd Gen Touch. Was wondering how many years
an Ipod Touch will last for. I realize you only get a certain amount of
charge cycles but was hoping that my Touch would last for a few years or more.
I realize that due to the nature of this device I will not be getting the same
number of years that my Nintendo DS has (still working fine after being
almost 5 years old). I also charge my Ipod Touch daily due to the fact that I use
the wifi and play games. I make sure to turn off the wifi when not using wifi but usually do not get much battery usage on a charge due to using it just for those
2 things. I did not get the extended warranty. Any feedback would be greatly appreciated. ThanksLike already mentioned, there really isn't a definitive answer to your question. I also have several iPod models (2 2nd gen nanos, 1 1st gen nano, 1 shuffle, 1 30 GB Classic, and a 3rd gen iPod Touch). Since the Touch is only 1 day old I can't say how it will hold up, but all of my iPods are still working, although the 1st gen nano has horrible battery life at this point. All of them are at least 2 years old. Until earlier this year I also had a iPod Mini that was still working and it has been years since they made that model. There are too many factors to consider when it comes to trying to predict the life span of your iPod.
-
LF way to see how many steps I walked on a certain day last week. Not minute by minute, just recall the day's steps. All I get is a graph and then all data when I tap a particular day, which is far too detailed and useless.
here is a link to macosxhints.com that tells you how to output all of your feed URLs to a terminal window. from there you can cut and paste them into your new feed reader of choice...
http://www.macosxhints.com/article.php?story=20080319094830396
and if you are in the marked for a new reader may i suggest David Watanabe's excellent NewsFire. he had just recently made it totally free as a gift to the macintosh community.
best of luck. -
I received LR 5 for Christmas but have not downloaded it yet on my computer. I have had LR 3 for about 4 years. I am due to buy a new computer soon but need to know how many licenses/downloads I will get before downloading LR 5 on my current computer. I may also purchase a laptop in the next year so that would require 3 licenses altogether (current iMac, future iMac, future macbook).
You have one license.
You can download and install it on an infinite number of computers, as long as it is only installed on two of your computers at any one time, and in use on only one computer at any given time.
So in your case, current iMac, that's would mean its installed on one computer, no problem. Future iMac and future MacBook ... so if you uninstall from current iMac and install on Future iMac and future MacBook, it's now installed on two computers at a time, no problem, as long as you're not using Lightroom on both simultaneously. And if after that, you got two new computers and uninstalled Lightroom from the previous two, you're still good, it's only installed on two computers at any one time. -
How to display the week of the year in a report
Hi,
I am doing a report, that needs to break down the information, according to month and then week.
The week of the year isn't stored anywhere in the database, so i guess it would have to be calculated.
How would i go about doing this in report?hi, yes thats what i mean.
So if i run my report for 01-feb-2008 to 30-march-2008
it needs to group the data according to weeks.
eg. week5 (data)
week6 (data)
etc....
i got this code: select to_char(sysdate, 'IW') from dual;
will it allow me to do this? -
IOS: How many updates per year allowed?
Hey Folks,
Is there a hard limit to how many app updates that Apple allows in the course of a year?
Any first-hand perspectives would be greatly apprectiated.
Thanks much,
PxI don't think there's a limit to the number of times you can update your app, Apple should allow every update as long as it's an improvement like new features or bug fixes etc
Maybe you are looking for
-
I'm having windows 7 trouble and joining an OD/domain Server is running mac osx 10.5.8 i followed the KB which solves the joining domain issue http://support.apple.com/kb/HT3742 and i still cant connect to the domain... error message says cant find i
-
Dng from lightroom to photoshop are different
Hello, I've got a problem when I export my Raw file (convert in lightroom as dng) as smart object in photoshop, it render differently and I really don't know why... I export from lightroom as Tiff ProPhoto 16bits without compression as smart object.
-
New Purchased Albums not showing up in Library
I just bought 2 new Albums from the Itunes store and they wont show up in my Library. If I search for them they are on my computer and will play but only through searching for the songs. Anything I can do to fix this? Thanks Cliff
-
How to go back from 10.4.5 - 10.4.2?
Upgrading to 10.4.5 broke a scientific application I rely on. How can one go back to an earlier version of OS X? That's not something I've ever tried to do. I have a full backup, but not that far back.
-
ORA-00904: "OCT": invalid identifier
Hi All, i using execulte immediate to create a table as below SQL_STR := 'create table test_archive as select * from test_one where date_key between' TO_DATE(20121001,'YYYYMMDD')||' and '||TO_DATE(20121002,'YYYYMMDD'); execute immediate SQL_STR; i am