call function 'HR_BEN_READ_EE_BENEFIT_DATA'
exporting
pernr = persn-pernr
datum = persn-date
reaction = no_msg
importing
ee_benefit_data = ee_benefit_data
subrc = subrc
tables
error_table = error_table.
*----Read Credit plans
call function 'HR_BEN_READ_CREDIT_PLANS'
exporting
pernr = persn-pernr
begda = persn-date
endda = persn-date
reaction = no_msg
importing
subrc = subrc
tables
ex_cred_plans = credit_display
error_table = error_table.
*--Read health Plans
call function 'HR_BEN_READ_HEALTH_PLANS'
exporting
pernr = persn-pernr
begda = persn-date
endda = persn-date
reaction = no_msg
importing
subrc = subrc
tables
ex_heal_plans = health_display
error_table = error_table.
*---Get the benifit dependendants of the employee
call function 'HR_BEN_READ_DEPENDENTS'
exporting
ee_benefit_data = ee_benefit_data
bpcat = health
begda = persn-date
endda = persn-date
reaction = no_msg
importing
subrc = subrc
tables
existing_dep = depend_display_h
error_table = error_table.
*---Read insurance plans
call function 'HR_BEN_READ_INSURANCE_PLANS'
exporting
pernr = persn-pernr
begda = persn-date
endda = persn-date
reaction = no_msg
importing
subrc = subrc
tables
ex_insu_plans = insure_display
error_table = error_table.
*---Read benificiaries for the employee
call function 'HR_BEN_READ_BENEFICIARIES'
exporting
ee_benefit_data = ee_benefit_data
bpcat = insurance
begda = persn-date
endda = persn-date
reaction = no_msg
importing
subrc = subrc
tables
existing_ben = benefi_display_i
error_table = error_table.
*---Read saving plans
call function 'HR_BEN_READ_SAVINGS_PLANS'
exporting
pernr = persn-pernr
begda = persn-date
endda = persn-date
reaction = no_msg
importing
subrc = subrc
tables
ex_save_plans = saving_display
error_table = error_table.
*---Read investiments
call function 'HR_BEN_READ_INVESTMENTS'
exporting
ee_benefit_data = ee_benefit_data
bpcat = savings
begda = persn-date
endda = persn-date
reaction = no_msg
importing
subrc = subrc
tables
existing_inv = invest_display_s
error_table = error_table.
*---Read spending plans
call function 'HR_BEN_READ_SPENDING_PLANS'
exporting
pernr = persn-pernr
begda = persn-date
endda = persn-date
reaction = no_msg
importing
subrc = subrc
tables
ex_spen_plans = spenda_display
error_table = error_table.
*---Read miscellaneous plans
call function 'HR_BEN_READ_MISCEL_PLANS'
exporting
pernr = persn-pernr
begda = persn-date
endda = persn-date
reaction = no_msg
importing
subrc = subrc
tables
ex_misc_plans = miscel_display
error_table = error_table.
ALSO READ:
- Sample Code For Do Varying In HR ABAP.
- Get Family Data In HR ABAP.
- Net Salary Report In HR ABAP.
- Cumulative Amount Report in HR ABAP.
- Use Of Time Macro rp-read-all-time-ity in HR ABAP.
.....Back To Index On HR ABAP.
.....Back To MAIN INDEX.
No comments:
Post a Comment