Calculate FISC Year
Hi Friends,
I have 0FISCYEAR getting calculated from 0FISCPER (last 4 digits) in the update rules, and the Mapping for 0FISCPER in update rules is "Overwrite" with source field "0FISCPER" itself, means its not getting data from R3, then how is this 0FISCPER getting populated?
Please advice,
you have to check the mapping in the transfer rules not in the update rules.
obviously in the update rules as you said it will be the same.
so check in maping in tp rules.
Thanks,
vsn.
Similar Messages
-
How to Calculate Leap Year ago in OBIEE 11g
Hi Gurus,
I have one fact table and having one measure column. I have to calculate current year and Last year.
Using Time series function (Todate,Ago) have calculated current year as well last year also.
The problem is Current year is showing correct value only but Last year was showing wrong data.
We found the problem is Leap year, last year FEB month is having 29 dates. Due to this we are getting wrong date.
Kindly suggest me how to achieve this requirement.
ThanksHi Gurus,
How to resolve Leap Year calculation in OBIEE 11g.
The problems is Year Ago column.
Please suggest me how to resolve this.
Thanks -
ABAP-HR MODULE(HOW TO CALCULATE AGE & YEARS OF SERVICE)
HI,
HOW TO CALCULATE AGE & YEARS OF SERVICE means for example
I AM USING PNPCE LDB.
(1) whose age is greater than 52.833 years with 7.833 years of service, with annual rate of pay $170,000 or more, or
(2) age plus employment service is 65 or more, with annual rate of pay of $ 170,000 or more.
Note that the $ 170,000 parameter would be a variable that could change annually when this report would be generated. In the past, age and service value were determined as of the run date. The determination date would also be a variable that would change when the report would be generated.
Thanks&Regards
Rahul.Hi Rahul,
This is the 2nd warning !!! Please... use the correct or most appropriate forum.
The ABAP Objects Forum should be used for: ABAP Object definition and implementation including encapsulation, interfaces and inheritance in ABAP Objects.
This thread will be moved from to .
You're asking this question in two thread, so the duplicated thread will be deleted.
Please have a look at [Forum Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] before posting.
Also read this thread Welcome and Rules of Engagement.
Greetings,
Marcelo Ramos -
Currency translation is running for only one fisc year??
Hi
We are performing CT on our forcasting periods which are 18 months . Our fisc year is from Nov to oct.
our forcasting months are from 2010.NOV to 2012.FEB.
When i run the currency translatoin using DM or default logic for first time execution . It only performs for one year that is it runs for only 2010.NOV and 2010.DEC. if i executs it runs for next fiscal year..
So when FXTRANS is ran the CT runs for one year at once. could ssome tell me why this is happening.
can some one provide me how to proceed doing CT for multiple years at a time.
Regards
AKHi All,
I dont know whether your prob is solved or Not.
If not , we also faced the same problem and with this Code Change i.e Adding For & next we got the code working for for multiple Years.
This is our Code :
*XDIM_MEMBERSET FP_TIME AS %GROUP1% = %FP_TIME_SET%
*FOR %TIME% = %GROUP1%
*SELECT(%RPTCURRENCYVARIANT%, "ID" , "FP_RPTCURRENCY", "[CURRENCY_TYPE]='R'")
*RUN_PROGRAM CURR_CONVERSION
CATEGORY = %FP_CATEGORY_SET%
TID_RA = %TIME%
CURRENCY = %RPTCURRENCYVARIANT%
RATEENTITY = GLOBAL
OTHER = [FP_BUSUNIT=%FP_BUSUNIT_SET%]
*ENDRUN_PROGRAM
*NEXT
HOPE THIS HELPS.
Chaithanya -
hi
i have calday variable. instead of calday at variable screen , i need 1st day of fisc year at variable screen?
FIRST_AND_LAST_DAY_IN_YEAR_GET .
i need create variable for calday with customer ecit and need to use above FM
please let me know what are things i need to pass?hi
what is fm to pass system date and varient to get fisc year?
this is 2nd code get first day of fisc year
use one FM to pass sy-datum, Fisc variant to get fiscal year
use your FM (FIRST_AND_LAST_DAY_IN_YEAR_GET) to get 1sat day of fisc year
what are chnages required for my code
WHEN 'ZDATE'.
IF i_step = 1.
DATA: ZDT1 TYPE SY-DATUM,
ZFDT TYPE SY-DATUM,
ZLDT TYPE SY-DATUM,
ZFYRN(4) TYPE N.
ZDT1 = SY-DATUM.
ZFYRN = ZDT1+0(4).
CALL FUNCTION 'FIRST_AND_LAST_DAY_IN_YEAR_GET'
EXPORTING
I_GJAHR = ZFYRN
I_PERIV = 'V3'
IMPORTING
E_FIRST_DAY = ZFDT
E_LAST_DAY = ZLDT
EXCEPTIONS
INPUT_FALSE = 1
T009_NOTFOUND = 2
T009B_NOTFOUND = 3
OTHERS = 4
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
l_s_range-low = ZFDT
l_s_range-high = ZLDT
l_s_range-sign = 'I'.
l_s_range-opt = 'BT'.
APPEND l_s_range TO e_t_range.
ENDIF. -
FA-retirement-Asset value date and posting date are not in same fisc year
Hello,
I would like to post retirement in the new fiscal year but with asset value date in the previous year so that NBV is calculated correctly. It is not possible neither in ABAON nor in ABAVN with any transaction type.
I always get message 'Asset value date and posting date are not in same fiscal year'.
Is there any way how to handle this?
Thank you,
JanHi,
I have tried this but the settings of our Depr keys works in the way. That if you use asset value date in the new month it will calculate depreciation for the whole month.
This means if I retire with asset value date 31.12.2008 - NBV will be calculated as at 31.12.2008.
If I retire with asset value date 1.1.2008 - NBV will be calculated as at 31.1.2009.
Thank you anyway! -
How to calculate Last year in BEx Report
Hi Experts
I have a requirement to create report in BEx --> report output will be Amount, Diff in percentage(Plan-Actual),Last year
My question how we calculate the Last year and actual minus plan difference in percentageHi,
Make use of % functions in query designer to get the desired result.Please search on forum lot of examples will be there.
Hope it helps.
Regards,
AL
Edited by: AL1112 on Mar 7, 2011 4:56 PM -
How to calculate financial year
Hi,
How to calculate financial yearfrom 01.04.2008 to 31.03.2009.
regards
naniHi,
use the below FM's
GM_GET_FISCAL_YEAR
GET_CURRENT_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
but this will help you for a particular company code ACE_CHECK_FISCAL_YEAR
Thanks -
Fisca year 2011 ( Apr' 11 to Mar 12)-11 th period has 28 days instead of 29
Hi Gurus,
Need guidance pls.
my Indian client follows year dependent fiscal year. For Fiscal year 2011, the period are started from April 2011 and ends with March 2012.....
While implementation( Go live was on 01.04.2010 ) , 28 days were assigned for February. But, for fiscal year 2011, February has 29 days.
Now i need to change the days as 29 for 11th period - February 2012. HOW TO CHANGE THE DATES AS 29 FOR FEBRUARY.
tks / AparnaHi Devi,
Try to avoid multiple questions for same query.
Since you already posted same issue in your earlier post and marked as Closed but not Answered as i have already suggested the solution to resolve your issue.
[Click Here|Re: F Year variant *V3* not defined or maintained for the date 23 / 01 / 20] to view your earlier thread
Hope you wont need to wait for any more solutions for the same query.
Regards,
Srinu -
How to calculate Prior Year To Date in SSRS
Hi,
I've been developing reports in Crystal for a while. The new ERP software we have just purchased uses SSRS for all of their reports. I just started converting the crystal reports to SSRS. I can't seem to find an easy way to do a calculation for Prior Year
to Date or Prior Year Month to Date in SSRS. Can somebody help me?
Thanks,
CindyYour best bet would be to use a calendar table in the TSQL queries. I wrote an article on them here: http://social.technet.microsoft.com/wiki/contents/articles/29260.tsql-calendar-functions-and-tables.aspx
Alternatively you can use a formula like:
=DateValue(DATEADD(DateInterval.Day,1-DATEPART(DateInterval.DayOfYear,NOW()),Now()))
Don't forget to mark helpful posts, and answers. It helps others to find relevant posts to the same question. -
System calculates the year forecast in one colume.
hi
i have query of planning book. i wanna see the total year forecast in the end of the colum that is how much i forecasted, under this table we have some months which tells like jan, feb, march,..till one year.below i have given example how the client want to see the his total forecast into one colume/field.(u03A3 Fiscal 2011). actually we are not maintaing any key figure for this one or we are not maintining any auxallary kf. the clinet want to see the total one year forecast in one colume. it should be updated automatically.
M 07.10 M 08.10 M 09.10 M 10.10 M 11.10 M 12.10 u03A3 Fiscal 2010
250 300 350 400 450 500 2250
like above example the system needs to display the total forecast in the kf of it and the total budge display of its kf. how i can map.Hi ,
You need to first create appropriate fiscal variant . A detailed SDN forum thread is available as below:
What is the significance of columns while creating Fiscal Year Variant?
Then you need to use this FY variant appropriately in the planning bucket profile.
In the data view then, you need to configure the visisble from field appropriately so that you willl see complete finance year's periods.
If you have aleready configured Ro totals, then you will see the FY totals,
Practically, if say, we are in middle of fianance year, then next FY planning also we need to do . This we can do in another data view, with appropriate planning buckets profile.
I hope this will help.
Please check and confirm.
Regards
Datta -
DAX - Querying: How to reinforce a filter in order to calculate a year to date
Dear community,
I am pulling my hair off due to an issue I am having with the creation of a DAX query (supposed to feed an SSRS report).
The topic is P&L related, I need to compute the revenue based on specific cost elements, that same query must return additional columns that represent YTD, Forecast,... etc ( a couple of typical aggregations).
First of all here is the query I currently simplified to explain my issue:
EVALUATE
CALCULATETABLE(
SUMMARIZE(
GENERATE(
VALUES(AccountingPeriod[RealAccountingPeriod]),
FactFInancialTransaction
AccountingPeriod[Code],
CostElement[Code],
CostElement[Group],
"Revenue", [Revenue],
"GroupRevenue",
CALCULATE(
[Revenue],
all(CostElement[Code])
FILTER(
VALUES(CostElement[Code]),
CostElement[Code] = "RSFOR" ||
CostElement[Code] = "RSTHI" ||
CostElement[Code] = "RSOTH"
FILTER(
VALUES(CostElement[Group]),
CostElement[Group] = "RGOVE"
FILTER(
ALL(AccountingPeriod),
AccountingPeriod[Code] = 201402
FILTER(
VALUES(OperationalUnit[OperationalUnitNumber]),
VALUES(OperationalUnit[OperationalUnitNumber]) = "052"
The Revenue is simply a SUM of an amount column in FactFinancialTransactions.
What I am unable to do is compute GroupRevenue where I simply would like to sum the revenues for the elements. Does anybody have an idea on the calculate statement that will help me achieve this?
I tried doing something like:
CALCULATE(
[Revenue], all(FactFinancialTransactions),
all(CostElement[Code]), Values(CostElement[Group]), Values(AccountingPeriod[code]) Values(OperationalUnit[OperationalUnitNumber]) )
This does not work at all, it looks like the VALUES(OperationalUnit[OperationalUnitNumber]) context is not reinforced, the value I get in return is actually the one summing ALL operational units.
PS: I have to keep the filter on OperationalUnit as is because it will actually be a pathcontains statement that can pass multiple values
Thanks so much for any help
Mils.I am not entirely sure about your requirements and your data model.
However, I would start using ADDCOLUMNS instead of SUMMARIZE to add columns to the group you need.
EVALUATE
CALCULATETABLE (
ADDCOLUMNS (
SUMMARIZE (
GENERATE (
VALUES ( AccountingPeriod[RealAccountingPeriod] ),
FactFInancialTransaction
AccountingPeriod[Code],
CostElement[Code],
CostElement[Group]
"Revenue", [Revenue],
"GroupRevenue", CALCULATE ( [Revenue], ALL ( CostElement[Code] ) )
FILTER (
VALUES ( CostElement[Code] ),
CostElement[Code] = "RSFOR"
|| CostElement[Code] = "RSTHI"
|| CostElement[Code] = "RSOTH"
FILTER (
VALUES ( CostElement[Group] ),
CostElement[Group] = "RGOVE"
FILTER (
ALL ( AccountingPeriod ),
AccountingPeriod[Code] = 201402
FILTER (
VALUES ( OperationalUnit[OperationalUnitNumber] ),
VALUES ( OperationalUnit[OperationalUnitNumber] ) = "052"
Marco Russo (Blog,
Twitter,
LinkedIn) - sqlbi.com:
Articles, Videos,
Tools, Consultancy,
Training
Format with DAX Formatter and design with
DAX Patterns. Learn
Power Pivot and SSAS Tabular. -
Need help to calculate fiscal year related ...
DECLARE @now date = '2015-05-01';
DECLARE @this_year_start_date date = CAST(CONVERT(CHAR(5), @now, 120) + '10-01' AS date)
DECLARE @ytd_start_date date = @this_year_start_date
-- CASE WHEN @now = @this_year_start_date THEN @this_year_start_date ELSE DATEADD(YEAR, -1, @this_year_start_date) END
DECLARE @ytd_end_date date = @now;
DECLARE @sply_start_date date = DATEADD(YEAR, -1, @ytd_start_date);
DECLARE @sply_end_date date = DATEADD(YEAR, -1, @ytd_end_date);
select @now,@this_year_start_date,@ytd_start_date,@ytd_end_date,@sply_start_date,@sply_end_date
DECLARE @now date = sysdatetime();
DECLARE @this_year_start_date date = CAST(CONVERT(CHAR(5), @now, 120) + '10-01' AS date)
DECLARE @ytd_start_date date = @this_year_start_date
-- CASE WHEN @now = @this_year_start_date THEN @this_year_start_date ELSE DATEADD(YEAR, -1, @this_year_start_date) END
DECLARE @ytd_end_date date = @now;
DECLARE @sply_start_date date = DATEADD(YEAR, -1, @ytd_start_date);
DECLARE @sply_end_date date = DATEADD(YEAR, -1, @ytd_end_date);
select @now,@this_year_start_date,@ytd_start_date,@ytd_end_date,@sply_start_date,@sply_end_date
Second one work perfect because fiscal year starts from 10/1 I am expecting current date, this year fiscal strat date correctly when @now =2015-05-1 fiscal start date also should be 2014/10/1 but not working getting 2015-10-1 which
is not coming yet....Same question,
https://social.technet.microsoft.com/Forums/en-US/15619255-194b-4d54-9aaa-e43a602ee728/datetime-variable-to-make-dynamic-with-fiscal-start-date?forum=transactsql
Satheesh
My Blog |
How to ask questions in technical forum -
Offset values for fisc year /period
Hi
normally period values will be 16, and 4 is additional
how can u use offset values if i need to use last 12 fiscyear/period?
offset values are not workingHi,
Here you need to define all your offset value's logic in the code itself, so that there is no need to provide your offset values to the variable.
Hope this helps..
Rgs,
Ravikanth.I -
Function Module to find difference of Fiscal Year period
Hi,
I have a requirement wherein a user enters 2 variables for Start and End Fiscal year period and I need to calculate the difference ( ie: I need to calculate the number of periods ).
I also need to pass the Fisc Year variant 'K4' as the Input parameter.
Any standard function module for it?
Rgds
ShyamDATA: I_FYV1 LIKE T009-PERIV.
CALL FUNCTION 'CCODE_GET_FISCAL_YEAR_VARIANT'
EXPORTING
COMPANY_CODE = i_billno-bukrs
COMPANY_CODE = S_BUKRS-LOW
IMPORTING
FISCAL_YEAR_VARIANT = I_FYV1
EXCEPTIONS
COMPANY_CODE_NOT_FOUND = 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.
CALL FUNCTION 'ME_DETERMINE_GJAHR'
EXPORTING
I_BSTYP =
I_BEDAT = P_DATE
I_PERIV = I_FYV1
IMPORTING
E_H_MONAT =
E_H_GJAHR = GJAHR1
E_H_DATUM =
Maybe you are looking for
-
Problems with Item level access rights
I am having problems with a page group I created. I have applied item level security to an item on a page, managed by me and viewable by one access group. I then created multiple users and signed in as one user who was not in the access group to see
-
80 gig, plays video and has the org 3 games on it bought the game went to games tab, nothing there, in my Library it shows ipod Games, I click on it and it shows its there.......... Message was edited by: raventhi
-
How do you change the resolution of Illustrator CC?
I don't mean the resolution of the images but the resolution of the application itself. I just launched Illustrator CC on this laptop for the first time and it defaulted to a resolution much smaller than the default resolution for my laptop. Please l
-
Why is my bill "credit" for autopay being ADDED to my bill?
I signed up for Autopay (prepaid) and was offered a $5 per month credit. Well, the $5 is being added to my bill to the point where I am now being overcharged $25 since I just noticed it. Sounds like someone forgot a MINUS sign for a CREDIT. I am shak
-
Issue with XDCam log and transfer update
I'm trying to install Sony's XDCAM EX Log and Transfer Plug-in, and only can get as far as the "Destination Select" tab, where I'm informed that it "can't be installed on this disk. Final Cut Pro 6.0.3 or higher is recommended for this software." I j