Last Closed Fiscal Period
Hi All
How can I identify the Last Closed Fiscal Period in a query variable ?
eg. The current calendar month is Feb which is Fiscal period 11 (Variant is Z3). However Finance still have January open so they want to report YTD figures up to and including December (Fiscal periopd 9).
I have created a user exit variable (with help from SDN) that works out the YTD range for the fiscal periods but it uses system date to calculate current period. Therefore, the current fiscal period is coming out at 11 but I need 9. When the Month End occurs on Friday the current fiscal month should become 10.
All help appreciated.
Asif
Hi Surender
I need a variable that does not have any user interaction, and will determine the range of periods that constitute the current fiscal year. The range should start at 1 and end at the last closed fiscal period as maitained on R3.
I have decided to bite the bullet extract the table T100B from R3. It contains details on all open periods.
I am trying to load it as master data. Its the first tme I have done this type of work so taking some time.
I have created the extractor and a characteristic with attributes to hold this info. I then plan to read this data in the variable to work out the range.
If there is a simpler way to do this then please advise.
Regards
Asif
Similar Messages
-
Option to show values up to last closed fiscal period or up to current date
Hello,
How would I create a query that would ask if I want it to calculate values 'up to the current date' or for the 'latest closed fiscal period'.
Currently I have setup a report, within which, has restricted key figures that will give the 'Period to date', 'Year to Date', and 'Last Year Year to Date' values for some RKFs, however, it would be very helpful if this report could be setup so that the user could choose whether the report provides:
1. Values only through the last closed fiscal period
or
2. Values up to the current date.
<b>For example</b> if we are in period 7 of 2006, the user could have the report show all values up to the last closed fiscal period, which in this case would be period 6 of 2006.
Or the user could have the report show all the values up to the current date.
Hopefully I have been clear,
Thanks,
Nick
Message was edited by:
Nick BertzNick,
What is the problem you are facing? As San mentioned you can only report till Last Fiscal Period using Customer Exit Variables(Calculate Current Fiscal Period using Current Month and Fiscal Year Variant).
Or as you mentioned you can create restricted Key Figures using Date or month (YTD etc)
If i miss your requirement, please guide me.
Regards,
Nagesh Ganisetti.
*Assign Points if it helps. -
Change in Specify Transfer Date/Last Closed Fiscal Year in Asset Accounting
Hi,
While uploading the asset master data and values,I have given the Specify Transfer Date/Last Closed Fiscal Year date as 31-12-2008.But as per the fiscal year 4-4-5,2008 closed on 03-01-2009.
what are the consequences,If we change the Specify Transfer Date/Last Closed Fiscal Year date from 31-12-2008 to 03-01-2009 as the 2008 closed on 03-01-2009.
Kindly give me some inputs regarding this change.
Thanks
SupriyaHi
Please note
I you change the transfer date to current FY date , system will not allow u to upload data in PY.
See the below
Transfer Date
This date determines the status of posting to be used for the
transfer (posting up to this date will be included in the transfer), not
the actual date the data transfer is carried out. This specification
also determines whether you want to perform the transfer during the
fiscal year (with transfer of posted transactions/depreciation in the
current fiscal year) or at the end of the fiscal year (without
transactions).
If the transfer date is not the last day of the fiscal year (according
to the fiscal year variant in FI), the system interprets this as
transfer during the fiscal year. The system cannot transfer any
historical transactions. It can only transfer cumulative values from the
end of the last fiscal year, and the transactions in the current fiscal
year (the second is only possible for transfer during the fiscal year).
Example
transfer date = December 31, 1997
=> last closed fiscal year = 1997
Specify Last Period Posted in Prv.System (Transf.During FY)
You must specify the period up to which depreciation was posted in the previous
system. This period refers to the posted depreciation that is to be
transferred during old assets data takeover.
Thanks
GG -
How to extract numeric equivalent of closing fiscal period?
Hello gurus,
We have a requirement to calculate YTD returns by using the numeric equivalent of closing fiscal period for eg jan would be 1, feb would be 2 etc.
What's the easiest way to do this? Appreciate your help.
MalliThank you for the response Ashish.
The source infoobjects of Time dimension that we have are fiscal year/period (of the format 002.2005,003.2005 etc)and posting period (of the format 1,2,3,etc)Both of these require user inputs.
Our requirement is to get the numeric equivalent of the closing period that the user enters.
I am not sure how to do it with our info-objects.
Would appreciate your help. -
What FM to use to check on closing fiscal period?
Hi Guys,
Any function module to use to check on the fiscal period is closed or not?
Thanks.Hi,
Check:
https://forums.sdn.sap.com/click.jspa?searchID=1165790&messageID=2923726
CHECK_PERIOD_POSTINGS
FI_PERIOD_CHECK
Regards
Subramanian
Message was edited by:
Subramanian PL -
Without run depreciation they have closed fiscal years
Hi all
In my development system without Depreciation Run they have closed fical years.
They did not run depreciation from 2003 and 02 period.
present fiscal year is 2007.
How can go back and how can i run depreciation from 2003. Please tell me clearly.
It is very urgent.
Thanks in advance.
KrishnaHi,
as far i know,
you cannot close fiscal year without running depreciation until period 12.
you said that your present fiscal year is 2007? is it FI Fiscal Year or Asset Fiscal Year?
If 2007 is FI fiscal year and your Asset fiscal year is 2003 then you want to run the depreciation for 2003, You must open FI fiscal year for 2003 until 2007. Use t-code : OB52 to open FI fiscal year.
You can check the last closed fiscal year for ASSET in t-code : OAAQ.
Hope it can help. -
Hi,
Could someone advice me on this situation?
I have created new company code by copying old company code. I have setup the configuration for GL, AP, AR, CO and AA. Then I have tested the standard transaction including asset depreciation run in QA system.
Client gave me the error when they are trying to test asset transfer (AS91). The error belong to last closed fiscal year.
My question are:
1. Can I change take over date to early year as 2005? Actually closed year is 2007 (copying from old company code)
2. Is there any effect to depreciation of asset?
Please advise and point will be reward for helpful answer.
Thanks and Best Regards,
BirdIdeally asset takeover date must be in the last closed fiscal year. If you give a date in 2005 as Takeover Date system expectes depreciation postings in 2006 and 2007.
-
Closing and opening in new fiscal period
Hi
I am going to close last fiscal period and open new period . What should I do step by step for closing inventory and BP and Accounting and Open them in new Period. does system has any facility to do these step automatically.
Thanks in advancePEC is a tool to use for you to close any periods. What it does is mainly creating certain retained earning entries. There is no way to do anything automatically for you. You may need to define new fiscal periods first before you do Period-End Close.
Thanks,
Gordon -
Asset Report to check periods in Closed Fiscal Year
Hi Gurus,
Would want to check what other standard SAP t-codes that could be used to check the periods for the closed Fiscal year in asset reporting? i.e. FY 2008 closed, would need to check asset balances, NBV, etc for period 7, system prompts an error and could only execute for period 12.
Appreciate feedback
Many thanks
eddie limHi
If you are using the report S_ALR_87011963, following is the limitation for it.
You cannot run a report for any day you choose within a period. The
following restrictions apply to the report date:
o If the report date is in the past, or in the current fiscal year:
You can use the end of a fiscal year or the end of any period as the
report date. If the fiscal year is already closed, you can only use
the end of the fiscal year as the date.
o If the report date is in a future fiscal year:
The system always uses the last day of the fiscal year as the report
date.
o If the report date is the first day of a fiscal year:
To ensure that the values for the beginning of the fiscal year are
same as those for the end of the previous fiscal year, the
system runs reports with the report date 1/1/YYYY for the date
12/31/YYYY-1 (the same applies for a non-calendar fiscal year).
If you want to run report for forcating depreciation and NBV, use TCOD - S_ALR_87012026
Thanks
GG -
Transfer on last day allowed only in closed fiscal year
Hi Guru,
Client kept asset transfer date as 31/10/2010 first, uploaded some asset on this date, due to some reason asset uploading was not completed for all the asset. so all the asset value which was uploaded on 31/10/2010 was done as zero.
Client took decision to upload all the asset on last day of FY 10-11 i.e 31-03-2011. transfer date was changed as 31-03.2011 and moved up to quality, unfortunatly rquest was not moved to PRD and while uploading to PRD again 25 asset got uploade by transfer date as 31/10/2010, when realized transport req of change transfer date is moved to PRD and abt 50000 asset of total 70000 asset got uploaded.F.Y 2010 was closed while uploading this assets
Year 2010 was again open for posting of cj88 transaction.
When we are uploading balance assets in the system getting error message Transfer on last day allowed only in closed fiscal year
When tried to close FY 2010, system is giving message ' Depreciation not posted completly' for 25 assets.
i tried to do value as zero for these asset through as92 but system agiain giving message Transfer on last day allowed only in closed fiscal year
so situation is we are not able to close FY 2010 and thus assets are not getting uploaded. if we run depreciation for said 25 assets for year 2010 it is not proper because actual transfer date is 31.03.2011
Please Help
Regards,
Shekharhi,
go to customizing and under asset data transfer - parameters for data transfer - date specifications - specify transfer date/last closed FY--- you need to place the last day of the period where you have last run depreciation for the legacy system and make sure that I am assuming at this stage will be the previous period or this period.
rgds,
jay -
0FISCPER3 - Default to last closed period in Report Variable
Hi all,
We have a requirement in our reports to default the Posting Period to last closed period.
In the InfoCube we have 0CALMONTH (In Period) and also 0FISCPER3 (Posting Period). The values for Posting Period varies from 1 to 16.
What is the functionality behind Posting Period ?
How can we find the last closed period as months are 12 and Posting period are 16 ?
Kindly clarify.
Thanks!Hello,
The fiscal year variant contains the number of posting periods in the fiscal year and the number of special periods.
You can define a maximum of 16 posting periods for each fiscal year in the Controlling component (CO).
The fiscal year variant specifies the number of periods and special periods in a fiscal year and how the SAP System is to determine the assigned posting periods.
You have 12 periods in SAP and also four special periods. These periods are stored in what is called the fiscal year variant (K1, K2, K3 and K4)
You can use the function module DATE_TO_PERIOD_CONVERT to get the period by passing the date.
Also see
[Determining Posting Periods|http://help.sap.com/saphelp_nw04/helpdata/en/c6/f0c33b8e2811d4b3090050dadefebd/frameset.htm]
special periods
Thanks
Chandran -
Creating backdated invoices after last date of fiscal period
Hello experts
In our business, it is a rule to keep the billing period open for two days even after the last day of the fiscal period. For example,
P10 ends on 29/10/2011, but that period is not closed until 31/10/2011(P11 date) so that the users can create all the invoices for that month. Please note that period 11 is not opened till 1/11/2011 (after closing p10).
Now,order related invoices are created thru an interface program. The user only sends in the "service date" which is mapped to the fixed value date field in SAP and we have defaulted the system date as the billing date to enable posting. The problem arises for the invoices created on the two days mentioned above as the invoices will not post into accounting if the billing date is 30/10 and 31/10 as P11 is not open yet.
How do i make sure that invoices created on the two month end days post into accounting with a billing date of 29/10 (a P10 date)? I can use the FM- FI_PERIOD_CHECK to check if the billing date is in the open period, but how do i populate the billing date field as an open period date automatically without manually changing it for all the invoices that have not posted?
The service date sent in has to be mapped to the fixed value date field because of aging purposes.
Would appreciate your valuable help here.
ThanksHi,
Function module FI_PERIOD_CHECK can be included in the program to check if the fiscal period is open or not.
Discuss with the ABAPER and include logic that in case the fiscal period is not open the default date should not be system date. Instead another date which is calculated using the FM - CALCULATE_DATE.
In the FM- CALCULATE_DATE give the logic how the date should be calculated.
Discuss with ABAPER for this.
Regards,
Sharan -
Need to create report query to get latest open and last closed period for given application
Hi All,
I need to create a report query to get below result displayed in report output.
1) - Application name
2) - Ledger name
-o/ -Operating Unit
3) - Last Closed Period
4) - Current Open Period
5) - Date Closed – Last Closed Period
6) - Date Open – Current Open Period
I tr I tried to create the query below is the same. Please let me know if it looks fine.
SELECT *
FROM (SELECT fav.application_name ,
hou.name Operating_Unit_Name,
gl.name Ledger_name,
gl.latest_opened_period_name,
gps.period_name Period_Name,
DECODE(gps.closing_status, 'O', 'Open', 'C', 'Closed') status,
gps.last_update_date Last_status_modified_date
FROM gl_period_statuses gps,
gl_sets_of_books gsob,
fnd_application_vl fav,
hr_operating_units hou,
gl_ledgers gl
WHERE gps.period_name = gps.period_name
AND gps.closing_status ='C'
AND fav.application_short_name =
NVL('&p_application_short_name', fav.application_short_name)
AND gps.application_id = fav.application_id
AND gsob.set_of_books_id = gps.set_of_books_id
AND hou.set_of_books_id = gps.set_of_books_id
AND gl.ledger_id = gsob.set_of_books_id
AND hou.organization_id=NVL('&p_operating_unit',hou.organization_id)
AND gl.ledger_id=NVL('&p_ledger_id',gl.ledger_id)
ORDER BY gps.last_update_date desc )WHERE ROWNUM = 1
UNION ALL
SELECT *
FROM (SELECT fav.application_name Application_Name,
hou.name Operating_Unit_Name,
gl.name Ledger_name,
gl.latest_opened_period_name,
gps.period_name Period_Name,
DECODE(gps.closing_status, 'O', 'Open', 'C', 'Closed') status,
gps.last_update_date Last_status_modified_date
FROM gl_period_statuses gps,
gl_sets_of_books gsob,
fnd_application_vl fav,
hr_operating_units hou,
gl_ledgers gl
WHERE gps.period_name = gps.period_name
AND gps.closing_status = 'O'
AND fav.application_short_name =
NVL('&p_application_short_name', fav.application_short_name)
AND gps.application_id = fav.application_id
AND gsob.set_of_books_id = gps.set_of_books_id
AND hou.set_of_books_id = gps.set_of_books_id
AND gl.ledger_id = gsob.set_of_books_id
AND hou.organization_id=NVL('&p_operating_unit',hou.organization_id)
AND gl.ledger_id=NVL('&p_ledger_id',gl.ledger_id)
ORDER BY gps.last_update_date desc)
WHERE ROWNUM = 1It is within the table I believe (I'm not a DBA or a developer) since I created a BLOB column and then used the file browse feature to allow users to attach a resume to the table in order to be able to perform a search of the attached documents.
I'm just having a hard time pointing the link in the search results report to the document in the blob column.
The information on that page is great if you're trying to create a link to the document on the initial report.
But I created a query using Oracle Text to run a report that does a boolean search of the attached word documents in the table.
When it displays the search results, it doesn't create a link to the document and I can't figure out how to do it.
Here's a link the the instructions I used to create the initial search report with Oracle Text, mind you I only created the index and query, I didn't add in all the link data since they're using documents on websites and I'm using documents in a table.
http://www.oracle.com/technology/products/database/application_express/pdf/apex_text_application_v1.6.pdf
If you can help me with this I'd really appreciate it.
Thanks again.
Greg
Edited by: gjones77 on Dec 2, 2008 8:14 AM -
How to get the last day according to fiscal period input in selection scree
Hello expert
how to get the last day of fiscal period input.
the fiscal period inculdes 1-16
when fiscal period is greater than 12, only calculate the last day of 12nd month
your solution will be apprecaited, FM existing?
thank you
KevinHi,
when you give a particular date in any month
the following fm will give you the last date of that month
here you can give
R_FDATE-HIGH as 01 and month as the period you wnat and year for current year
concatenates '01' month year into r_fdate-high separated by '.'.
then it will give g_ltdt for that month and year which wil be the last date of that month
CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS'
EXPORTING
DAY_IN = R_FDATE-HIGH
IMPORTING
LAST_DAY_OF_MONTH = G_LTDT
EXCEPTIONS
DAY_IN_NO_DATE = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
thanks & regards,
Venkatesh -
How to get the last day of the current open fiscal period?
hi folks,
I have to display the last date of the current open fiscal period in the selection screen. Its just a display only.
if there is any function module vailable for getting that period, kindly suggest me?
thanks in advance,
cheers,
Adi.hi,
CALL FUNCTION '/BEV3/CHPERIOD_DETERMINE'
EXPORTING
date = sy-datum
version = c_version
IMPORTING
period = l_period
year = l_fiscal_year
EXCEPTIONS
period_in_not_valid = 1
period_not_assigned = 2
version_undefined = 3
OTHERS = 4.
If not use GM_GET_FISCAL_YEAR
CALL FUNCTION 'GET_CURRENT_YEAR'
EXPORTING
BUKRS = '1000' " Company Code
DATE = SY-DATUM " Date to find fiscal year for
IMPORTING
CURRM = w_currm " Current Fiscal Month
CURRY = w_curry " Current Fiscal Year
PREVM = w_prevm " Previous Fiscal Month
PREVY = w_prevy. " Previous Fiscal Year
Rgds
Anver
Maybe you are looking for
-
Moving pictures from Ovi to standard folders
This probably sounds stupid, but now I have used Ovi Suite to copy my photos from my N95 onto my computer, I cannot seem to do anything with them. They must be on my computer, as they still show in Ovi Suite when my phone is not plugged in. But I c
-
Ipod found on computer, but Itunes wont recognize it
When i connect my ipod to my computer, it pops-up a window telling me that i have connected an ipod & then shows what is on the ipod. well about an hour ago from when i started typing this post, i connected my ipod ( worked JUST fine till i connected
-
In the midst of recovering from a hard drive failure, the one thing I can't figure out is where the documents for my iWeb site (backups on my iDisk: web.sites.iweb.site) should be placed on my hard drive in order to be accessed by iWeb when I launch
-
NOTE: The (kodo) trial license installed for creating new Kodo 4.0/4.1 project is expired (4/4/07). Please try the following steps to update the license file. https://dev2devclub.bea.com/downloads/jarlib/kodo/4.0/license.bea https://dev2devclub.bea.c
-
Music downloaded to iPhoen won't sync to iTunes on my PC
I purchased an album from the itunes store on my iphone. Why won't this album and its songs sync to my PC when I sync? All settings seem fine, I've set my iTunes on my PC to 'sync entire library'. -Frankie