Cumulative results
Hi
1. can any one explain me what do we mean by cumulative results for payroll.
2. How to retreive payroll data report, Are there any specific function modules to US payroll results.
Thanks
Abdul,
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PYUS/PYUS.pdf
Read pages 728, 729 and 730 for more information.
Basically you need to know the wage type differences to know the cumulate results... for more information follow below info:
Secondary Wage Types will cumulate the results, A technical wage type generated by the system.
Use:
You do not enter secondary wage types on-line. The system generates secondary wage types during the payroll run or derives them from particular factors.
Secondary wage types are also wage type that cumulate several wage types or temporarily store interim results.
Structure
The technical name of a secondary wage type always starts with the character (/), for example, /001.
Example
The standard system includes the secondary wage type /101 (Total Gross Amount). This wage type is created during the payroll run and is used to cumulate all of the wage types that pertain to an employees total gross amount.
Thanks,
Kiran.
Reward points are appreciated.
Similar Messages
-
Hi all
I am working on one report which gives cumulative week wise sales. the o/p goes like this
Actual sales
week of the month
1 10
2 30 (10+20)
3 45 (30+15)
4 50 (45+5)
i have ticked the "cumulated" for the Actual Sales KF. but now wat is happening is in the result row it is not showing the cumulated value. ie, instead of 50 it shows the value for week 4. how i should get the cumulative result in the "result" row???Hi,
To get the cumulative result in the RESULT ROWS, you have to do a specific setting in BEx Designer. Go to the properties of a concerned KF, there you will find the option "Calculate Result As...". There you specify the option "LAST VALUE". This will ensure that in the result row, you will get the value of the last record which is the cumulative value of the report.
Hope this info helps you.
Regards,
Yogesh. -
Air and sqlite problem - cumulating results
Hi,
I got problem with sqlite in air.
The problem is that sqlStmt.getResult().data is gathering data from separate Select statements, when it should be separate results. As in this example, where I call "select" function once, and AFTER geting it's result I call it again with different query.
public function select(q:String):void {
conn.open(dbFile);
sqlStmt.addEventListener(SQLEvent.RESULT,selectComplete);
sqlStmt.text = q;
sqlStmt.execute();
private function selectComplete(e:SQLEvent):void {
oSqlReturn = sqlStmt.getResult().data; //this is where sqlStmt.getResult().data remembers previous results and adds current ones to the array.
conn.close(); //but here sqlStmt.getResult() is null
sqlStmt.removeEventListener(SQLEvent.RESULT,selectComplete);
So after second Select returns I got sqlStmt.getResult().data with results from the first and the second statement.
Maybe one of You had some simmilar problem and is able to help me with this.Thanks for help. It is recomended to use different instances of SQLStatement. But it wasn't the case.
I changed to asynchronious connection and I added SQLMode and now it works.
So instead of
conn.open(dbFile)
now I got this:
conn.openAsync(dbFile,SQLMode.UPDATE);
So I think that the problem was becouse I was listening to result events of synchronious connection. -
Cumulated option not applied to Results
Hi,
We are trying to design a format with years in column and projects in row and we want user to switch from non cumulative to cumulative (we are using BI 7.0; SAPGUI 640)
In non Cumulative
...............2008.....2009......2010.....2011
Project A....5..........10........ 2...........1
Project B....2..........3..........1............6
Result .......7.........13.........3............7
When activating "Cumulated" with option "Calculate Along the Columns" we obtain :
...............2008.....2009......2010.....2011
Project A....5..........15........17...........18
Project B....2..........5..........6............12
Result .......7.........13.........3............7
The problem is that we would like Results to be also in Cumulated but the "Also Apply to Results" cannot be checked and even when we put that in Query designer it has no effect on Results
We need to obtain this (in BW 3.5 it was working as expected using the cumulative output on Fiscal Year):
...............2008.....2009......2010.....2011
Project A....5..........15........17...........18
Project B....2..........5..........6............12
Result .......7.........20.........23..........30
Thanks in advance for your help, we have tried everything but impossible to obtain what we had in BW 3.5.We have put the Cumulated and Sum in the Query, when you run directly the query it works. But if in Properties you uncheck Cumulated to get non cumulative value if you want to apply again Cumulated, Result are again not correct.
Is there any known problem? -
Daily sales by month and cumulative sales for year
Hi Experts,
I have a reporting requirement where I have to show daily sales by month and cumulative daily sales for particular month for the year.
e.g. If the current month is January then my result shows fine. see below
Calendar Day
Net Sales
Target
Sales Year
Actual
Target
01/01/2014
100
90
01/01/2014
100
90
02/01/2014
200
180
02/01/2014
300
270
03/01/2014
300
290
03/01/2014
600
560
04/01/2014
400
350
04/01/2014
1000
910
But If I am in the month of Feb and I want to show sales for the month and cumulative sales for the year for just Feb but instead of showing cumulative total from 01/01/2014 to end of Feb it starts again at begining of Feb - See below
e.g.
Calendar Day
Net Sales
Target
Sales Year
Actual
Target
01/02/2014
200
190
01/02/2014
200
190
02/02/2014
400
380
02/02/2014
600
570
03/02/2014
600
590
03/02/2014
1200
1160
04/02/2014
800
750
04/02/2014
2000
1910
Expected Result - sales for the year shoud show cumulative result from 01/01/2014 - 31/12/2014
Calendar Day
Net Sales
Target
Sales Year
Actual
Target
01/02/2014
200
190
01/02/2014
1200
1100
02/02/2014
400
380
02/02/2014
1600
1480
03/02/2014
600
590
03/02/2014
2200
2070
04/02/2014
800
750
04/02/2014
3000
2820
How do I achive this?
please help.What else you need?
looks like you got #working days for the month, use that metric as of jan 15th -
How to use a cumulative value in a formula
hi, experts
I have a question about how to use a cumulative value in a formula. Below is the example:
wk1 wk2 wk3 wk4 wk5....wk n
sales order 5 10 15 10 5
build plan 8 8 10 15 10
result 3 1 -4 1 6
result row is what I want to get, the formula is:
wk1 result = wk1 build plan - wk1 sales order
wk2 result = wk1 build plan + wk2 build plan - (wk1 sales order + wk2 sales order)
wk3 result = wk1 build plan + wk2 build plan + wk3 build plan - (wk1 sales order + wk2 sales order + wk3 sales order)
I've already ticked the cumulative in properity of the key figures. It seems like that the cumulative results only can display, but can't be used in formula. Could you please help me? Many many thanks !!Hi
In properties of that formula, there is option called 'formula collision' there you select 'formula from compiting result'. I think this will solve the problem. -
Payroll results from pc_payresult
Hello there,
I am developing an ABAP report for HR Payroll, and have a very basic question about the results data (RT) that can be found in PC_PAYRESULT.
For each sequenctial number (In-Period & For-Period), is this result ONLY the values in the "FOR-PERIOD" of the payroll period and not cumulative with the "IN" period?
For example, if I am viewing a result with a "for-period: 2006/07" and "in-period: 2006/08", are the results only reflective of the payroll for the period of 2006/07 and exclude any figures from the "for-period of 2006/08"?
Thanks for your help.Th in-period is just to indicate the period in which the Payroll was run..& yes if you are looking for results of 2006/07 , then you must look for RGDIR-FPPER in your report.. with SRTZA = 'A' (Actual Result). Each line in the RGDIR is for a single period.. You can however find the cumulative results in the CRT table once you expand the Cluster...
~Suresh -
Using cumulated values for further calculation in a bex report
Hi ya'll,
I have a problem with using cumulated values in a bex report.
the report has three lines:
Values 1: 100 200 300
Values 2: 10 5 40
Values 3: 1000 500 4000
The values of row 3 is a formula multiplying the values from row 1 and 2... My problem is that the values of row 3 are wrong - for example 200*5 isn't supposed to result in 500 !!
I figure the reason is that the values of row 1 is a cumulated result, meaning the <i>actual</i> value of the second column of the first row i 100 (and not 200).
How can I ensure that my formula for row 3 uses the <b>cumulated</b> result from row 1, instead of the underlying result ?.Create a column structure with Actual Value columns as well as cumulated value columns. Hide Actual Value Columns from display.
Example :
Actual1 | Actual 2 | Actual 3 | *** 1 | *** 2 | *** 3 |
100 | 100 | 100 | 100 | 200 | 300 |
You can create a forumla to calculate Value 3 : (Actual 1 * Value 2 ).
I guess you are using Cell Referencing to achieve this. -
Cumulative query and apd extraction
Hello everyone!
i'm experiencing some trouble, hope you can help!
I have a bex query with a cumulative result.
I want to extract the query result to a csv using the apd
but the extraction only provide the values in a NOT cumulative way.
Is there something i have to set inside the query or something that i can insert building the apd?
Thank you in advance for your answers and your time!
B.r.
AdriansWhen you use APD, the system does not use the OLAP processor which is used when the query is run online and some of the features are not available. There are several OSS notes that document the exact differences if you search on APD limitations or RSANWB or RSCRM.
I am not sure but the display cumulative is likely to be one of the settings. You could get what you need by adding an ABAP process to the output of the query in the APD and then code the desired logic in there. I know it is not as clean as you would like it, but unfortunately APD and BEx are not the same.
Edited by: Vineet Gupta on Mar 5, 2012 2:40 PM -
Cumulative keyfigure value based on condition
Hi All,
I have a requirement where in I need to display cumulative results on keyfigures. At present I am displaying keyfigures values for fiscal year & fiscal period included in query at column level.
But, If user add comapny code (from filter) & removes fiscal period at run time (in BEx screen), the data is displayed cumulative across company codes.
The requirement is: data should get displayed cumulative based on company code codes.
Kindly suggest your inputs.
-Thanks
ShamkantHi Shamkanth,
In general we will use time char for calculation of time fields but when we are using for calculation purpose ,we have to consider key figures for developing time fields.
The reason why we have to use is: at the time of dril down with respect ton other fields across the report,it will show exact result but we if we use time char it will show wrong counter.
Hope this helps you..
Best Regards,
maruthi -
Cumulated values, but last column sometimes empty
Hi,
We have a report which cumlated an amount key figure per fiscal period. The query shows the following results:
001.2009 002.2009 003.2009 004.2009
10 20 30 40 --> every month we get +10
But know we have a data record, were we have no value for april and the report shows the following results:
001.2009 002.2009 003.2009 004.2009
10 20 30
The last column is empty. Can somebody explain me this result? Is this normal? If I show the total cumulated result, the result is correct.
Thank you very much.
JessicaHi,
I suppose there is no data posted for Month of April and calmonth reads data from master data not the posted data, if it is right then the query is running fine.
Regards,
Kams -
Two payroll run for employee in same month
Hello Experts,
Iam having one issue.Client requirement is,if a employee get transferred to other location in mid of the month,in that case his payroll should run say 15 days for previous location & 15 days for new location.Client says since ESI will be location wise so ,two payroll calcultion for a single month & cumulated result will be amount paid to Employee.Also when transferred employee should get new ESI esi code location wise but PF code will be same.
is that possible in system?
Please suggest some inputs.
Thanks in advanceThanks sadhar,
It means that...nothing new config to be done..it will happen automatically.Please explain a bit.
Regards -
SEM Allocations - How do you make the Distribution work by Period not ***?
I have configured an SEM BPS Allocation function.
The function appears to work as expected except for the distribution values that are being used in the calculation. The distribution values being used are the cumulative total and not the period values.
E.G...........................................P1.............P2........Total
<b>Sender</b>
Sender Value............................100............200..........300
<b>Distribution Ratio's</b>
Receiver 1...................................1...............7............8
Receiver 2...................................2...............2............4
Receiver 3...................................7...............1............8
<b>Expected Results</b>
Receiver 1.................................10.............140........150
Receiver 2.................................20...............40..........60
Receiver 3.................................70...............20..........90
<b>Actual Results</b>
Receiver 1.................................40...............80........120
Receiver 2.................................20...............40..........60
Receiver 3.................................40...............80........120
Can anybody tell me what setting I am missing to tell the distribution to use period results rather than cumulative results?
Many thanksIn the planning level I am using fiscal year and posting period. The posting period was set to be periods 1 to 12.
In the setup of an assessment function there are 4 input areas:
Sender - where I am choosing a sender cost center and identifying a secondary cost element.
Receiver - where I am identifying the cost centers to receive the assessment and the same secondary cost element (to be the same as R/3 assessments).
Trigger - identifying the range of cost elements where the original costs are held on the sender.
Distribution - where I identify the statistical key figures where the values are held to calculate distribution ratios over the receiving cost centers.
I have attempted to insert posting period into the assessment structure, but have been getting a message that posting period is included in a higher method, which did not appear to be the case.
In reviewing this while answering your initial questions, posting period is now able to be input into the structure, and the assessment appears to be working.
Thank you for trying to help.
This appears to be one of those strange items where some previous configuration had not cleared in the relevant tables. -
Hi,
Can any one give an idea of how to implement the fn. module HR_GET_PAYROLL_RESULTS as i tried giving the values for a already exisiting personnel from pc_payresult ,in the import parameters of function module and execute it iam not getting the results table but instead gives an error message
Exception WRONG_STRUCTURE_OF_RESULT_TAB
Message ID: RP Message number: 016
Message:
WRONG_STRUCTURE_OF_RESULT_TAB
Thanks in advance
Regards,
SangramHi Sangram,
See below code sample for reading payroll results for an employee in US
*select the max sequence number for the PERNR from directory
SELECT MAX( seqnr )
INTO w_seqnr
FROM hrpy_rgdir
WHERE pernr EQ w_pernr.
IF sy-subrc IS INITIAL.
**get the payroll results for the employee
CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT'
EXPORTING
employeenumber = w_pernr
sequencenumber = w_seqnr
clusterid = 'RU' "depends on for which country
CHANGING
payroll_result = i_payresult
EXCEPTIONS
illegal_isocode_or_clusterid = 1
error_generating_import = 2
import_mismatch_error = 3
subpool_dir_full = 4
no_read_authority = 5
no_record_found = 6
versions_do_not_match = 7
OTHERS = 8.
IF sy-subrc IS INITIAL.
*Get the CRT (cumulative results) table entries
i_crt[] = i_payresult-inter-crt[].
you can read the i_crt table with wage type (lgart) & cumty (yearly) and get the year to date amounts.
This is for US so the declaration of parameters are as follows
i_payresult TYPE payus_result,
i_crt TYPE TABLE OF pc208.
Cheers -
Hi,
In HR ABAP, can you tell me what exactly "Get pernr" and "provide...end provide" does ? (with an example if possible)
I appreciate your input.
Thanks in advance.hi
good
get pernr->
TABLES: PERNR,
PCL2.
INCLUDE ZHR_PCL2_CU_DATA - Payroll results. *
Data declarations for the IMPORT of database PCL2 for cluster RU. *
DATA: CD_NEXT_SEQ TYPE I, "Next available seq number
CD_LAST_PAY TYPE D. "Last payroll run date
DATA: BEGIN OF OCD_VERSION.
INCLUDE STRUCTURE PC201. "Technical Version
*DATA: molga LIKE t001p-molga. "country identifier
DATA: END OF OCD_VERSION.
DATA: BEGIN OF RGDIR OCCURS 100.
INCLUDE STRUCTURE PC261. "(For Export and Import of Payroll Res
DATA: END OF RGDIR.
Key for database PCL2 cluster RU
DATA BEGIN OF RX_KEY.
INCLUDE STRUCTURE PC200. "Payroll Results Key
DATA: END OF RX_KEY.
country dependent
DATA: BEGIN OF RU-VERSION.
INCLUDE STRUCTURE PC201. "Technical Version
DATA: END OF RU-VERSION.
DATA: BEGIN OF ORU_VERSION.
INCLUDE STRUCTURE PC201. "Technical Version
DATA: END OF ORU_VERSION.
Cumulated-result table
DATA: BEGIN OF CRT OCCURS 30.
INCLUDE STRUCTURE PC22Y. "Cumulated result table (USA)
DATA: END OF CRT.
GET PERNR.
IMPORT CD_VERSION TO OCD_VERSION
CD_LAST_PAY
CD_NEXT_SEQ
RGDIR
FROM DATABASE PCL2(CU) ID PERNR-PERNR.
CHECK SY-SUBRC EQ 0.
This is where you select the particular period you are searching for. The
selection will change based on what dates you are looking for.
LOOP AT RGDIR WHERE FPPER EQ P_PERIOD
AND INPER EQ P_PERIOD
AND ( RUNDT GT Z_RUNDT
OR ( RUNDT EQ Z_RUNDT
AND RUNTM GT Z_RUNTI ) )
AND SRTZA = 'A'
AND PAYTY = ' '
AND VOID NE 'V'.
CHECK SY-SUBRC = 0.
MOVE PERNR-PERNR TO RX_KEY-PERNR.
MOVE RGDIR-SEQNR TO RX_KEY-SEQNO.
IMPORT RU-VERSION TO ORU-VERSION
CRT
FROM DATABASE PCL2(RU) ID RX_KEY.
CHECK SY_SUBRC = 0.
LOOP AT CRT.
Process crt data.
ENDLOOP.
ENDLOOP.
thanks
mrutyun
Maybe you are looking for
-
I notice that when I publish locally to my hard drive to review a set of slides, I see a folder full of files. If I click on index.htm within the folder, I can launch the slides. When I publish to the Adobe Connect Pro server, I merely see a url for
-
Java class can't be edit in NWDS?
I can view source code of java class :com.sapportals.wcm.control.collaboration.discussion.flex.SingleDiscLayoutController in Package Explor but I can't edit? How should i do if I really want to change the java class Please throw some lights on this!!
-
Having Trouble With E-mails That Involve Animation
This is too weird. When I receive an e-mail that has animation in it it comes through freeze framed in Mail. It does not matter if it is in my .Mac account or Verizon account. Just for the heck of it I forwarded it to myself using the Verizon account
-
Repository cannot be edited online
Hi, Suddenly I'm unable to edit the OBIEE repository online. I get the message "The repository 'AnalyticsWeb' can only be opened as Read-Only. Do you want to open it?" once I try to open it online. I've restarted the presentation server and the BI se
-
Flexible, filliable form in reader
I am a new acrobat X user and we are trying to create a form that people with reader can fill in the answers to but not touch other areas. So far i have a form with T&C's on one side in text Labels on the left like name or address with form fields to