Funçãozinha simples:
call function 'HR_BR_CONTRACTUAL_SALARY'
exporting
begda = gv_primeiro_dia
endda = gv_ultimo_dia
perno = ls_pa0000-pernr
fc_sw_dec = space
calc_currency = 'BRL'
tables
it = lt_salario
exceptions
no_contractual_salary = 1
pass_exception = 2
others = 3.