Get Payslip PDF
*** Data
DATA : gv_seqnr LIKE pa0001-seqnr,
gv_pernr LIKE pa0001-pernr.
DATA : gt_form LIKE pc408 OCCURS 0 WITH HEADER LINE,
gs_info LIKE pc407 ,
gs_return TYPE bapireturn1.
*** Function
CALL FUNCTION 'GET_PAYSLIP'
EXPORTING
employee_number = gv_pernr
sequence_number = gv_seqnr
payslip_variant = 'PDF'
IMPORTING
return = gs_return
p_info = gs_info
TABLES
p_form = gt_form[].
No comments:
Post a Comment