如下数据均取自SAP注释。
一、工资项有三个属性: NUM数量 *RTE比例= AMT数量
The operation processed the following wage type fields:
NUM (Number)数量:解读和AMT相同
RTE (Rate)比例:解读和AMT相同
AMT (Amount)金额
操作AMT访问两个不同的字段:
(1)当前工作字段是OT表表头的金额字段,通过值更改或查询进行评估。更改由操作NUM触发的字段内容在中执行此字段。
(2)操作金额也可以用作决策操作。在这种情况下,包含操作的规则行必须标记为规则类型“D”。根据两个相关字段的值,变量关键是完善。
可以在当前NUM字段(number字段)中使用可以在当前RTE字段中进行操作数计算(操作RTE的单位金额字段。操作处理NUM、RTE和AMT几乎相同,只有几个小的例外。
二、涉及到工资项的解读有两个:
(1)加减乘除(详见下面的解读)
(2)AMT\RAT\NUM取值
符号 | 使用 |
+ | 加 |
- | 减 |
* | 乘 |
/ | 除 |
$ | 整数除法忽略除法产生的余数,没有四舍五入 |
% | 百分比确定当前字段中值的百分比,并在字段中输入。 |
= | 等于 |
< | 小于 |
> | 大于 |
S | 减法为0(非负) |
? | 比较以在决策规则中使用变量参数通过<,=order> |
W | 平方根作为输入值和输出值,带有两个使用逗号后的位置。这个输入必须介于0和19.999.999,99之间 |
V | 变量参数由数字或部分细化在字段中找到的编号NUM、RTE或AMT。 |
1、 MULTI:此操作将表OT当前条目的两个字段相乘,并将结果存储在第三个字段中。
下面的这些可以直接用来乘:(前两个相乘,最后一个是结果)
1st Factor 2nd Factor Product Syntax
Amount Number Rate MULTI ANR
Amount Number Rate MULTI NAR
Amount Number Amount MULTI ANA
Number Amount Amount MULTI NAA
Number Rate Amount MULTI NRA
Rate Number Amount MULTI RNA
Number Rate Rate MULTI NRR
Rate Number Rate MULTI RNR
下面的这些乘法需要借助常量表:V_T511P
以您的工资货币表示的值为1的常量(工资单常量)用于您的国家/地区分组。例如,定义常量$CORR的值为1,尤其是使用此常量乘以或除以乘法的每个结果。
1st Factor 2nd Factor Product Syntax
Amount Number Number MULTI ANN
Rate Number Number MULTI RNN
Number Amount Number MULTI NAN
Number Rate Number MULTI NRN
这些乘法的后续操作:NUM/I<常量>示例:NUM/I$CORR
1st Factor 2nd Factor Product Syntax
Amount Rate Amount MULTI ARA
Rate Amount Amount MULTI RAA
这些操作的后续操作:金额/I<常量>示例:金额/I$更正
1st Factor 2nd Factor Product Syntax
Amount Rate Rate MULTI ARR
Rate Amount Rate MULTI RAR
这些操作的后续操作:RTE/I<常量>示例:RTE/I$CO
我们建议您始终使用表T511P中的常数,用于在后续操作中进行乘法或除法,而不是在操作本身期间指定的值。这样做的好处如果您更改工资货币(例如转换为欧元或多重十进制解决方案)您只需更改常数的单位,而不是每个人员的计算规则包括在此操作中。
You should not use the following multiplcations:下面的不可以用。
1st Factor 2nd Factor Product Syntax
Amount Rate Number MULTI ARN
Rate Amount Number MULTI RAN
2、除法操作DIVID
OOOOO xyz OOOOO DIVID Operationsname
x Dividend被除数
y Divisor除数
z Quotient结果
这些字段中的每一个都可以被任何其他字段分割,并且结果也可以放置在任何字段中。
被零除会导致出现错误消息并拒绝拒绝当前正在处理的人员编号。
例外:如果分母和数字都为零,则也会得到除法值为零。
3.变量操作数主题
1 X nnnn工资类型
2 Xnnnnn表格字段
3 nnnnnn直接值
4 nnnnn报告布局字段
5 nnnn IT工资类型
(1) X nnnn工资类型
1st Variant: Wage Types
Valid for the operands A, C, E, H, L, M, N, O, P, Q, R, S, U, V, W, X, Z.
OOOOOO
X nnnn
X: Table
nnnn: Wage Type
X | Table | Comment |
A | VAG | Previous employer data 以前的雇主数据 |
C | CRT | Cumulative wage types For more information, see Special cases for 1st variant. 累积工资类型有关更多信息,请参阅第一个变量的特殊情况。 |
E | RT | Result wage types Unlike the operand R, all splits are removed from table RT before reading. 结果工资类型与操作数R不同,在读取之前,将从表RT中删除所有拆分。 |
H | AIT | Alternative IT 替代IT |
L | LRT | Last RT 上一期的LRT |
M | MV | Cumulations for averages 平均值累积 |
N | LO | 只能与P0045或PRT一起使用。操作数N仅允许用于该操作 |
O | VORT | 汇总ORT |
Q | OCRT | 旧的累计工资类型 |
R | RT | Result wage types for an exact split Unlike operand E, table RT is read for a specific split (meaning the splits are not deleted before being read). 精确分割的结果工资类型与操作数E不同,为特定拆分读取表RT(意味着在读取拆分之前不会删除拆分)。 |
W | ZL | Time wage types 时间工资类型 |
Z | OT | 输出表有关更多信息,请参阅第一种变型的特殊情况。 |
还有一些针对不同的国家,因为没有中国地区,所以不再梳理,想了解更多查看对应的解读。
还有一些特殊的第一个标量,可以查看下面的说明:
X | Table | Comment |
* | IT header | The system reads the amount from the relevant field of the header of table IT. In this way you can restore an amount, for example. Example: NUM=* Note that no other character follows the operand *. Most functions that call a personnel calculation rule automatically also fill the IT header. For this reason the operand * can also be used for functions other than PIT (for example, PRT). 系统从表IT标题的相关字段读取金额。例如,通过这种方式,您可以恢复金额。示例:NUM=*请注意,操作数*后面没有其他字符。大多数自动调用人员计算规则的函数也会填充IT标题。因此,操作数*也可用于PIT以外的函数(例如,PRT)。 |
& | VAR | Variable table The variable is created with a previous operation under the variable name. Example: ADDWT&ABCD An entry ABCD is created in the variable table. NUM=& ABCD The value of the variable ABCD is stored in the current NUM field. Note that there is a space after the operand &. 变量表使用变量名称下的上一个操作创建变量。 示例: ADDWT&ABCD 在变量表中创建一个条目。NUM=&ABCD变量的值存储在当前NUM字段中。请注意,操作数&后有一个空格。 |
使用不同的键读取不同的操作数。
Operand Key
A Wage type
C Wage type, cumulation type
E Full key from table RT
H Table AIT with all splits
L Wage type
O Wage type
Q Wage type, cumulation type
R Full key of table RT
W Full key of table ZL
Z Full key of table OT
D Wage type
2 Xnnnnn表格字段
2nd Variant: Table Fields
Valid for the operands B, F, G, I, J, K, T, Y.
The value of the operand is calculated from a certain table field.
OOOOOO
Xnnnnn
X Table
nnnnn Table field
In the table called by the value you entered at location X, the system reads the table field you entered at locations nnnnn. The content of this table field is the value of the operand. Processing is identical for the operations NUM, RTE, and AMT.
在由您在位置X输入的值调用的表中,系统读取您在位置nnnnn输入的表字段。此表字段的内容是操作数的值。操作NUM、RTE和AMT的处理相同。
X | Table |
B | With the TABLE operation, when the system processes a personnel calculation rule it calls a particular table. With operand B for operations NUM, RTE, and AMT, the system finds the line of this table that is relevant to the employee for whom payroll is currently being performed. The value of this field, which is entered at locations nnnnn, is written to the current NUM, RTE, or AMT field. For the field names, see the Data Dictionary 通过表操作,当系统处理人员计算规则时,会调用特定的表。对于操作数NUM、RTE和AMT的操作数B,系统将查找此表中与当前正在为其执行工资单的员工相关的行。此字段的值(在位置nnnnn处输入)写入当前NUM、RTE或AMT字段。有关字段名称,请参阅数据字典 |
F | Date Specifications With operand F, the system evaluates Date Specifications to calculate deadlines. The system provides the data using the DATES function. 使用操作数F,系统评估日期规范以计算截止日期。系统使用DATES函数提供数据。 |
G | Partial Period Parameter Whole Month 根据员工的个人工作计划表(WBS),计划工作时间总计为工资期内的基本工资期 根据员工的个人工作计划,工资期内的总工作时间在工资期内的基本工资期内总计 工资期内的总工作时间(统一费率) 根据员工的WBS,工资期内的总工作时间在工资期和特定工作日的基本工资期内总计。 根据表T554C中评估的缺勤情况,员工的无薪缺勤总计为工资期内的基本工资期。在某些情况下,它们是加权的。 **所有未付缺勤的总和(所有班级总计) 根据表T554C中评估的缺勤情况,员工的带薪缺勤情况,使用工资单期间的基本工资期进行合计。在某些情况下,可能会对其进行加权。 7、员工非工作日的带薪公共假期(指非0或2天类型的公共假期),未填写工资期基本工资期内的缺勤总额 8、员工非工作日的带薪公共假期(指非0或2天类型的公共假期),未填写工资期基本工资期内的缺勤总额 9、因工作时间减少而缺勤 10、因工作时间减少和生病而缺勤 |
I | Constant from T511P. The system reads a constant from table T511P (Payroll Constants) and puts its value in the NUM, RTE or AMT field. If the constant is time-dependent, the system also determines the date when the constant is read (usually the end date of the WPBP period). T511P中的常数。 系统从表T511P(工资单常量)中读取常量,并将其值放入NUM、RTE或AMT字段。如果常数与时间相关,系统还会确定读取常数的日期(通常是WPBP周期的结束日期)。 |
J | Constant from T510H The system reads a constant from table T510H (Payroll Constants Based on Time Unit) and puts its value in the NUM, RTE, or AMT. The system reads the time unit of the pay scale that the employee belongs to in the current WPBP period. For this operand, the wage type must have a WPBP split. T510H后的常数 系统从表T510H中读取一个常量(基于时间单位的工资单常量),并将其值放入NUM、RTE或AMT中。系统读取员工在当前WPBP期间所属薪级表的时间单位。对于此操作数,工资类型必须具有WPBP拆分。 |
K | Constant from T511K The system reads a constand from table T511K (Payroll Constants) and puts its value in the NUM, RTE, oder AMT field. Unlike table T511P, which is accessed using operand I, this table has no currency field and therefore contains in particular percentages, interest rates, and so on. T511K的常数 系统从表T511K(工资单常量)中读取常量,并将其值放入NUM、RTE、oder AMT字段。与使用操作数I访问的表T511P不同,此表没有货币字段,因此包含特定的百分比、利率等。 |
T | 部分期间参数部分期间 根据员工组或子组,系统确定特定的时间管理数据。有关此数据的更多信息,请参阅部分时段的部分时段参数。系统将以这种方式确定的操作数值传输到NUM、RTE或AMT字段。与操作数G不同,系统只考虑相应期间内工资类型的当前WPBP期间,不累计任何内容。有关详细信息,请参见操作数G和T的特殊情况 |
Y | 系统字段:对于操作数Y,系统调用各种系统字段。(例如,in period year)。可能的属性列在系统字段下 |
示例:操作数B:输入主要工资类型的员工子组分组
the NUM field:
TABLE 503
NUM=BABTYP
Table T503 contains indicators for employee groups and subgroups. The operation TABLE 503 calls this table and goes to the row that is relevant to the employee for whom payroll is currently being performed. The operation NUM=BABTYP takes the value of the ABTYP field (employee subgroup grouping for primary wage types) in the selected row and writes it to the current NUM field as the operand value.
表T503包含员工组和子组的指标。操作表503调用该表并转到与当前正在为其执行工资单的员工相关的行。运算NUM=BABTYP取所选行中ABTYP字段(主要工资类型的员工子组分组)的值,并将其作为操作数值写入当前NUM字段。
示例:操作数B:将M2STD字段的值放入RTE字段:
TABLE 508A
RTE=BM2STD
Table T508A contains the work schedule rules. The operation TABLE 508A calls this table and goes to the row relevant to the employee in question. The operation RTE=BM2STD takes the value of the M2STD field (additional monthly hours) in this row, and puts it in the current RTE field as the operand value.
表T508A包含工作计划规则。操作表508A调用该表并转到与所述员工相关的行。操作RTE=BM2STD取此行中M2STD字段的值(额外的每月小时数),并将其作为操作数值放在当前RTE字段中。
3 nnnnnn直接值
If the first place of the operand is neither filled with the characters described in the variants 1 and 2 nor contains a space, the places after the operator are interpreted as a direct value. In this case, the operand is a fixed number nnnnnn. You can use this to, for example,perform calculation operations.Processing is identical for the operations NUM, RTE and AMT.
如果操作数的第一个位置既没有填充变体1和2中所述的字符,也没有包含空格,则运算符后面的位置将被解释为直接值。在这种情况下,操作数为固定数nnnn。例如,您可以使用它来执行计算操作。操作NUM、RTE和AMT的处理相同。
Examples示例:
(1)NUM*100000
The value that is currently in the NUM field, is multiplied by100,000.
(2)NUM+123
The number 123 is added to the value that is currently in the NUM field.
(3)NUM-1
1 is subtracted from the value that is currently in the NUM field.
(4)NUM/2.54
The value that is currently in the NUM field is divided by 2.54.
The value specified in the operand is, in any case, only processed as a direct value if no V is specified as an operator. The operator V triggers the offset calculation and causes the length of the offset to be specified in the first place of the operand. You can find information on the offset calculation under Operators for NUM, RTE and AMT. Example: In the operation NUMV2O3L , the 2 in the first place of the operand is not interpreted as a direct value.
在任何情况下,只有在没有将V指定为运算符的情况下,才将操作数中指定的值作为直接值处理。运算符V触发偏移计算,并使偏移的长度在操作数的第一位指定。您可以在NUM、RTE和AMT运算符下找到有关偏移计算的信息。示例:在操作NUMV2O3L中,操作数第一位的2不解释为直接值。
4 nnnnn报告布局字段
当操作数的第一位未填充而第二位已填充时,会出现此变体。
记录布局字段是变量,在运行人员计算规则时可以访问这些变量。它们提供了访问任何字段的选项,例如,这些字段没有出现在表OT。开始运行人员计算规则时,这些字段不会初始化,因此各个字段的内容可能会根据处理顺序发生很大变化。这些因此,只能访问记录布局字段下指定的函数的字段对于单独的字段,因为所寻址的记录布局字段的内容是未定义的。
使用操作NUM=nnnnn访问这些字段,并在第五个空格中加上空格。相关记录在此处用nnnnn标记的五个地方命名。
示例:NUM=ANZHL
ANZHL字段是信息类型0014(经常性付款和扣除)和其他信息类型的字段。由于此字段未传输到OT标题,因此必须使用相关的记录布局字段进行访问。NUM=ANZHL将ANZHL字段的内容传输到NUM字段。
RTE和AMT操作的处理相同。
有关记录布局字段以及可在操作编号、RTE和AMT中处理哪些记录布局字段的更多信息,请参阅记录布局字段和特定国家/地区记录布局下领域。
5 nnnn IT工资类型
此变量的操作数的第一位和第二位未填充。表IT的工资类型为nnnn。
工资类型nnnn从内部表格中读取,计算的值存储在表格OT的NUM、RTE或AMT字段中。操作NUM、RTE和AMT的处理相同。
对于此变量,系统使用以下部分键进行读取:人员计算规则的员工子组分组、工资类型、WPBP拆分、国家/地区拆分1-3和替代付款拆分。
Example:
AMT= /101
The amount of the wage type /101 from the table IT is written to the current AMT field. Please be aware that two spaces follow after the operator '='.