Go Back   Wiki NewForum | Latest Entertainment News > Career Forum & Tips > SAP HCM Forum > SAP HCM Payroll Forum


Topic 41: PCR (Overview)


Reply
Views: 32214  
Thread Tools Rate Thread
Payroll Time OM & PA Portal Payroll Fixes Career Tips SuccessFactors
  #61  
Old 03-21-2009, 10:16 AM
freesaphr freesaphr is offline
Award Winner
 
Join Date: Jan 2009
Posts: 10,494
Same way VVVVVV

Reply With Quote
Payroll Time OM & PA Portal Payroll Fixes Career Tips SuccessFactors
  #62  
Old 03-21-2009, 10:17 AM
freesaphr freesaphr is offline
Award Winner
 
Join Date: Jan 2009
Posts: 10,494
Like our example $500 comes under Variant 3 : nnnnnn Direct Values

Reply With Quote
Payroll Time OM & PA Portal Payroll Fixes Career Tips SuccessFactors
  #63  
Old 03-21-2009, 10:18 AM
freesaphr freesaphr is offline
Award Winner
 
Join Date: Jan 2009
Posts: 10,494
Same follows for NUM, RTE also

Reply With Quote
Payroll Time OM & PA Portal Payroll Fixes Career Tips SuccessFactors
  #64  
Old 03-21-2009, 10:20 AM
freesaphr freesaphr is offline
Award Winner
 
Join Date: Jan 2009
Posts: 10,494
The same in Document.

AMT: Calculations in the Current Amount Field

Changing or call up values in the amount field.

Input

The operation enters data in the field AMT or evaluates the AMT field. Behind the operation name AMT comes an operator that determines the access mode for the current field. The operator is followed by a six- digit operand that describes the procedure for determining the value of the operand.

Procedure

The operation AMT accesses two different fields:

o The current work field is the AMT field of the heading of table OT, which is evaluated by the value change or query. Changes to the field content that are triggered by operation NUM are executed in this field.

The operation AMT can also be used as decision operation. In this case, the rule line that contains the operation must be flagged with rule type 'D'. Depending on the values of the two fields concerned, the variable key is refined.

Syntax

OOOSVVVVVV
OOO AMT Name of operation

S 1 place operator Operators for NUM, RTE, AMT

VVVVVV 6 places operand Operands for NUM, RTE, AMT

Note

Calculations can be made in the current NUM field (number field) with the operation NUM. Calculations can be made in the current RTE field (amount per unit field with the Operation RTE. Processing of operations NUM, RTE and AMT is almost identical, with a few minor exceptions.

Examples

You can find examples of the operations under Operators for NUM, RTE, AMT.

Operators for the ANZ, BPE and BTR operations

Object

Additional operation documentation

Explanation

The operator directly follows the operation name NUM, RTE or AMT. It determines the access mode for the current work field.

Operator ! Meaning

+ Addition

- Subtraction


* Multiplication


/ Division


$ Integral division


A remainder resulting from the division is ignored,
there is no rounding off.

% Percentage

A percentage of the value in the current field
is determined and entered in the field.

= Equals

< Minimum formation


> Maximum formation

S Subtraction to 0 (not negative)


? Compare for use in a decision rule


The variable argument is refined by <,= oder >
W Square root

As input and as output values, numbers with two places after the comma are used. The input must lie between 0 and 19.999.999,99

V The variable argument is refined by the number or parts of the number to be found in the fields NUM, RTE or AMT.

Structure of operands: nOmL, that is, n places offset and m places length. Only n and m can accept variable values, while O and L are fixed. n contains the offset in the number from the right,

i.e. the number of places from the right that are not cut off. m contains the output length of the number that is entered in the variable argument.

Example: In the NUM field, you find the number 12345678 (The number may not contain more than 8 digits for offset determination).

With NUMV0O2L the last two places of the number are entered in the variable argument. The offset from the right is 0, the length 2.

The number 78 is entered in the argument. With NUMV2O3L 456 is entered in the variable argument The offset from the right is 2, the length is 3.

Examples

OOOSVVVVVV

AMT= PKWWR Write the contents of the field PKW value in the current AMT field.
AMT%50 Write 50% of the current value of the
AMT field in the current AMT field.

AMT%KPKWPR A percentage is determined of the current
value of the AMT field For this purpose, the value of the field PKWPR in table T511K is read. The value in this field defines the percentage used for the current value of the AMT field. The result of this calculation is written to the AMT field.

AMT*-1 Multiply the current value of the
AMT field ny minus 1.
AMT+ 0001 Add the contents of the AMT field of wage type 0001 in table IT to the current value of the AMT field.
AMT<50 Minimum formation: The smaller value from 50 and the current value of the AMT field is determined and written to the current AMT field.
AMT=& /426 The value of the AMT field of the variables /426 is read and written to the current AMT field.

D AMT?0 The value of the AMT field is compared with 0 and the result of the comparison ('>', '=' oder '<') is entered in the variable argument. If, for example, the value of the AMT field is greater than 0 '>' is entered in the variable argument.

Note that the rule line contained in the operation must be flagged with rule type 'D'.

See also

Behind the three-digit operation name (NUM, RTE, AMT) and the one-character operator, comes the six-character operand.
Reply With Quote
Payroll Time OM & PA Portal Payroll Fixes Career Tips SuccessFactors
  #65  
Old 03-21-2009, 10:28 AM
freesaphr freesaphr is offline
Award Winner
 
Join Date: Jan 2009
Posts: 10,494
Hi

PCR's comes to picture if configuration is possible in general navigation.

Like our example addition $500 to all is not possible to add to each and every EE Master Data and possible but takes hell of time.

And some scenarios PCR are the only the solution to each client requirement in that case we need must write PCR.

More Examples in next class.

Practice and understand Operations as much you can.

ANY QUESTIONS?

Thanks
Wiki
Reply With Quote
Reply

Tags
pcr

Latest News in SAP HCM Payroll Forum





Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2024, vBulletin Solutions, Inc.