Personnel calculation rules
Hi all
i want to write a rule wher-in
The technical wage type/4e8(Gratuity exemption) will be generated in 2nd settlement.
Actually for the first time it si reflecting in full & final settlement but it is not reflecting ,if somethink is left to be given in subsequent month.
The existing rule is as follows:
RULE ZGTE
ZERO=NRA
ADDWT *
pls guide
thnks
debjani
closed
Similar Messages
-
URGENT : Pls help on Personnel Calculation Rules
Hello Gurus,
I am creating new rule to change the attendance type depending on the holiday.
What is the operation/function should I use.
Senaio: There is a 'Holiday Hrs Worked' attendance type and this has to be used ONLY when an emp is working on a public holiday (defined in public holiday calender). But technically this attendance type can be used anyday.
Problem: The 'Holiday Hrs Worked' has different OT calculation rules than regular hrs. So if am emp uses this attendance type for regular day, he gets more OT.
I am able to differentiate using VARSTHOLCL, but then I want to change the attendance type in the schema.
Please help me as this is URGENT.
Thanks in Advance and Max points will given to very helpful answer.Fixed on my own by changeing all the PCR underneeth
-
How to use the language's coding on the personnel calculation rule.
I want create rules for Time management, I know that it use the transaction code PE02 for writing calculation rule all the standard rules for time or payroll but I don't know how to use language wrote for the rules.
Anybody have the documents for using code on the rules.
Thanks for your help.
Regards,
Huyen Nguyen.Hi Huyen,
Please follow this link.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAXX/PYINT_REGEL.pdf
Warm Regards,
Kapil Kaushal -
Error in Personnel Calculation Rule XPPF
Hi,
Under PCR XPPF, I was trying to create processing link to wage type /803
for that I had copied it to ZP10 (my variant)
but when I checked it, system was showing error "type of operation is different from Rule type" for the default element under /801.
here is a screen shot of the error
Note: similar error it is displaying in Rule Xppf too.
Could you please help me in getting it sorted.
Regards,
VibhuIssue is because of code at the object level LHRPUF03.
you have to incorporate this in object otherwise it may not work.
select single * from t52bo where procl = globalprocl
AND OPNAM = OPER
and ( cntry = globalmolga or
CNTRY = '*' )
AND OPFLD = OPFLD
AND OSIGN = OSIGN
If you open a rule in table mode, it will not show any error until you "check" the rule.
With Basis 7.0, the behavior of the SELECT command has been changed. There fore, the T52BO table is not analyzed correctly.
Take the help of Basis.
Regards
Venkatesh -
What effect does grouping employee subgroups have on personnel calculation
Hi Experts,
Please explain What effect does grouping employee subgroups have on personnel calculation rules?
Thanks,
RashmiHai..
Personnel Management
Personnel Administration
Payroll Data
Basic Pay
Define EE Subgroup Grouping for PCR and Coll.Agrmt.Prov.
Check F1 for PCR.
Now open MODT PCR in PE02. U can find *, 1,2,3, etc... So these are the values which u had defined in the above table..
It means for each ES grouping u want the system to process differently....
Hope its clear now -
Hi All,
Im looking for more infomation, than is given in the HCM Academy or SAP Library, on personnel calculation rules/schemas for Time management PT.
Thank you
TLC
Edited by: ChromeSAP on Jul 4, 2008 3:00 PMHi,
PCRs always depend upon the clint requirement (other than Standard Sap) according to the scenario we need to write new pcr and insert the schema as required. but my point of view try to explore functions, operations and logic then it will be easy to understand the pcr and helpful to write a new pcr as required.
Best of luck,
Dora. -
Calculation rules in free goods
Hi Friends,
In free goods condition record NA00, in calculation rule field, there are 3 options - Pro rata; unit reference; Whole units.
Please give an example for each calculation rule as to how system should calculate if we select one of the options.
ThanksHello,
There are three standard rules in SAP for free goods calculation, there are, 1. Prorata ( Propotional), 2. Unit reference, 3. Whole Units.
A company offers free goods to their customers when they order certail materials. When a customer buys 100 numbers of a product, he gets 20 numbers free.
1. Rule 1 ( Prorata)
In this rule, if the customer order for 162 pieces, the system calculates 32 to as free goods ( 162 X 20/100).
2. Rule 2 Unit Reference:
When you maintian this rule, the above scenario becomes: The customer get only 20 as free goods. (100 X 20/100), as the system will consider as 20 free for every full 100 purchased.
3. Rule 3, whole units:
If you maintian this the sstem will give only 0 as free because it will not consider 162 as it is not the multiple of 100.
Prase -
IT0071 Dynamic Action does not overwrite Pension Scheme Calculation Rule
I am trying to write a dynamic action to create IT0071 with default values for the Employee contribution (0%) and Employer contribution (4%). However when IT0071 is created the default values from the associated Pension Scheme Calculation Rule (4% and 8%) are not being overwritten by the dynamic action. Is there a way to get the dynamic action to override the Pension Scheme Calculation Rule values?
This is the dynamic action u2026
0171 BENGR 06 10 P T001P-MOLGA='08'
0171 BENGR 06 15 P PSPAR-MASSN='01'/X
0171 BENGR 06 20 P PSPAR-MASSN='12'/X
0171 BENGR 06 25 P P0171-BENGR<>NOBN
0171 BENGR 06 30 P P0171-BSTAT<>NOBN
0171 BENGR 06 300 I INS,0071,SS7,,(P0171-BEGDA),(P0171-ENDDA)
0171 BENGR 06 315 W P0071-PCTEE='0.0000'
0171 BENGR 06 320 W P0071-PCTER='4.0000'
Any help much appreciated.
Regards,
JanetHi Brian,
In standard SAP physical sample planning requires sample drawing procedure.
Link: [http://help.sap.com/erp2005_ehp_05/helpdata/EN/2d/3521b6448c11d189420000e829fbbd/frameset.htm]
And drawing procedure is advised with partial sample numbers.
Link: [http://help.sap.com/erp2005_ehp_05/helpdata/EN/2d/3521b6448c11d189420000e829fbbd/frameset.htm]
Generally when we use partial sample numbers, we also use a drawing procedure. And in that scenario SAP describes the calculation as shown in
Link: [http://help.sap.com/erp2005_ehp_05/helpdata/EN/2d/3521b6448c11d189420000e829fbbd/frameset.htm]
What you have done (partial samples for MICs and not having for others, all without drawing procedure) is not generally done. I think our observations in this context should be confirmed only if we try more of such examples.
Regards
Sm. -
Schema and calculation rules in Payroll
hi experts
what is schema ? what are the function of schema in payroll? How to set calculation rules for payroll? pls help in detail.
points will be awarded for useful answers.
ThanksHi Das,
Schema is is set of rules means when ever you run the pay roll driver for eg: US driver RPCALCU0, in selection screen you have to mention the pay roll driver for US u000 in schema field.
when ever run the driver the set of rules executed and according the rules payroll is calculated.
OR
Each country payroll version supported by SAP has a program called the "payroll driver" that calculates payrolls. For example, in the U.S., the payroll driver is RPCALCU0, in Mexico it is HMXCALC0, and in Canada RPCALCK0. Each one is different, but they share a common core of functionality. The job of the payroll driver is to process payroll functions as specified in a payroll schema. These payroll functions each perform a specific job, for example - reading data from infotypes, calculating taxes, and processing wage types. Some functions process payroll rules. Rules are a collection of payroll operations. Each operation does a small unit of work, such as multiplying a wage typeu2019s number by a rate to get an amount.
Schemas are edited with transaction PE01
Schema rules PE02
Functions and operations are maintained with transaction PE04.
If anything require let me know
Regards
Sudheer -
ABAP code for calculation rule in transaction M/08
Hi,
In M/08 transaction, we need to do this:
When maintaining a PO, the user manually creates a condition like this:
ZXXX Value (+10 %) positive value.
However, in order to get the belonging negative condition (for accounting purpose), we need to automatically create that when the one above has been created:
Automatic at the same time:
ZYYY Value (- 10 %) negative value.
In transaction M/08 you can enter ABAP code to each condition in the calculation rule. How can I program that ZYYY is created at the same time as ZXXX, when created for a PO ?
Any help is appreciated.Hi Peter,
This calculations rules are know as routines you can create with them using T code VOFM and then go the menu option -
> Formula---->Condition value.Double click on that and you will get the ABAP code.
Here you can amend the existing one or can create the way you like your logic to move and assign it to M/08 T code.
Hope this will help you.
Thanks,
Birender Agnihotri -
ABAP code for calculation rule in TK = M/08
Hi,
In M/08 transaction, we need the following:
When maintaining a PO, the user manually creates a condition like this:
ZXXX Value (+10 %) positive value.
However, in order to get the belonging negative condition (for accounting purpose), we need to automatically create that when the one above has been created:
Automatic at the same time:
ZYYY Value (- 10 %) negative value.
In transaction M/08 you can enter ABAP code to each condition in the calculation rule. How can I program that ZYYY is created at the same time as ZXXX, when created for a PO ?
Any help is appreciated.Irrelevant
-
Disable Advanced Listpane button with Calculation Rule
Hello everyone,
I'm trying to disable a button on an Advanced Listpane using a Calculation Rule.
This is my advanced listpane:
The button I'm trying to disable is the "Copy"-button.
It has to be enabled when the row is active, meaning "Inactive" = false and disabled when the row is inactive, meaning "Inactive" = true.
As you can see, the button is now always disabled, even for active rows.
I'm currently trying this Calculation Rule code, but obviously it doesn't work:
Is what I'm trying even possible?
And if so, what am I doing wrong here?
Thanks & Regards,
GlennHi, Glenn
What do you mean by "Active" and "Inactive"?
result = false;
if ($data.DataList.LeadSelectedIndex > -1 )
result = true;
end
If you write it in Enabled property of your button ,that code will disable your button when no row is selected.
And your button will be enabled again when a row is selected.
I am not sure if this is what you want.
Regards,
Fred. -
Shiment Cost Calculation Rules
Hi Gurus
Can you please provide me details of configuring Shipment Cost Calculation Rules?
Thank YouHi Brajesh,
Is the following rules you are expecting?
Determining the Calculation Basis
Use
The origin of the data upon which a condition type is based during shipment costing determines the calculation basis. During shipment costing, the system determines the shipment cost items from the different calculation bases for the condition types of a pricing procedure. Shipment costing itself is carried out for each sub-item.
Prerequisites
You must maintain a suitable calculation base in the definition for the condition type in Customizing.
If you select handling units as the calculation basis, you must also specify the packaging material type so that only the relevant handling units are used for shipment cost calculation.
Features
The calculation bases are determined during shipment costing for a shipment cost item on the basis of the settings made in the condition type.
During pricing, the calculation base influences
The condition types to be considered for each sub-item
The information available for determination of the conditions
All condition bases contain information from the shipment header or shipment stage, as well as from the shipment cost item. This information includes service agents, geographical information (point of departure and destination) and shipping type, for example.
How the scale base types (gross weight, net weight and volume) are calculated
The following types of calculation bases are possible:
Deliveries
If condition types with this calculation base exist in the pricing procedure, then the system creates a shipment cost sub-item for every relevant delivery.
No information from the delivery items (such as materials) or the handling units is available.
The scale base types (gross weight, net weight, volume) refer to the corresponding information from the delivery headers.
Delivery items
If condition types with this calculation base exist in the pricing procedure, then the system creates shipment cost sub-items for every relevant delivery item.
Information from the delivery header and the relevant delivery item is available. There is no information from the handling units, however.
The scale base types (gross weight, net weight, volume) refer to the corresponding information from the delivery items.
Group of Handling Units
If condition types with this calculation base exist in the pricing procedure, then the system creates shipment cost sub-items for the sum of all identical handling units with the relevant packaging material type (also specified in the condition type).
There is no information from the deliveries or the delivery items available.
The scale base types (gross weight, net weight, volume) refer to the corresponding cumulated information from the relevant handling units.
Shipment cost item
If condition types with this calculation base exist in the pricing procedure, then the system creates exactly one shipment cost sub-item.
There is no information from the deliveries, the delivery items or the handling units.
The scale base types (gross weight, net weight, volume) refer to the corresponding information from the relevant delivery headers.
Per handling unit
This calculation basis corresponds to the calculation basis handling units, with the only difference that each handling unit is calculated individually. This calculation base is necessary for shipping packages, for example.
Handling unit including delivery item
If condition types with this calculation basis exist in the pricing procedure, then the system creates a shipment cost sub-item for every packaged delivery item and handling unit (per combination of delivery item and handling unit). Shipment costs are therefore calculated with content depending on the handling unit.
All of the information from the handling units and delivery items is available.
The scale basis types (gross weight, net weight, volume) refer to the gross weight of a handling unit per delivery item.
All
You can use this calculation base if, for example, you want to define a discount that applies to both delivery-related and handling unit-related shipment prices. A condition type with this calculation base can be used for every shipment cost sub-item.
Several calculation bases may be used within a shipment cost item. In performing a shipment comparison, for example, the calculation could be performed using two calculation bases. You could then compare the results. See also Shipment Comparisons.
For system load and clarity reasons, we recommend selecting a calculation base that is only as detailed as absolutely necessary. For example, if only the total weight and the transportation leg are relevant, the calculation base for shipment cost items is sufficient. However, you can still distribute the costs in greater detail. The cost distribution is independent of the calculation base. For example, you can calculate shipment costs using the calculation basis for shipment cost items and distribute the costs at delivery item level. The system weights the costs and distributes them accordingly.
When defining the condition tables in Customizing (Logistics Execution ® Transportation ® Shipment Costs ® Pricing ® Pricing Control ® Define price dependencies (condition tables), you should make sure that information is not available for every field - depending upon calculation base. If, for example, you select the field Incoterms for a condition table when condition types with the calculation basis Handling units exist in the pricing procedure, there can be no information on Incoterms for the corresponding sub-item. This means that no condition records will be found for this key. For further information on the role of the condition table in pricing, see Condition Tables.
Please let me know your thoughts.
Thanks nand Regards,
Satheesh Durgi
Edited by: Satheesh on Jan 25, 2011 1:01 PM -
Formula's and Calculation rules in Pricing.
Hi All,
Could anyone who is familiar with pricing please let me know if there is a mapping between the routines(Requirements/Formulas) that we have on the R/3 system and the CRM system, Requirements and Formulas.
We are trying to replicate the pricing procedures in the CRM 2007 system, but we are having a problem in replicating the formulas and requirements. Kindly help us, useful answers will be suitably rewarded.
Regards,
ThiruHi Das,
Schema is is set of rules means when ever you run the pay roll driver for eg: US driver RPCALCU0, in selection screen you have to mention the pay roll driver for US u000 in schema field.
when ever run the driver the set of rules executed and according the rules payroll is calculated.
OR
Each country payroll version supported by SAP has a program called the "payroll driver" that calculates payrolls. For example, in the U.S., the payroll driver is RPCALCU0, in Mexico it is HMXCALC0, and in Canada RPCALCK0. Each one is different, but they share a common core of functionality. The job of the payroll driver is to process payroll functions as specified in a payroll schema. These payroll functions each perform a specific job, for example - reading data from infotypes, calculating taxes, and processing wage types. Some functions process payroll rules. Rules are a collection of payroll operations. Each operation does a small unit of work, such as multiplying a wage typeu2019s number by a rate to get an amount.
Schemas are edited with transaction PE01
Schema rules PE02
Functions and operations are maintained with transaction PE04.
If anything require let me know
Regards
Sudheer -
Business Rules 10g - Dis_count calculation rules
Hello
We have scenario where we need to calculate the total dis_count that can be applied on Order.
Say,
If Customer buying the <service1> for 2 yr contract then
add 10% to <TotalDis_count>
If Customer is Employee then
add 5% to <TotalDis_count>
If it is fall 2010
add 5% to <TotalDis_count>
If Customer's status is "Golden"
add 5% <TotalDis_count> etc..
I have following questions.
1) Can we keep adding dis_count to some variable say <TotalDis_count> and return the total from rule engine ??
2) If we give total base price as fact to BRE then at the end can BRE calculate the dis_counted price after applying the total dis_count ??
3) Also I want to stop applying dis_counts if <TotalDis_count> reaches at its maxlimit say 25%. How should I do that ?? One solution is We can add AND condition <TotalDis_count> < MaxLimit
to all rules. Is there any other way ?
4) What is "Retract" action in BRE? Does it mean BRE erases that fact instance so that it will not match to some other rule ?
Can anyone please help me ?
Thanks
/Mishit
Edited by: Mishit P on Aug 2, 2010 2:44 PMAny input would be appreciated.
Maybe you are looking for
-
Hi, I'm using function module RSCRMBW_REPORT to extract a query in a CSV file. Now, I'd like to extract a second query and put the results at the end of the existing CSV file. Do you know how I can manage this ? Best regards, David
-
Safari Crashes when opening site
Help... I'm a complete Mac noob (computer is less than a week old). Trying to access our city website: http://www.cityoflakeforest.com/cs/fin/cs_fin2b1.htm. Safari crashes with the following error report. Website will open fine in windows and with Ca
-
Exit when Error Comes in Dialog Programme
hii, i have on module programme, working fine but there is one little problem there is table control and validation on one of the column, if the users enters wrong entry it shows error message but if the user enter wrong entry three times and then th
-
EA6350 not letting me connect to Rockstar Game Services
I managed to buy an Xbox One last Saturday with a free copy of GTA V. As I finally finished setting up the Xbox and installing GTA V, I would get an error stating that I couldn't connect to the Rockstar game services. I checked their server status an
-
So when i got my laptop my dad plugged in a cord from my laptop to my desktop so that all my info was transferred to my laptop. However the songs on my itunes on the laptop are not up to date because ive still been using the desktop for itunes. now i