Year To Date Results Issues
Hi,
I have loaded T558B, T558C and V_T5U8C tables with YTD results and ran the schema ULK9 without any issues but when I run the next payroll I'm seeing some issues with /403 - EE Social Security Tax and /405 - EE Medicare Tax.
If the YTD load results are /401 - 4000.00, /403 - 1000.00 and /405 - 350.00 and when the next payroll is run my tax results are /401 - 300.00 , /403 - 100.00 and /405 - 30.00 .
Now with the current payroll being run my YTD amounts are looking like this /401 - 4300.00 WHICH IS CORRECT
/403 is -900.00 instead of 1100.00 AND /405 is -320.00 instead of 380.00.
Has someone seen issues like these before? I'm not sure what I'm doing wrong here. Any inputs on this issue will be appreciated.
Thanks,
Hemanth.
Hello all,
This issue has been resolved and identified that for YTD results in addition to /4xx wage types, /3xx, /6xx and /7xx should also be loaded.
My issue was that /403 and /405 were negative values and turns out that this was because of the limits SAP/BSI is trying to return the over payed taxes by the employee.
According to Social Security Tax limits (visit http://ssa.gov/pubs/10003.html) Employees are supposed to pay Social Security Taxes on earnings up to $106,800 and the limit is 4.2% of $106,800 as of 2011 and Employers limits are 6.2% out of $106,800.
Similarly there will be limits on Unemployment taxes payed by your employer which will be different for every company based on Company's unemployment experience rate.
These limits should be loaded in the tables V_T5U8C in wage type /7xx.
For example:
EE's with Limit Not Reached
/303 = 45,875.85
/403 = 1,926.79
/603 = 45,875.85
/703 = 45,875.85
EE's with Limit Reached
/303 = 120,000.00
/403 = 4,485.6
/603 = 120,000.00
/703 = 106,800.00
I hope this helps someone out there as this level detail was not given in SAP IMG.
Thanks,
Hemanth.
Edited by: Hemanth Jamithi on Aug 29, 2011 6:39 PM
Similar Messages
-
I'm trying to calculate year to date sales value. If I have more than one packet size my values do not match expected results. Is there a way I can have all data in single packet in start routine or end routine. I don't want to make cahnge to setting in DTP. My initial package should pick all values.
For example:
Comp Month Sales
A 1 1
A 2 2
A 3 3
A 4 4
A 5 5
A 6 6
A 7 7
A 8 8
My expected result should be:
A 1 1
A 2 1 + 2 = 3
A 3 3 + 3 = 6
A 4 6 + 4 = 10
A 5 10 + 5 = 15
A 6 15 + 6 = 21
A 7 21 + 7 = 28
A 8 28 + 8 = 36
If I have two packets ( size 4each) then my calculation doesn't match the expected results
A 1 1
A 2 1 + 2 = 3
A 3 3 + 3 = 6
A 4 6 + 4 = 10
A 5 5
A 6 5 + 6 = 11
A 7 11 + 7 = 18
A 8 18 + 8 = 26
Can any one hlep me to resolve this issue.Hi,
The best way is....
Create a report and calculate it in Report like below.
Create a Customer Exit Variable called FMYEAR on 0CALMONTH and then write code like below.
DATA : l_s_range TYPE rsr_s_rangesid,
loc_var_range LIKE rrrangeexit,
zbdatj LIKE t009b-bdatj,
zbuper LIKE t009b-poper,
First Month Of Current Fiscal year comment*
WHEN 'FMYEAR'.
CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
EXPORTING
i_date = sy-datum
I_MONMIT = 00
i_periv = 'V3'
IMPORTING
e_buper = zbuper
e_gjahr = zbdatj.
CLEAR: l_s_range.
l_s_range-low+4(2) = '04'.
l_s_range-low+0(4) = zbdatj.
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
APPEND l_s_range TO e_t_range.
and then create a restricted Kefigure with 0CALMONTH and value, and restrict calmonth with FMYEAR;0CALMONTH (there are variables and the values are in between FMYEAR;0CALMONTH)
Thanks
Reddy -
Year to Date reports using Prompts
Hi.
I'm trying to build a report that will show results of sales compared to Annual targets. All those fields are fields directly at the opportunity level (amount and targets). I also need to put a prompt to select dates from and to, for the Opportunity Close date. I've used Variables for this, and am comparing throuhg two filters "Opportunity.Close Date greater than pvCloseDateFrom" and "Opportunity.Close Date lower than pvCloseDateTo". I'm also presenting the % Achievment, which is the % of Total Sales compared to the Target field.
So far the report is simple
User - Total Amount of Sales - Target FIeld - % Realized.
The difficulty I'm facing concern the next set of columns in the report : I also need to present the Year to Date Target that is represented by the number of days between the two dates prompted (for instance if I prompt 01/01/2010 and 31/03/2010 needs to show 25% of the total target) along with the % of SAles compared to this new target calculated field.
I'm having issues with the TIMESTAMPDIFF function through the Presentation Variables as it either tells that the type is not correct even if I'm trying to use the CAST function or it discard part of the string when I'm trying to rebuilt the date as a timestamp : in my configuration date are presented D/M/YYYY where my timestamp function expects DDDD-MM-DD HH-MI-SS.
Is there anyone who could have an example of such calculations in a report based on dates and duration ?
Thanks in advance for your help !!
OlivierDear Adam,
For Year to Date , We have created a Customer Exit , For working , Create a Variable for 0calday and populate that with from and to value ...to value would be Sy-datum and From value is year starting date. Hope it helps..
Thanks,
Krish -
Hi All;
I have a field called createdon
Using this field i need to create the SSRS expression for the table as below
Any help much appreciated
Thanks
Pradnya07use expressions as below
assuming this is to be done in SSRS
Today
=COUNT(IIF(
DateDiff(DateInterval.Day,Cdate("01/01/1900"),Fields!createdon.Value) = DateDiff(DateInterval.Day,Cdate("01/01/1900"),Now()),Fields!YourRequiredField.Value,Nothing))
Yesterday
=COUNT(IIF(
DateDiff(DateInterval.Day,Cdate("01/01/1900"),Fields!createdon.Value) = DateDiff(DateInterval.Day,Cdate("01/01/1900"),Now())-1,Fields!YourRequiredField.Value,Nothing))
LastWeek
=COUNT(IIF(
DateDiff(DateInterval.Week,Cdate("01/01/1900"),Fields!createdon.Value) = DateDiff(DateInterval.Week,Cdate("01/01/1900"),Now())-1,Fields!YourRequiredField.Value,Nothing))
Last fortnight
=COUNT(IIF(
(DateDiff(DateInterval.Week,Cdate("01/01/1900"),Fields!createdon.Value) = DateDiff(DateInterval.Week,Cdate("01/01/1900"),Now())-1)
Or (DateDiff(DateInterval.Week,Cdate("01/01/1900"),Fields!createdon.Value) = DateDiff(DateInterval.Week,Cdate("01/01/1900"),Now())-2),Fields!YourRequiredField.Value,Nothing))
Last Month
=COUNT(IIF(DateDiff(DateInterval.Month,Cdate("01/01/1900"),Fields!createdon.Value) = DateDiff(DateInterval.Month,Cdate("01/01/1900"),Now())-1,Fields!YourRequiredField.Value,Nothing))
Year To Date
=COUNT(IIF(DateDiff(DateInterval.Year,Cdate("01/01/1900"),Fields!createdon.Value) = DateDiff(DateInterval.Year,Cdate("01/01/1900"),Now())
And
DateDiff(DateInterval.Day,Cdate("01/01/1900"),Fields!createdon.Value) <= DateDiff(DateInterval.Day,Cdate("01/01/1900"),Now()),Fields!YourRequiredField.Value,Nothing))
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
How to fetch year till date value for earning for current ,last and year
hi,
how to fetch year till date value for earning for current ,last and year before that from payroll result
plz reply soon,
pratyushDear Pratyush,
Pick this from CRT.
Use LDB PNPCE & Fire event GET PAYROLL &
then you can pick from CRT.
Hope this helps.
Kindly reward in case useful.
Regards & Thanks,
Darshan Mulmule -
Month to Date and Year to date calculation
Hello Experts,
It would be great If you could provide the formula to implement in BO universe or in the Reporting level for the below requirement.
MTD, LastMonth, Year to Date, Last to LastMonth and examples are below.
Last Week:
Eg: Monday through Sunday
Description: Based on Todayu2019s date, select the Monday of the previous week for the start date and Sunday will be the end date.
Example:
If Today is May 22, 2009
The result would be, Monday = May 11, 2009, Sunday = May 17, 2009
MTD:
If Today is May 22, 2009
I need a result MTD = May 1, 2009 u2013 May 21, 2009
LastMonth:
If Today is May 22, 2009
I need a result LastMaont = April 1, 2009 u2013 April 30, 2009
Last to LastMonth:
If Today is May 22, 2009
I need a result LastMaont = March 1, 2009 u2013 March 31, 2009
Thank you.Nisniki,
Here are the methods using WebI:
MTD:
Create a local variable "MTD Start"
=RelativeDate(LastDayOfMonth(RelativeDate(CurrentDate();-30));1)
Create a local variable "MTD End"
=currentdate()
LastMonth
=LastDayOfMonth(RelativeDate(CurrentDate();-30))
Year to Date
create a local variable "YTD Begin"
=ToDate("01/01/"+FormatNumber(Year(CurrentDate());"####");"mm/dd/yyyy")
(reuse "MTD End" or build a "YTD End" variable same as "MTD End")
Last to LastMonth
(similiar to MTD, but using "60" versus "30" to move back two months versus moving back 1 month.
To perform this stuff in the universe requires an understanding of the SQL syntax for the paricular vendor your are working with. ANSI SQL agrees to represent and compute dates uniformly, however, the functions to make it happen varies by the vendor.
Thanks,
John -
Year to Date using SAP variables
I've run into a sticking point when trying to create a year to date calculation that works without user entry. The infocube is updated by finance each month (for the previous month) after the final adjustments are made. For this reason, when the query pulls YTD information, it should be cumulating from January 20XX to Current Month - 1.
The first way that I tried was to use overlapping restrictions: Fiscal Year/Period < Current Fiscal Year/Period AND Fiscal Year = Current Fiscal Year. This worked very well until we reached January. Now the overlapping restrictions return no results since all previous months are not in the current fiscal year.
I've also attempted using the SAP exit variable 0FYTLFP (Cumulated to Last Fiscal year Period) on Fiscal Year/Period. It is not working, and I assume it is because the last fiscal year period is falling into a different fiscal year. Using it today, the value I get is equal to the value for Jan 2007. The variable seems to first look up the first day of the current fiscal year, saves that as one end of the range, then goes to the previous month to get the other end of the range. I tried offsetting this variable by -1 and the value returned was equal to Dec 2006, but not YTD.
I'm assuming it must be possible to use the standard SAP delivered objects to create a working YTD calculation that does not require manual entry and cumulates correctly through current period - 1. Does anyone have any suggestions?
Thanks!Dear Adam,
For Year to Date , We have created a Customer Exit , For working , Create a Variable for 0calday and populate that with from and to value ...to value would be Sy-datum and From value is year starting date. Hope it helps..
Thanks,
Krish -
I have an SQL Server function to take a JDEdwards numeric date and convert it to an SQL Date field.
CREATE FUNCTION [dbo].[date_ccyyddd_to_mmddyyyy]
@JulianDate as Numeric(18,0)
RETURNS Date
AS
BEGIN
Declare @ResultDate as Date
Set @ResultDate = DATEADD(YEAR, @JulianDate / 1000 + 1899, Cast('01/01/0001' as Date))
Set @ResultDate = DATEADD(Day, @JulianDate % 1000 -1, @ResultDate)
RETURN @ResultDate
END
In many query based reports we have used the function. It works quite nicely for all but one user. For this one user Crystal is casting the date result as a string, it will then display as a yyyy-mm-dd format instead of his default mm/dd/yyyy short date format. It would generally be ok but since it is typed as a string if the user exports the results to excel it is not recognizing the column as a date either. The strange piece of the equation is that if the user saves the report to the enterprise server and I open it, go to edit the SQL command, do nothing, close the edit box, it gives me the unmapped fields wizard where I can fix the report. Thus when I open or generate a new report with this function it "knows" the result is a date but with a specific user it sees the result as a string.
Has anyone had a similar situation or can lead me in the correct direction to fix this? Unfortunately, this user is our power user, he writes more reports than anyone else. It appeared as a problem when we upgraded from Crystal Enterprise 2008 to 2013.
Current work around for user is to use a crystal CDate() function on the report side but I would like to get the correct solution.
Any assistance appreciated,To add to Dell's suggestion:
If OLE DB then use:
MS SQL 2005 - OLE DB Provider
MS SQL 2008 - SQL Native 10
MS SQL 2012 - SQL Native 11
MS SQL 2013 - SQL Native 11
If ODBC then use:
MS SQL 2005 - SQL Native
MS SQL 2008 - SQL Native 10
MS SQL 2012 - SQL Native 11
MS SQL 2013 - SQL Native 11
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter -
Windows 8.1 Data reordering issue with Intel Adaptors
According to Intel, there is a data reordering issue with their adaptors and probably this dumb WIDI software. This is from Intel site. they say some are fixed, "A future Windows 8 fix will address this issue for other Intel wireless adapters." I
have one Nope, still broke. I get drops all the time. Brand new Toshiba laptop I7 16 gigs of ram and a SSD and a 2 gig Vid card. Would be nice to be able to play games but I get dropped all the time. Now would Microsoft quit hiding
about this, and fix the darn thing. Also i'm a system admin for 13 years. I have build over 1000 PCs and servers. I know bad software. Please fix this. PLEASE. Its not going to just go away and its not just Toshiba, I have seen other companies with the
same problem. If there is a Fix PLEASE POST IT. Or even a workaround I have tried everything.
http://www.intel.com/support/wireless/wlan/sb/CS-034535.htm
Hi,
Have your first tried the software fix under this link for your network adapter?
http://www.intel.com/support/wireless/wtech/proset-ws/sb/CS-034041.htm
Please Note: The third-party product discussed here is manufactured by a company that is independent of Microsoft. We make no warranty, implied or otherwise, regarding this product's performance or reliability.
Also, you can try to check if there is any driver update under Device manager from manufacture's website.
Kate Li
TechNet Community Support
Yep didn't work. Still get drops all the time, had to run a Cat 5E cable to my laptop from my modem, because I have Atheros Gigabyte Lan adaptor. Works Great. The Wireless still drops all the time. Has Microsoft let out the patch to fix this or is it coming in
April in the 8.1 patch that's coming. Funny thing is all for Widi, I don't even use widi, I got the software to do that from Samsung works better on my TV. Intel and Microsoft need to get this fixed. because their driving off gamers and that's the
people that make sure they buy Microsoft so they can play games. With the wireless link dead and a great laptop worthless what's the point. Ive been in IT for 13 years building PCs and Servers how I knew how to run a 60 FT Cat 5e line thru
a 2 story house and terminate it. Most people don't. Fix the problem. -
GROUP BY GROUPING SETS for a selected month and for year to date
Below is a code example to demonstrate this question:
declare @test table (ID int, Quantity int, Day date);
insert into @test values
(4, 500, '1/18/2014'),
(4, 550, '1/28/2014'),
(7, 600, '1/10/2014'),
(7, 750, '1/11/2014'),
(7, 800, '1/20/2014'),
(1, 100, '1/2/2014'),
(1, 125, '1/10/2014'),
(8, 300, '1/7/2014'),
(9, 200, '1/17/2014'),
(9, 100, '1/22/2014'),
(4, 900, '2/18/2014'),
(4, 550, '2/28/2014'),
(7, 600, '2/10/2014'),
(7, 700, '2/11/2014'),
(7, 800, '2/20/2014'),
(1, 100, '2/2/2014'),
(1, 150, '2/10/2014'),
(8, 300, '2/7/2014'),
(9, 200, '2/17/2014'),
(9, 100, '2/22/2014'),
(4, 500, '3/18/2014'),
(4, 550, '3/28/2014'),
(7, 600, '3/10/2014'),
(7, 750, '3/11/2014'),
(7, 800, '3/20/2014'),
(1, 100, '3/2/2014'),
(1, 325, '3/10/2014'),
(8, 300, '3/7/2014'),
(9, 200, '3/17/2014'),
(9, 100, '3/22/2014'),
(4, 500, '4/18/2014'),
(4, 550, '4/28/2014'),
(7, 100, '4/10/2014'),
(7, 750, '4/11/2014'),
(7, 800, '4/20/2014'),
(1, 100, '4/2/2014'),
(1, 325, '4/10/2014'),
(8, 300, '4/7/2014'),
(9, 200, '4/17/2014'),
(9, 100, '4/22/2014'),
(4, 500, '5/18/2014'),
(4, 550, '5/28/2014'),
(7, 600, '5/10/2014'),
(7, 750, '5/11/2014'),
(7, 50, '5/20/2014'),
(1, 100, '5/2/2014'),
(1, 325, '5/10/2014'),
(8, 300, '5/7/2014'),
(9, 200, '5/17/2014'),
(9, 100, '5/22/2014');
--detail
select *
from @test;
--aggregation
select
TotalQuantity = sum(Quantity),
[Month] = month(Day)
from @test
group by
grouping sets
(month(Day)),
(year(Day))
go
This is the aggregation query result:
However, the desired result is to return only two rows: one row for month 3 and the other row for year to date (in the picture above YTD is the row that appears with {null} in the Month column). Is there a way to achieve this goal by modifying the
sample code above? The requirement is to only read the data once (do not want a solution that involves a UNION which implies reading the data twice).you can add required filters in having clause. Here is the query -
select
TotalQuantity = sum(Quantity),
[Month] = month(Day)
from @test
group by
grouping sets
(month(Day)),
(year(Day))
having
month(Day) = 3 or month(Day) is null; -
I am using Iphone 4 for past 2 years in India on Dococmo Network, since after the update of IOS 5 and 5.0.1 I
am FAcing the frequent Data loss in Mobile...!!
Time beign i can over come it by turing off the cellular connetion to on and off mode where it resetting the data connection...!!!Since you haven't bothered to describe what this mysterious "data connection issue" is, we have no way to confirm or deny your statement that the problem is widespread.
The fact remains, you're using it on an unsupported carrier.
If you'd like to try and describe WHAT THE PROBLEM IS instead of getting defensive about it, we might be able to help. Otherwise, your initial question has been answered. No one here can tell you when the next update to iOS will be released. -
Year to Date Problem on Monthly Loads
Hi SDN team,
I have few clarifications necessary.
I've a query & it uses 2 structures. we decide to use cells using cell editor afterwards.
We have plan versus actual issue. One row is plan for one full year. We have a plan figure for each month of year 2004, from Jan till Dec. Now I need to create a totals. Is it possible to create total column for this?
In that column the plan figures ahould be shown as sum for the "year to date-values" - for example from Jan'04 till Apr'04 or Jun'04, not the totals for the whole year.
Selected Month SEP. Plan from Jan - Dec. Totals: 2*Total. Total we need: Sum (year to date because of month). If there's any solution for this please let me know.Hi, You need to add the YTD logic/functions between the 2 statements... Please try this... I've added the crude logic here. Pls. refine as you need for your requirement.
WHEN 'VAR4JUN'.
IF I_STEP = '2'.
LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
WHERE VNAM = 'ZYOUR_VARIABLE'.
** DATA INITIALIZATION ** (This is optional)
TV4Y = LOC_VAR_RANGE-LOW+0(4). ** YEAR
TV4M = LOC_VAR_RANGE-LOW+4(2). ** MONTH
** FUNCTION **
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING INPUT = TV4M
IMPORTING OUTPUT = TV4M.
** DATA LOGIC FOR YTD**
IF TV4M= '06' OR TV4M= '07' OR TV4M= '08' OR
TV4M= '09' OR TV4M= '10' OR TV4M= '11' OR TV4M= '12'.
CONCATENATE TV4Y '06' INTO L_S_RANGE-LOW. ** Also for HIGH
ELSEIF TV4M= '01' OR TV4M= '02' OR TV4M= '03'.
TV4Y = TV4Y - 1.
CONCATENATE TV4Y '06' INTO L_S_RANGE-LOW.. ** Also for HIGH
ENDIF.
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'EQ'.
APPEND L_S_RANGE TO E_T_RANGE.
ENDLOOP.
ENDIF. -
End Date of the Selection Period defaults as tax year end date in P45
Hi,
We have recently implemented both HRSP'S and CLC'S. In addition to this, we have also applied the following SAP Notes:
1. 1305238
2. 1309852
3. 1310431
4. 1316197
Despite this, we are still having the below problem with the P45 Program.
The End Date of the Person Selection Period automatically defaults to the end of the tax year, we are now unable to overide the date suggested by the system.
Can anyone suggest the cause of this issue.
Rgds
SandyHi,
With the Inyear movement legal changes ,HMRC have now introduced a check where in P45 cannot be produced for leavers who have a future leaving date 30 days from the current date.
In line with the above changes,the chance of issuing P45 for future leavers is now checked by the P45 program even though the person selection end date is the tax year end date . So that's why the date is getting defaulted from the tax year.
Hope this could solve your issue.
Regards
Roop -
Why awful gray color of data results grid in the 1.1.23.64 ?
SQL Developer 1.1.23.64 Production is a great product. Really great. It will enormously boost the popularity of Oracle database. Hence, it is not understandable:
1. why SQL Developer development team insists on awful gray color of data results grid? It spoils very good look-and-feeling of SQL Developer IDE. The best solution would be to provide it as an option in Tools\Preferences
2. why font size of Help file is still too small and unreadable, specially on Linux platform (RHEL-4.4, Sun Java jdk1.5.0_10) ?
Cheers
AlbertAlbert,
Were you also getting a grey color in the SQLWorksheet portion of the IDE? When I hit f9 after entering a script, the script portion turns an ugly gray color, but the results grid looks fine. I'm trying to figure out if your issue is the same as mine.
Thanks! -
BBM Group Messages have year 2045 date stamp
Hi
My 9630 puts BBM group messages with a year 2045 date stamp. This places the messages above my other messages and is a real pain.
How do I correct this, please?Hey SinaOwolabi,
Welcome to the BlackBerry® Support Community Forums.
Can I have you check the date and time in the BlackBerry smartphone under Options> Display> Date and Time? Also is this issue only happening with BBM group messages?
Thanks.
-HB
Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!
Maybe you are looking for
-
Windows XP Pro on MacBook Pro with 'external drive'!?
I don't want to load Windows XP Pro on the MBP ... it will take up too much space - I'm running Final Cut Studio and Logic Audio. Can I put Windows XP Pro on a SEPARATE DRIVE, along with the few apps I want to use in Windows ... and then BOOT from th
-
How to send/receive XML using JSP
Hi, I'm new to all this JSP/XML stuff so apologies if this is trivial. I'm trying to send an XML file via HTTP POST using JSP. Anyone know how to do this? Once the XML has been sent, how do you use JSP to request the XML file? I've figured out how to
-
Will not print correctly. Splits pages vertically in half
Firefox will not format my pages correctly for printing. All pages are split vertically in half.
-
I unsuccessfully tried to find way to insert embedded image into TextArea via <img> tag. Can you point me out how to do this? Also, please, tell me how to handle IOErrorEvent from TextArea because adding IOErrorEvent.IO_ERROR listener to TextArea doe
-
Hi, from sql*plus I made: set timing on; exec my_stored_procedure; elapesed 00:05:342.86 How many hours, minutes and second is 00:05:342.86?? Thanks