Difference between revisions of "SAP HCM SCHEMA"
From SapWiki
| Line 6: | Line 6: | ||
===[https://blogs.sap.com/2013/11/13/payroll-operations/ Payroll Operations]=== | ===[https://blogs.sap.com/2013/11/13/payroll-operations/ Payroll Operations]=== | ||
===[https://answers.sap.com/questions/5915747/model-of-operation.html Model of Operations]=== | ===[https://answers.sap.com/questions/5915747/model-of-operation.html Model of Operations]=== | ||
| + | ===Ejemplo Operacion=== | ||
| + | <nowiki> | ||
| + | Operación: Z_COL | ||
| + | Parámetros | ||
| + | Modelo: EY Estr.: OOOOOFFFFF | ||
| + | Val.parámetro | ||
| + | ValorF: COLO | ||
| + | ValorS | ||
| + | Tipo V | ||
| + | Long. V | ||
| + | Signific.: es del colo colo? | ||
| + | Verif.# | ||
| + | Reac: D | ||
| + | Tp.VA: SWITCH | ||
| + | VA larga: 1 | ||
| + | |||
| + | FORM OPZ_COL. | ||
| + | case op+5(5). | ||
| + | when 'COLO'. | ||
| + | perform es_del_colo. | ||
| + | when others. | ||
| + | endcase. | ||
| + | endform. | ||
| + | |||
| + | form es_del_colo. | ||
| + | data l_f type abap_bool. | ||
| + | |||
| + | SELECT @abap_true AS es_del_colo INTO @l_f FROM zequipos UP TO 1 ROWS | ||
| + | WHERE pernr = @pernr-pernr and | ||
| + | object = 'FUTBOL' AND | ||
| + | equipo = 'COLOCOLO'. | ||
| + | endselect. | ||
| + | |||
| + | VARGT = l_f. | ||
| + | PERFORM fillvargt | ||
| + | endform.</nowiki> | ||
==[https://blogs.sap.com/2014/01/15/step-by-step-guide-to-create-payroll-custom-function/ create payroll custom function]== | ==[https://blogs.sap.com/2014/01/15/step-by-step-guide-to-create-payroll-custom-function/ create payroll custom function]== | ||
Revision as of 15:42, 26 August 2023
Contents
Esquemas y Reglas
Debugging the Payroll Schema
Payroll Operations
Payroll Operations
Model of Operations
Ejemplo Operacion
Operación: Z_COL
Parámetros
Modelo: EY Estr.: OOOOOFFFFF
Val.parámetro
ValorF: COLO
ValorS
Tipo V
Long. V
Signific.: es del colo colo?
Verif.#
Reac: D
Tp.VA: SWITCH
VA larga: 1
FORM OPZ_COL.
case op+5(5).
when 'COLO'.
perform es_del_colo.
when others.
endcase.
endform.
form es_del_colo.
data l_f type abap_bool.
SELECT @abap_true AS es_del_colo INTO @l_f FROM zequipos UP TO 1 ROWS
WHERE pernr = @pernr-pernr and
object = 'FUTBOL' AND
equipo = 'COLOCOLO'.
endselect.
VARGT = l_f.
PERFORM fillvargt
endform.
create payroll custom function
Tablas (T52*)
T52BO - Parámetro de operación T52C5 - Reglas (PE02)