Function to get starting date of financial year ??
Hi,
what is the Function to get starting date of financial year. I am developing a inventory report, for that i need; start of the factory opening date. Is that factory n financial year are in the same date.
Thanks,
Senthil
SEE THIS FMS.
TSTR_PERIODS_FACTORYCALENDAR
FACTORY_CALENDAR_GET
RH_READ_CALENDAR
Similar Messages
-
How to get start date of fiscal year?
hi all,
how to get the start date of fiscal year by passing fiscal year variant and fiscal year?
please let me know.hi,
See this FM
FIRST_AND_LAST_DAY_IN_YEAR_GET " Provides the first and last calendar date for a fiscal year
Regards -
Function module to get the dates from the year and the period
Is there a function Module to get the dates from the year and the period
Check with :
To get last day of period use .
LAST_DAY_IN_PERIOD_GET.
To get last of month Use :
RE_LAST_DAY_OF_MONTH
HRVE_LAST_DAY_OF_MONTH
LAST_DAY_OF_MONTHS
ISB_PREVIOUS_PERIOD_DATE_GET
Thanks
Seshu -
Is there any function to get baseline date
Dear all,
Is there any function to get baseline date according to the payment terms?
Thank you in advance.have a lokk here:
determine due date
A. -
Best practice to have or to start a new financial year
Can any one please suggest a best practice to have or to start a new financial year (FY2009-2010) in SAP B1 2007 B for a trading company started on FY2008-2009 for India?
hi,
Check this links
New Fiscal Year
how to shift to new financial year
Requirement for next fiscal year
Jeyakanthan -
How to post depreciation start date in next year?
I have a problem in fix asset period control.
We want to post the depreciation start date in the next two month after GR. I set the period control rule as:
Fiscal Year Variant: K4, period control: Z1 (next 2 month), month: 12, day: 31, period: 13
But no matter I set the period as 12, 13, 14, the depreciation start date always be 2012/1/1 (if the GR date is in December)
How can I make the depreciation start date in the next year?Hi,
Please try with period control 08 - At the end of the year (=Start date of following year).
Regards
SM -
Dear Sir,
Kindly guide us about the various steps which need to be performed to start a new financial year .
We assure to give full points for the suggested solution pl .
Regards
Sonia AgarwalHello Sonia,
Fiscal year tells how many posting periods and how many special periods you need and how the system is to determine the posting periods when posting. When you define your fiscal year you should keep in mind whether it is
- Calendar Year
- Calendar year but is not year dependent
- Non Calendar year but is year dependent
Configuration: There are standard variants like K4, V3 etc you can copy and change the description and save it.
1. Spro>FA>****>Fiscal year>Maintain fiscal year dependent (TC:OB29)
2. Assign Co code to Fiscal year variant (TC:OB37)
Thanks
Para -
How to get starting date and ending date of the given Fiscal Period
Hi Friends,
In my Selection screen parameter, I've Fiscal year and Period , I want to get the starting date and ending date with the Fiscal period.
How to get and throught which FM.
Pls advise.
thanks®ards
Sankar.Hello Sankar,
Check the FM PERIOD_DAY_DETERMINE.
DATA :
l_periv TYPE periv,
l_blart TYPE blart,
l_fday TYPE bkpf-budat, "First day in period
l_lday TYPE bkpf-budat. "Last day in period
* Fetch the fiscal year variant from T001
SELECT SINGLE periv INTO TABLE l_periv
FROM t001
WHERE bukrs EQ p_bukrs.
* Get first day/last day
CALL FUNCTION 'PERIOD_DAY_DETERMINE'
EXPORTING
i_gjahr = p_gjahr
i_monat = p_monat
i_periv = l_periv
IMPORTING
e_fday = l_fday
e_lday = l_lday
EXCEPTIONS
error_period = 1
error_period_version = 2
firstday_not_defined = 3
period_not_defined = 4
year_invalid = 5
OTHERS = 6.
Hope this helps.
BR,
Suhas
Edited by: Suhas Saha on Jan 9, 2009 2:08 PM -
Date function to pull back dates of the year?
is there a built in function for returning all dates (whatever format) between to dates ?
Example:
Select functionname('2009/06/01', 'yyyy/mm/dd), ('2009/06/05', 'yyyy/mm/dd')
from dual
Wanted results
2009/06/02
2009/06/03
2009/06/04Hi,
user11210446 wrote:
Here is what I'm trying to do,
There is a start date and an end date. I have US holidays for current year in a table so for example christmas 12/25/2009
I want to show dates between the start date and end date, and if there is a holiday on that date it will not show.
make sense
so if a user puts 12/23/2009 for start and 12/29/2009
it would show
12/24/2009
12/26/2009
12/27/2009
12/28/2009Yes, that's very clear.
I would actually do that with a NOT IN sub-query
SELECT TO_DATE ('&start_date', 'MM/DD/YYYY') + LEVEL - 1
FROM dual
WHERE TO_DATE ('&start_date', 'MM/DD/YYYY') + LEVEL - 1 NOT IN
SELECT appropriate_column
FROM holiday
CONNECT BY LEVEL <= 1 + (TO_DATE ('&end_date', 'MM/DD/YYYY') - TO_DATE ('&start_date', 'MM/DD/YYYY'));where &start_date and &end_date are substitution variables in MM/DD/YYYY format. You could use bind variables just as well.
This assumes the DATEs in holdiay are all midnight. If not, use TRUNC (appropriate_column).
Edited by: Frank Kulash on Jun 4, 2009 12:59 PM
There's nothing like clicking that "Save" button to give you better ideas!
MINUS is a little simpler than NOT IN:
SELECT TO_DATE ('&start_date', 'MM/DD/YYYY') + LEVEL - 1
FROM dual
CONNECT BY LEVEL <= 1 + (TO_DATE ('&end_date', 'MM/DD/YYYY') - TO_DATE ('&start_date', 'MM/DD/YYYY'));
MINUS
SELECT appropriate_column -- or TRUNC (appropriate_column)
FROM holiday
ORDER BY 1; -
Function to get last friday of each year?
Dear all,
I have a technical problem, how can I know the last friday of each year. What function I need to use in order to get this value for each year?
Please advice.
Best Regards,
AmyAnd to prove michaels' point, here it is for several years:
SQL> with years as
2 ( select add_months(date '1990-01-01',12*level) jan_1
3 from dual
4 connect by level <= 17
5 )
6 select jan_1
7 , next_day(jan_1-8,'VRIJDAG') last_friday_previous_year
8 from years
9 /
JAN_1 LAST_FRIDAY_PREVIOU
01-01-1991 00:00:00 28-12-1990 00:00:00
01-01-1992 00:00:00 27-12-1991 00:00:00
01-01-1993 00:00:00 25-12-1992 00:00:00
01-01-1994 00:00:00 31-12-1993 00:00:00
01-01-1995 00:00:00 30-12-1994 00:00:00
01-01-1996 00:00:00 29-12-1995 00:00:00
01-01-1997 00:00:00 27-12-1996 00:00:00
01-01-1998 00:00:00 26-12-1997 00:00:00
01-01-1999 00:00:00 25-12-1998 00:00:00
01-01-2000 00:00:00 31-12-1999 00:00:00
01-01-2001 00:00:00 29-12-2000 00:00:00
01-01-2002 00:00:00 28-12-2001 00:00:00
01-01-2003 00:00:00 27-12-2002 00:00:00
01-01-2004 00:00:00 26-12-2003 00:00:00
01-01-2005 00:00:00 31-12-2004 00:00:00
01-01-2006 00:00:00 30-12-2005 00:00:00
01-01-2007 00:00:00 29-12-2006 00:00:00
17 rijen zijn geselecteerd.Regards,
Rob. -
Endeca 3.0 - Getting Started Data
I am new Endeca user and have just finishing downlloading the Endeca Information Discovery 3.0.
I was going through the Getting started videos on Youtube and realized I do not have the getting started as a community Application. Can anyone please let me know how I can obtain that data so that I can learn with the tutorial??
Thanks & Regards,
NamanYou download the materials for the sample application from the same eDelivery page where you downloaded the installation files for Studio.
In the list of downloads for Studio, there is an item labeled Oracle Endeca Information Discovery Sample Application (3.0). This is a .zip file containing the Integrator pipeline (for ingesting the sample application data) and Studio .lar file (for importing the sample application pages).
See Downloading the Getting Started package in the 3.0 Getting Started Guide. -
Sql query to get Thursday (Date) for the year 2014
Hello All,
I want to get the date for all the Thursdays in the year 2014. How can I achieve this using SQL query? Can anybody give me a hand with this? Thanks.
AmolHi,
Check if this can help you
DECLARE @counter INT
DECLARE @Date Date
SELECT @counter = 0
Select @Date = '20131226'
WHILE @counter <= 52
BEGIN
select Thursday = convert(varchar(10),DATEADD(WEEK,1, @Date),120)
SELECT @counter = @counter + 1
Select @Date = DATEADD(WEEK,1, @Date)
END
Regards
Prasad Tandel
Please dont forget to mark as answer if this helps you :) -
URGENT - BI Publisher - Get Last Date of Month/Year
Hello,
I want to get the last date of a year/month through BI Publisher. We want to do it by creating a list of values containing the month/year name (i.e. January, February, March for month or 2004 2005 2006 for year) and when the user selects one of this values to get the last date of the month or year in order to select the correct number of records.Hi,
try with a LOV like the following:
select
to_char(add_months(trunc(sysdate,'MONTH'),-level),'Month - YYYY') display_value,
last_day(add_months(trunc(sysdate,'MONTH'),-level)) return_value
from dual
connect by level <=12
which gives you the last 12 month from today.
Regards
Rainer -
Function Module to get Last date of previous year
Is there any function module to get the Last date of the previous year. e.g, if i give date as 03/02/2009 the output should be 31/12/2008.
pls use below 2 FM's
CALL FUNCTION 'MONTH_PLUS_DETERMINE'
EXPORTING
months = -1
olddate = curent_date
IMPORTING
newdate = w_prevdate.
CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS'
EXPORTING
day_in = w_prevdate
IMPORTING
last_day_of_month = w_lastdayprevmonth
EXCEPTIONS
day_in_no_date = 1
OTHERS = 2. -
Function module to get posting date from posting year and posting period
Hi all,
I need a function module which will return posting date when posting period and fiscal year is passed to it..
Thanks and regards,
Puja.Hi puja
try this FM
this will solve ur problem
G_POSTING_DATE_OF_PERIOD_GET
G_POSTING_DATE_OF_YEAR_GET
FCJ_CHECK_POSTING_DATE
Cheers
Snehi Chouhan
Maybe you are looking for
-
Help! I'd like to run Classic/OS9
Hi, what's the easiest way to get OS9/Classic to run on my ibook? My G3 ibook is running OSX 10.4.6 but has no OS 9 installed, and my biege G3 desktop is running OS 9.2.2. The problem is, I don't have any install disks as both machines are secondhand
-
Can I share Power Query's queries to Public ?
Can I share Power Query's queries to Public ? I want to share my queries on my friends. Now, I share my queries by sharing Excel files by OneDrive. My friends copy and paste queries from my Excel files. It hard to search and update rather than Power
-
I need help to find out something!!!
I just bought a 25$ itunes card and now i cant use it because i forgot the answers to my security questions and i cant retreive them either!!!! Is there any way i can use my card or switch it to a new account i want to make??
-
Why is an Active Dual sim iPhone not possible?
Why is an Active Dual sim iPhone not possible?
-
Hi hussein/helios I was interviewed by a BPO global support company for an appsdba position. They ask me: Q1 Supposing a company/client is complaining that their Oracle Apps 11i on Linux is running slow or that they encounter performance problem. And