First day of the year

Question:
HI,
plz can any body tell me by which function module we can get the first and last day of the year.
thanks
Answer:
Usually it is january 1st and december 31st. This also works for leap years.
Answer:
You can use function module PERIOD_DAY_DETERMINE.
Answer:
Is that the fiscal year or the standard year that you were referring to ?
Dr Sidewalk
_________________
"In the middle of difficulty lies opportunity" - Albert Einstein
"Money isn't everything in life, unless you don't have it". David King
"Fail to plan, plan to fail"
"Success is a journey, not a destination."
Answer:
If it's a fiscal year, use the function module FIRST_AND_LAST_DAY_IN_YEAR_GET.
Manoj
Answer:
Obviously fiscal year because there is no need to determine the first day of standard year which is always Jan 1
Answer:
If you were asked what day it was would you reply 1, no, you would probably reply that was Monday or one of the days of the week.
So, as you can see you questions was open ended and NOT precise, hence my question.
Your question could very easily have meant what was the first and last and last day of the year, and, in this case it's Wednesday and Wednesday for the year 2003. In some industries this information is very important.
If you're thinking of using FM 'FIRST_AND_LAST_DAY_IN_YEAR_GET' then ensure that you use the correct PERIV value as held in table t009.
Dr Sidewalk
_________________
"In the middle of difficulty lies opportunity" - Albert Einstein
"Money isn't everything in life, unless you don't have it". David King
"Fail to plan, plan to fail"
"Success is a journey, not a destination."
Answer:
Maybe he means the first business day of the year, i.e. no Saturdays, Sundays, or bank holidays.
Answer:
precisely....
_________________
"In the middle of difficulty lies opportunity" - Albert Einstein
"Money isn't everything in life, unless you don't have it". David King
"Fail to plan, plan to fail"
"Success is a journey, not a destination."
Answer:
So, if Jan 1 were on a Saturday, the result would be Jan 3.
Answer:
Maybe he/she's an offshore programmer and really does need help figuring out waht the first and last date of a calendar year is
Answer:
That one wasn't mine!
Answer:
So, if Jan 1 were on a Saturday, the result would be Jan 3.
No, but in this case your first working business date could be Jan 3rd. But that depends on your holiday/business calendar, and is very unlikely as most businesses work across weekends.
But, what would happen if the whole business was closed for Jan 1st as company holiday.
Anyway, that's getting away from the point, which is, you wanted to know the fisrt and last day of the fiscal year, to which the FM 'FIRST_AND_LAST_DAY_IN_YEAR_GET' should supply the answer.
My point is that you must think carefully about how you ask the question. You may know what you want but your question should not be open to interpretation. Especially as half the people reading this forum have english as their second language.
_________________
"In the middle of difficulty lies opportunity" - Albert Einstein
"Money isn't everything in life, unless you don't have it". David King
"Fail to plan, plan to fail"
"Success is a journey, not a destination."
Answer:
He's ba-ack!
/forums/viewtopic.php?t=37837

More Articles:

FI Documents posting?
ABAP Memory ?
Drop down in ALV input field?
Business Add in (BADI) method parameters paramters.?
Developing Application Log?
Change of text elements in standard SAP program?