Pro Rata calc. based on monthly period of 30 days every period
PY - NL:
Hi,
I want to create a pro rata calculation based on a 30 days calendar. So every month has 30 working days. I know that table T510H offers posibillities combined with operation KDIVP, ADIVP and SDIVP. Can I use the above mentione operations instead of operation TSSOLL or does SAP not support this at all?
How must I use it and what effect will it have, If a WPBP split accurse on 28th of February or 31th of January ?
Can anyone help me?
PS: I know it will also effect the time part of customizing.
Did u checked the Processing Classs 10 and Specification 1
for Prorata caluculation
and also check the Sub rules XPPF thru PE02 take the hlep of F1
Prorate will happen automatically if u set the PCL 10 specification 1
Check and let us know ur feed back
Similar Messages
-
Hi Experts,
Here is the client requirement and please let me know how to solve this.
Earned Leave: after 1 year earned leave should generate and pro-rata quota should generate next year on jan 1st.
Example: if employee joins on 01/07/2012 after 1 year i.e 01/07/2013 quota should generate 22 days next year on 01/01/2014 pro-rata quota i.e 01/07/2013, 11 days pro-rata quota should generate. Total 22+11 =33 have to generate on 01/01/2014. and next year 01/01/2015 (22+11+22)=55.
Note: on 1/7/2013 = 22 days
on 1/1/2014 = 11 days +22 days; total=33
on 1/1/2015 = 33 days +22 days; total=55
Conditions: if employee joins before 15th date of current month include the current month, if employee joins after 15th date exclude the current month.You will need 2-3 PCRs to address this.
In one PCR you need to query the Date of Hire (from IT0041 - I guess you are maintaining this) using HRS=YDAYxx - where xx is the date type. You can then check it it is the first year anniversary or not by using HRS?01. If the condition satisfies populate a custom time type with 22 days.
In another PCR, you need to check for 01 Jan by using HRS=BCURMO and HRS=BCURDY. In this PCR check again the length of service (see above). If it is more than 1, then proceed to give the pro-rata amount.
If the pro-rata formula is simple you can use the second PCR or you would need a 3rd PCR to get the pro rata amount. Using HRS=Y**** operator you can query many date differences which will help.
Regards
Pramod -
Pro rate function in billing plan
Folks
Would any one know how i could pro rate the value for the last month of the billing plan cycle. You would think this is a standard SAP function
I have looked, and i am not able to find a solution. Our customer does not want to do any code changes. Let me know if you know of any standard changes that can be done.Hi,
Looks like you are not rewarding for the helpful responses.
<b>Please do reward for the helpful responses.</b>
SAP has <b>Retroactive Billing</b> funcitionality
Use
New pricing agreements that you make with your customers may affect billing documents that have already been processed and settled. If a new pricing agreement is effective before the pricing date of the billing documents, you can perform retroactive billing to call up a list of these documents and reevaluate them with the new price. You can then create additional billing documents to settle any differences.
Integration
Retroactive billing is a special billing function often used in scheduling agreement processing.
Features
With the retroactive billing function, you can:
Call up a list of documents affected by price changes
Trigger the system to create the necessary retroactive billing documents directly from the list
Create credit or debit memos directly
Review any errors in a log
Simulate the retroactive billing process for any document
How does Retroactive Billing work?
In this example, the system calculates the difference between the net value of the invoice ($100) and today's net value based on the new price ($90). It then creates a credit memo with the net value of $10 to be credited to the customer.
Primary and Secondary Documents
The system calculates retroactive billing values for primary documents. It can use secondary documents to help calculate this value.
Invoices are always primary documents.
Other billing documents, such as debit or credit memos, can be primary or secondary documents. This depends on the order reason entered in the billing document.
For more information on how the order reason is used to control primary and secondary documents, see Order Reason in Retroactive Billing. This section will also provide a more detailed example of how retroactive billing works.
Primary Documents
Primary documents are:
Invoices
Credit memos that refer to returns
Credit and debit memos in which you have entered the relevant order reason
You can also assign an order reason to a memo request which then passes it along to the referenced credit or debit memo.
Secondary Documents
Secondary documents are the following billing documents in which you have entered the relevant order reason:
Credit and debit memo requests
Credit and debit memos
The system displays such a document only when it has been created with reference to the invoice and when the currencies in both documents match.
If you create a credit or debit memo (or memo request) without reference to an invoice, you will not be able to see in the retroactive billing list if the invoice has already been billed retroactively.
When you create a credit or debit memo request which is relevant for retroactive billing as a secondary document, the system will use it to calculate retroactive billing for the referenced document.
The system does not take into account whether or not a request has been rejected, partially billed, or billed using another pricing procedure. Also, it does not take into account any changes in the payer, sold-to party, sales organization, billing date, or material.
<b>Reward if helpful.</b> -
How to set up Dynamic Variants for job which is based on Pay Period
Hi,
We need to set up dynamic variant for payroll interface. This interface is based on Pay periods and that is why we need to use different variant for each month. Letus know how to set up dynamic variant which will take care of Pay PeriodsHi, Thnx for reply.
We are not changing the control records, current period will be some old period in system.
payroll is not processed in SAP, -
What is the best way to create a SSRS 2005 Line Chart Report for a 12 month period?
I'm looking for advice on how to create a SQL Server 2005 query and line chart report for SSRS 2005.
I need to display the peak number of patients assigned to a medical practice each month for a 12 month period based on the end-user selecting a
single month and year.
I've previously created a report that displays all patients assigned to the practice for any single month but I’m looking for advice on how to
how to produce a resultset that shows the peak number of patients each month for a 12 month period. I thought about creating a query that returns the peak count for each month (based on my previously created report which displays all patients assigned to the
practice for any single month) and then use a UNION statement to join all 12 months but I'm sure that isn't the most efficient way to do this. The other challenge with this approach (twelve resultsets combined via a UNION) is that the end-user needs to be
able to select any month and year for the parameter and the report needs to display the 12 month period based on the month selected (the month selected would be the last month of the 12 month period).
For the report I’ve previously created that displays all patients assigned to the practice for any single month, the WHERE statement filters the
resultset on two fields:
Start Date - The date the patient was assigned to the practice. This field is never null or blank.
End Date - The date the patient left the practice. This field can be null or blank as active patients assigned to the practice do not have an End Date. When the patient
leaves the practice, the date the patient left is populated in this field.
Using these two fields I can return all patients assigned to the practice during Nov 2012 by looking for patients that meet the following criteria:
start date prior to 11/30/2012 (using the last day of the month selected ensures patients added mid-month would be included)
AND
end date is null or blank (indicates the patient is active) OR the end date is between 11/1/2012 -11/30/2012 (returns patients that leave during the month
selected)
Regarding the query I need to create for the report that displays the peak count each month for 12 months, I'm looking for advice on
how to count patients for each month the patient is assigned to the practice if the patient has been assigned for several months (which applies to most patients). Examples are:
John Doe has a start date of 6/01/2012 and an End Date of 10/07/2012
Sally Doe has a start date of 8/4/2012 and no End Date (the patient is still active)
Jimmy Doe has a start of 7/3/2012 and an End Date of 9/2/2012
Given these examples how would I include John Doe in the peak monthly count each month for May - October, Sally Doe in the peak monthly count for
August - December and Jimmy Doe in the peak monthly count for July – Sept if the end-user running the report selected December 2012 as the parameter?
Given the example above and the fact I'm creating a line chart I think the best way to create this report would be a resultset that looks like
this:
Patient Name
Months Assigned
John Doe
June 2012
John Doe
July012
John Doe
Aug 2012
John Doe
Sept 2012
John Doe
Oct 2012
Sally Doe
Aug 2012
Sally Doe
Sept 2012
Sally Doe
Oct 2012
Sally Doe
Nov 2012
Sally Doe
Dec 2012
Jimmy Doe
July 2012
Jimmy Doe
Aug 2012
Jimmy Doe
Sept 2012
From the resultset above I could create another resultset that would count\group on month and year to return the peak count for each month:
June 2012 - 1
July 2012 – 2
Aug 2012 - 3
Sept 2012 - 3
Oct 2012 - 2
Nov 2012 - 1
Dec 2012 - 1
The resultset that displays the peak count for each month would be used to create the line chart (month would be the X axis and the count would
be the y axis).
Does this sound like the best approach?
If so, any advice on how to create the resultset that lists each patient and each month they were assigned to the practice would be greatly appreciated.
I do not have permissions to create SPs or Functions within the database but I can create temp tables.
I know how to create the peak monthly count query (derived from the query that lists each patient and month assigned) as well as the line chart.
Any advice or help is greatly appreciated.Thanks for the replies. I reviewed them shortly after they were submitted but I'm also working on other projects at the same time (hence the delayed reply).
Building a time table and doing a cross join to my original resultset gave me the desired resultset of the months assigned between dates. What I can't figure out now is how to filter months I don't want.
Doing a cross join between my original resultset that had two dates:
08/27/2010
10/24/2011
and a calendar table that has 24 rows (each month for a two year period)
my new resultset looks like this:
I need to filter the rows in yellow as the months assigned for stage 3 that started on 8/27/2010 should stop when the patient was assigned to stage 4 on 10/24/2011.
You'll notice that Jan - Sept 2011 isn't listed for Stage 4 assigned on 10/24/2011 as I included a filter in the WHERE clause that states
the Months Assigned value must be greater than or equal to the date assigned value.
Any advice would be appreciated. -
Value based on the periodic unit price(only with pr.ctrl S) field in MatMas
Dear all,
There is this field in mateial master called "Value based on the periodic unit price (only with pr.ctrl S)" in accounting view 1,
1 - May I know what is this field about (in between our company using material ledger).
2 - May I know why the value of this field are different between our company period 6 and period 7 for this year? what contribute to it? and is it something wrong with different value between two different period or absolutely normal?
Thanks.
TuffHi Tuffy,
For your 1st query:
PUP field in Accounting 1 (if ML is active, Price Determination indicator=3) is the result of Actual Costing Run (CKMLCP) closing entry.
For your 2nd query:
In most of the cases the values will be different in Previous Period and Current Period. e.g.Period 6 values are the results of Actual Costing Run (CKMLCP) in 1st week of Period 6 for Previous Period (i.e. Period 5). Period 7 values are the results of Actual Costing Run (CKMLCP) in 1st week of Period 7 for Previous Period (i.e. Period 6).
The reason for the different values: Price differences, Exchange rate differences, Price/Exchange rate differences from Low lower materials, etc.
Thanks & Regards,
ADI -
Value based on the periodic unit price (only with pr.ctrl S) field in mat.
Dear all,
There is this field in mateial master called "Value based on the periodic unit price (only with pr.ctrl S)" in accounting view 1,
1 - May I know what is this field about (in between our company using material ledger).
2 - May I know why the value of this field are different between our company period 6 and period 7 for this year? what contribute to it? and is it something wrong with different value between two different period or absolutely normal?
Thanks.
TuffHi Tuffy,
For your 1st query:
PUP field in Accounting 1 (if ML is active, Price Determination indicator=3) is the result of Actual Costing Run (CKMLCP) closing entry.
For your 2nd query:
In most of the cases the values will be different in Previous Period and Current Period. e.g.Period 6 values are the results of Actual Costing Run (CKMLCP) in 1st week of Period 6 for Previous Period (i.e. Period 5). Period 7 values are the results of Actual Costing Run (CKMLCP) in 1st week of Period 7 for Previous Period (i.e. Period 6).
The reason for the different values: Price differences, Exchange rate differences, Price/Exchange rate differences from Low lower materials, etc.
Thanks & Regards,
ADI -
Currency Conversion---- Based on Posting period
Hi All,
I am creating a report based on FIAA .
Query selection screen will contain COMPANY CODE , and the POSTING PERIOD
suppose we enter company code as 2100 and posting period from 001.2007 to 012.2007.
I need to translate all the balance sheet items are translate with the closing rate (M) for the current period , i.e. the "to period in the report " here 012.2007.
The To period is dynamic and i need to select the currency conversion rate dynamically based on the To period entered in the selection screen of query.so, Can any one give the clues to achieve this. Your help is appriciated.
Thanks & Regards
Syam.
Edited by: syam reddy on Nov 24, 2008 10:09 PM
Edited by: syam reddy on Nov 24, 2008 10:19 PMUse RSCUR transaction to create currency translation type.
Here under "Time Ref" tab use "Variable Time Ref" and special infoobject.
You should be able to choose Posting period or posting date here.
Now in query designer maintain the currency conversion based on this currency translation type.
Hope this helps. -
Warning : No Rate found in the opening period
Hello,
i want to make the currency translation and it works, but everytime there is one message that irritates me.
SPRunConversion Version 7.0.114
Warning : No Rate found in the opening period
20081200 - 18 Rows Calulated
20081200 - 0 Rows Updated
What is the opening period and where can i set the parameter for each entity?
Thx
Dirk
Edited by: Dirk Unkelbach on Oct 2, 2009 11:59 AM
Edited by: Dirk Unkelbach on Oct 2, 2009 12:00 PM
Edited by: Dirk Unkelbach on Oct 2, 2009 12:01 PMHi Dirk,
Opening period is normaly used for carry forward rules, but you get this warning in currency conversion also.
You can set the parameters for Opening Period in the CATEGORY Dimension.
First Parameter is OPENING_PERIOD : if its blank it uses the last month of a year (=> DEC if you use calendar year)
Second Parameter is OPENING_YEAR: blank means previous year (same as inserting -1)
This means, if you calculate budget for the whole year or a month in 2009, Opening Period is 2008.DEC.
If you dont have any rates in Time = 2008.DEC;Category=Budget (for each of your specific rates) you will get this warning.
Gruß
Jörg
Edited by: Jörg Finster on Oct 6, 2009 12:34 PM -
Why can't we have simple pro rata billing?
I've been a BT Broadband customer for ten years, and I am sick of these sales packages with their prefabricated bandwidth allowances and telephone or TV options. It seems to me that the BT Broadband sales strategists have a philosophy more appropriate to selling fried chicken. It's comparable to "bargain basket, 3 pieces chicken plus chips; bumper basket, 5 pieces chicken plus chips and free drink, family basket, 7 pieces plus chips and relish pack." Hence the insultingly stupid photograph on the BT Broadband web page, of a young Internet TV consumer before a flickering screen, cramming chicken segments into his mouth from a paper basket while laughing idiotically. BT's standard telephone service was never like this. You never found that if you didn't make 2 or more calls a month, you would be charged a non-use fee of £2, as happens with one of BT's Broadband plus phone packages. Nor did you get emails saying you had exceeded your allowance and would be charged a flat-rate fine, but "we know it can be confusing keeping track of your bandwidth usage; why don' you switch to a larger, more expensive package?" I suggest a simple solution: sack all the sales strategists and sell services with simple pro rata billing. Charge customers for what they use, plus a flat rate rental, just like you do with the simple phone service. You keep track of individual usage anyway, so that you can nag people about exceeding their allowances. So why not just charge pro rata and get rid of the sales packages? Or are you totally wedded to tricking people into paying for more than they need?
Welcome to the forum, which is essentially a customer to customer affair and messages do not necessarily reach anyone in BT.
As a fellow customer I couldn't agree more, except to say that it's not just BT. But you have to realise that we're ungrateful wretches, refusing to give thanks for the bountiful gifts of competition that were promised when telecoms and other utilities were thrown to the wolves of big business. The fact is though that when you're sending pretty much the same signals down the same wires, the same current down the same cables, the same gas through the same tubes, you've got to do something to snare more customers than the next firm. What better way than conning Joe Public into believing that your ever-changing, unfathomable price structure, all wrapped up in shoddy customer service from minimally-trained staff with little understanding and even less commitment, is better than anyone else's? If I was a cynic I could bang of for hours.
You can click the white star next to this message if you think it was helpful. -
LMS - log rotation based on time period
Dear All
can we configure log rotation to be based on time period (ex:past one year)instead of log file size.
if it is feasable please advise who to do it?
Regards;
AntonioI am not sure if I understand it correct, but you can do this easily by defining the expected file size of the log file to rotate;
logrot runs on a scheduled basis and checks if the log file has reached the defined file size - if not it will do nothing else the file will be backed up. The key point is the configured file size;
I use this for the syslog file to have a backup for each month:
schedule logrot to run every first of each month and set the file size to a low value guarantes that I ve got a file for every month;
from the online help of logrot:
http://:1741/help/cmf/index.html?sysad_adm_logrotate.html
4. Specify the number of archive revisions. If you do not want to keep any archives, enter 0 (the default) for this option.
5. Specify the maximum file size. The log will not be rotated until this size is reached. The unit is in kilobytes (KB). The default is 1024 KB or 1 MB.
why do you want to keep all log messages of a complete year in one file - what do you want to do? -
Hi,
Can anybody tell me how can the pro rata billing in RE-FX can be done. What config setting we have to do for pro rata billing. and the invoice can be generated in RE-FX.
Is there is any link for configuring the billing.
Thanks,
ShailendraHi,
I have exactly the same requirement. Making the value 'M', does not adjust the price automatically.
Currently I have as below (dates in dd/mm/yyyy) in the billing plan schedule item level.
11/01/2010 to 31/01/2010 - $3100
01/02/2010 to 28/02/2010 - $3100
01/03/2010 to 31/03/2010 - $3100
01/04/2010 to 30/04/2010 - $3100
01/05/2010 to 31/05/2010 - $3100
01/06/2010 to 30/06/2010 - $3100
01/07/2010 to 22/07/2010 - $3100
What I would like is to have as below,
11/01/2010 to 31/01/2010 - $2100 "Adjusted for 21 days of the month
01/02/2010 to 28/02/2010 - $3100 + $520
01/03/2010 to 31/03/2010 - $3100 + $520
01/04/2010 to 30/04/2010 - $3100 + $520
01/05/2010 to 31/05/2010 - $3100 + $520
01/06/2010 to 30/06/2010 - $3100 + $520
01/07/2010 to 15/07/2010 - $1500 " Adjusted for 15 days
" Additional $520 is the amount distributed equally among all entries except first and last, so that the net amount that will be billed to customer remains same.
Please share some ideas on how I can achieve this - either through configuration or in coding.
Thanks
Vinoth -
Mid month period not being calculated in pay slip
Hi Experts,
Mid month period given in 0008 is not being calculated.
e.g. if i hire some one on 16.01.09, then 0008 data should be calculated for those days only (e.g. 16 days) in pay slip. But in my case it is taking full amount of 0008.
Can any one kindly help, pl.
thanks
BaluDear Sikindar,
thanks for the replay.
PCL 1 and PCL10 are having 3 and 1 respectively.
checked the control record and the pay roll area of that employee and generation of pay roll periods are available in V_T549Q.
please guide me further
thanks
Balu -
To use two presentation variables based on the period selection in OBIEE
Dear All,
I have period prompt in my report, based on the period prompt selection in my report I need to get the start and end dates of the period and apply in the report filter.
For e.g. Period Name selected in the prompt is "2010 - Q1" (For this Period, Period Start Date = 01/01/2010 and Period End Date is 30/03/2010, which is not going to be displayed in the prompts).
How can I get the start and end dates of the period into my report filter. I tried using the presentation variable for the period name, but unable to resolve the requirement.
Your help is highly appreciated.
Best Regards,
RajeshHi Rajesh,
Create a report A which will give you the period start date and end date and filter it using the period prompt.
Then filter the main report using the report A start date and end date, using Filter -> Advanced ->Filter based on results of another request .
Add the report A in separate section on the dashboard along with main report and hide report A section.
Thanks,
Vino -
Value based on the periodic unit price (only with pr.ctrl S)
Dear all,
There is this field in mateial master called "Value based on the periodic unit price (only with pr.ctrl S)" in accounting view 1,
1 - May I know what is this field about (in between our company using material ledger).
2 - May I know why the value of this field are different between our company period 6 and period 7 for this year? what contribute to it? and is it something wrong with different value between two different period or absolutely normal?
Thanks.
TuffDear all,
Does anyone know my question?
Thanks,
tuff
Maybe you are looking for
-
Dynamic query in where clause while looping in an internal table.
Hi, Had a small question : How can i make a dynamic query for the WHERE clause while looping at an internal table. i want to implement a dynamic where clause query for the below example. it_cfx_col is an internal table and wa_cfx_col is a work area f
-
IPod 4g stuck on connect to iTunes and not being recognised by my computer D:
Basically I erased all data via reset option in settings and now when the iPod boots it shows the "connect to iTunes" picture, problem is for some reason my iPod doesn't even get recognised by any PC's in my house. I have tried uninstalling all my ap
-
Ok, I think I've found a way to work around pivot tables, although it's no where near as elegant or simple . . . or quick. But for small time stuff, the SUMIF and COUNTIF functions are doing what I need. Especially the SUMIF I can run it against a ta
-
What's the best decklink usage apply for color correction
Hi Guys, recently i jsut noticed that matrox supplied a very good color corrcetion for Adobe, im using blackmagic hd extreme 2 now, seems it doenst grade color very well compare with matrox, i wonder, any decklink u guys using that grade color very w
-
Hi Experts, My client wants to clear the Customer invoice with credit memo by Reference field (XBLNR). It working fine when we do automatic clearing since we maintained OB74 settings with XBLNR criteria. So problem with F110, Since F110 is not referi