You are on page 1of 16

*---------------------------------------------------------------------* * Data for US (Tax/General) * *---------------------------------------------------------------------* * ERP2005 * ======= * SAMERP2005 03/11/2005 Added taxable base handling with table

TXBLWT * ECC 5.00 * ==== * XIT872651 09/08/2005 Variables for user exit for >99 exemptions * WSB867470 08/02/2005 Added Live/work indicator * WSB843444 07/14/2005 TAX: Adding technical supplemental wage type * XIT779755 10/05/04 Wage base continuity for CO and tax type 78 * 4.70 * ==== * JET618795 04/30/2003 Work Tax Area Override (revised) * PHS586954 03/19/2003 cleanup unused global variables (former UTPRI) * LWW571878 01/21/2003 CA supplemental combined with regular * PHS584020 01/07/2003 remove pernr dependency in pbsi_1_standard * LWW561219 10/09/2002 Tax ceilings checked for tax types in T5UTX * YBH549199 08/26/2002 Virginia (VA) reductional tax withholding * SVK540100 08/05/2002 Distribution payments * LWW531111 08/02/2002 Negative taxables development * LWW512661 06/20/2002 Added pyus_exit1 constant for user exit * WIV502338 03/11/2002 Connecticut (CT) reductional tax withholding * PHS 11/13/2001 deletion of coding referring to drt/drvr_dfrt * PHS 11/12/2001 CE preparation * LWW350641 10/13/2001 Tax types 37 and 38 treated like UI * SAM419309 07/12/2001 Note 419309: MSC: Elimination of unused pre-99 * tax processing tables * SAM411080 06/05/2001 Note 411080: Split up of tax includes * LWWNT354360 03/22/2001 New Mexico Worker's Compensation Tax * SURNT350636 01/03/2001 GTL for child. Note 350636 * LCP 7 * JETNT326043 09/29/2000 Continuity for unemployment type taxes * JETNT216713 09/29/2000 Erroneous generation of /QXX * JETNT306840 08/18/2000 MA tax retro change * 4.6C * JETL9BK002281A 01/12/2000 Retrofit previous LCP changes from L9B * ->YIYL4DK018175A Add a new field to handle mid-year rate * changes for Employer taxes like health care * or workforce development. * ->JETL9BK002281 Entries in UNB not properly accounted for * in retro Note: 188465 * ->XCQL4DK018175 unemployment and disability tax for NJ * css note: 185863/1999 * ->JETL4DK017748 Restore ability to cap withheld taxes in * a retrocalculation Note: 180299 * 4.6B * JETL3HK012968S 09/25/1999 L3H amendments of the TWP tax module YE99 * JETPH9K011481 07/25/1999 Implementation of the TWP tax module YE99 *----------------------------------------------------------------------* * Class definition loads *----------------------------------------------------------------------* *<JET618795> class: */Constant class cl_hrpayus_const definition load, */Services class cl_hrpayus_services definition load,

*/BAdI factory class cl_exithandler definition load. *</JET618795> *----------------------------------------------------------------------* * Constants *----------------------------------------------------------------------* *<JET618795> */Constants for rounding constants: gc_rounding type i value 1000. *</JET618795> */Constant value for non-withholding state in T5UTZ constants: gc_t5utz_w4ind_nonwh type w4ind value '4'. * constant for do loop constants: cst_tax_loop_num(2) type p value 15. * cumulation calendar types constants: cumul_year value 'Y', cumul_quarter value 'Q', cumul_month value 'M'. * wage type classification constants: wgeid_taxable wgeid_tax wgeid_report wgeid_taxed wgeid_ntk wgeid_nrd_ntxco wgeid_taxnt wgeid_ntcollect wgeid_ucgtl wgeid_supp for TCRT like t5uto-wgeid like t5uto-wgeid like t5uto-wgeid like t5uto-wgeid like t5uto-wgeid like t5uto-wgeid like t5uto-wgeid like t5uto-wgeid like t5uto-wgeid like t5uto-wgeid like like like like like like like like like like like like like like like like like like like like like like like value value value value value value value value value value '1', '2', '3', '4', '5', '6', '7', '8', 'G', 'S'. value value value value value value value value value value value value value value value value value value value value value value value

"WSB843444 '01', '02', '03', '04', '05', '06', '07'," '08'," '10'," '11'," '13'," '14'," '15'," '16'," '17', '18', '20', '23', '24', '25', '28', '30'," '31',

* us tax types constants: us_withhold_tax_type us_eic_tax_type us_ee_soc_s_tax_type us_er_soc_s_tax_type us_ee_medic_tax_type us_er_medic_tax_type us_er_stuit_tax_type us_er_schrg_tax_type us_er_unemp_tax_type us_er_debrp_tax_type us_er_esenh_tax_type us_er_reemp_tax_type us_er_jbdev_tax_type us_er_train_tax_type us_er_hlins_tax_type us_er_wkdev_tax_type us_ee_unemp_tax_type us_ee_hlins_tax_type us_ee_wkdev_tax_type us_ee_comui_tax_type us_er_comui_tax_type us_er_wcomp_tax_type us_er_disab_tax_type

t5utt-taxty t5utt-taxty t5utt-taxty t5utt-taxty t5utt-taxty t5utt-taxty t5utt-taxty t5utt-taxty t5utt-taxty t5utt-taxty t5utt-taxty t5utt-taxty t5utt-taxty t5utt-taxty t5utt-taxty t5utt-taxty t5utt-taxty t5utt-taxty t5utt-taxty t5utt-taxty t5utt-taxty t5utt-taxty t5utt-taxty

Nt.0326043 Nt.0326043 Nt.0326043 Nt.0326043 Nt.0326043 Nt.0326043

Nt.0354360

us_er_suppl_pension_tax_type like t5utt-taxty value '34', us_er_dislc_tax_type like t5utt-taxty value '36'," Nt.0326043 us_er_admct_tax_type like t5utt-taxty value '37',"LWW350641 us_er_invst_tax_type like t5utt-taxty value '38',"LWW350641 us_er_emadm_tax_type like t5utt-taxty value '39'," Nt.0326043 us_ee_wcomp_tax_type like t5utt-taxty value '40'," Nt.0354360 us_ee_disab_tax_type like t5utt-taxty value '41', us_ee_suppl_pension_tax_type like t5utt-taxty value '42', us_ee_jedd_tax_type like t5utt-taxty value '47',"NOTE:449285 us_ee_v_dis_tax_type like t5utt-taxty value '48', us_ee_occup_tax_type like t5utt-taxty value '51', us_ee_school_tax_type LIKE t5utt-taxty VALUE '53', "WSB734598 us_er_occup_tax_type like t5utt-taxty value '54', us_ee_ccf_tax_type like t5utt-taxty value '76',"VIN989852 us_ee_usrchg_tax_type like t5utt-taxty value '78', "XIT779755 us_er_solsur_tax_type like t5utt-taxty value '82', us_ee_lst_tax_type us_ee_fli_tax_type us_dummy_tax_type like t5utt-taxty value '84', like t5utt-taxty value '87', like t5utt-taxty value '00'. pc207-lgart pc207-lgart pc207-lgart pc207-lgart pc207-lgart pc207-lgart pc207-lgart pc207-lgart pc207-lgart pc207-lgart pc207-lgart pc207-lgart pc207-lgart pc207-lgart pc207-lgart value value value value value value value value value value value value value value value '/101', '/110', '/114', '/551', '/561', '/5U0', '/5U1', '/5U2', '/5U3', '/5UG', '/5UB', '/5UA', '/5UT', '/5UU', '/5UH'.

* tax relevant wage types constants: wt_gross_wage wt_ee_ded_tot wt_base_wage wt_recalc_dif wt_over_payment wt_tot_ee_tax wt_tot_er_tax wt_gr_up_result wt_paid_period wt_tax_gross wt_tax_base wt_gen_taxable wt_act_hours wt_tax_hours wt_sui_hours

like like like like like like like like like like like like like like like

constants: wt_good_money like pc207-lgart value '/5PY'. * group term life wage types constants: wt_gtl_ee like pc207-lgart value '/BU1', wt_gtl_dep like pc207-lgart value '/BU2', wt_gtl_child like pc207-lgart value '/BU3'. "Nt.0350636 * processing classes for tax processing constants: pcldr(2) value '64', "Formula number group "WSB704776 prorat_prcls(2) value '67', "second proration step pclpt(2) value '68', "payment type pcled(2) value '69', "earnings or deduction pcltc(2) value '71', "tax./ded. per tax auth/tax type pclet(2) value '72', "employer/employee paid taxes pclic(2) value '84'. "Regular/Tip income * processing class 67 values: proration types for first proration step constants: prorat_fact(1) value '2', prorat_its(1) value '3'.

* processing class 68 values: tax constants: bsi_regular value bsi_supplemental value bsi_cumulative value bsi_vacation value bsi_grossreg value bsi_grosssup value bsi_gtl value * generic payment types constants: no_override constants: no_default

payment types '1', '2', '3', '4', '5', '6', 'G'.

value '*'. value '*'.

* processing class 72 values: employer/employee tax constants: prcl_ee_tax value '1', prcl_er_tax value '2'. * for linkage of wagetypes (previously 'derived wagetype' in T512W) constants: indlg_tax_ntk like t51p1-indlg value '03'. * processing class 84 values: constants: incid_reg incid_tip incid_noc incid_tip_indirect incid_sub_min type of income value ' ', value '1', value '2', value '3', value '4'.

constants: underpay type c value '1', overpay type c value '2'. * us tax payment processing type constants: pr_t_normal value '1', pr_t_eic value '2'. * special tax authorities constants: fed_taxau like constants: pa_taxau like constants: nj_taxau like constants: az_taxau like constants: denv_taxau like constants: aura_taxau like constants: co_taxau like constants: nm_taxau like constants: oh_taxau like constants: wa_taxau like constants: in_taxau like constants: hi_taxau like constants: ks_taxau like constants: ny_taxau like constants: or_taxau like constants: ca_taxau like constants: wv_taxau like constants: wi_taxau like constants: mi_taxau like constants: sd_taxau like constants: il_taxau like constants: ct_taxau like t5utz-taxau t5utz-taxau t5utz-taxau t5utz-taxau t5utz-taxau t5utz-taxau t5utz-taxau t5utz-taxau t5utz-taxau t5utz-taxau t5utz-taxau t5utz-taxau t5utz-taxau t5utz-taxau t5utz-taxau t5utz-taxau t5utz-taxau t5utz-taxau t5utz-taxau t5utz-taxau t5utz-taxau t5utz-taxau value value value value value value value value value value value value value value value value value value value value value value 'FED '. 'PA '. 'NJ '. 'AZ '. 'CO01'. 'CO03'. 'CO '. 'NM '. 'OH'. 'WA'. 'IN'. 'HI'. 'KS'. 'NY'. 'OR'. 'CA'. 'WV'. 'WI'. 'MI'. 'SD'. 'IL'. 'CT'.

"XIT779755 "Note 354360 "NOTE:449285

"RAGN1507384 "CECN1536313 "RAGN1622036 "WSB867470

* residence/work/unimployment indicator values constants: us_live_work value 'B',

us_resident_taxau value 'R', us_work_taxau value 'W', us_ui_taxau value 'U'. * State where reductional tax withholding is allowed. constants: us_state_rtw(8) value 'CT VA LA'. 898 * us tax levels constants: us_federal_tax_level value 'A', us_state_tax_level value 'B'. * BSI switch defaults constants: bsi_sw_reciprocal value '1'. * Dummy SSN Constant constants: dummy_ssn(9) value '999999999'. "YBH549199"W:1284

constants: namc_adjt like p0221-subty value 'ADJT'. constants: namc_tcrt like p0221-subty value 'TCRT'. constants: namc_tweg like p0221-subty value 'TWEG'. * BSI Relevant Supplemental Codes constants: gc_sc_concurrent07 type supcd value '07'. constants: gc_sc_regular00 type supcd value '00'. constants: gc_sc_system09 type supcd value '09'. "CECN1594617 "RAGN1643809 "RAGN1643809

*<JET618795> *----------------------------------------------------------------------* * Global references *----------------------------------------------------------------------* */Global references for BAdI interfaces data: gr_wta_activation type ref to if_ex_pc10_pay0004, gr_default_proration type ref to if_ex_pc10_pay0005. *</JET618795> *<XIT872651> data: gr_exemption_override type ref to if_ex_pc10_pay0008. *</XIT872651> *----------------------------------------------------------------------* * types *----------------------------------------------------------------------* *<JET618795> */Types for Work Tax Area Override hours types: begin of hrpayus_ts_wtart_hours, wtart type wtart, hours type pc10_tv_dec4_5, end of hrpayus_ts_wtart_hours. types: hrpayus_tt_wtart_hours type standard table of hrpayus_ts_wtart_hours. *</JET618795> * type for sw_periods data: begin of sw_periods_type, fpper like bal-fpper, bondt like bal-bondt, abkrs like bal-abkrs, payty like bal-payty,

payid juper fpbeg swtch end of

like bal-payid, like bal-juper, like pc261-fpbeg, type c, sw_periods_type.

* BEGIN OF LWW531111 types: begin of hrpayus_taxau_taxty, taxau type taxat, taxty type taxty, end of hrpayus_taxau_taxty. types: hrpayus_taxau_taxty_itab type standard table of hrpayus_taxau_taxty. * END OF LWW531111 *----------------------------------------------------------------------* * Work area *----------------------------------------------------------------------* * Switches data: sw_gross_up. data: sw_garnishment(1), "Switch for garnishments sw_read_garn_done(1), "Read Garnishments done sw_active_garn(1), "Active Garnishments exist sw_adjustments(1). "Adjustments are existing data: sw_supplemental(1). "WSB843444 data: sw_ng5py(1). "Note 1073553 data: sw_fttax(1). "Note 1336429 * Switches for Unemployment Insurance and Worksite information mandatory data: sw_ui(1), "UI mandatory sw_ui_worksite(1). "Worksite mandatory data: sw_suppl_method_override type c. data: sw_offset type c. data: sw_overpay_cleared type c. data: sw_twe type c. data: sw_cap type c. data: sw_reversed type c. * switch and % value for Arizona Voluntary Withholdings (Form A-4V) data: sw_azvtw type c. data: ctxit_is_empty, icrt_is_empty. * Payment types data: retdf_payment_type, "Payment type of retro-diff. curpy_payment_type. "Payment type of currt-paym. * Supplemental code data: retdf_supplem_code, "Suppl. code of retro-diff curpy_supplem_code. "Suppl. code of currt-paym data: paid like pc207-betrg. data: clearing_payty type c, clearing_reg_or_tip(3) type c. * store TXIT wages for clearing overpayment within the pay period data: stored_txit like pc2u2 occurs 0 with header line.

* global data for function UMOD$ and operation U$ data: begin of umodif occurs 5. include structure pc2u0. data: end of umodif. data: begin of umodi occurs 2. include structure hrumodi. data: end of umodi. * residence state tax authority data: res_state_taxau like t5utz-taxau. * Switch for additional tax amount data: begin of sw_examt_t occurs 3. include structure pc2u14. data: end of sw_examt_t. data: begin of gl_t_examt occurs 1, txcmp type txcmp, taxau like tax-taxau, examt like tax-examt, end of gl_t_examt. * FUUSTAX parameters data: begin of usparm. include structure pc2u15. data: state type c, msg_level type c. data: end of usparm.

"WSB682316 "BSI 70

data: pbsi_message type pbsi_message occurs 0 with header line. "BSI 70 * Gross-up result (total) data: gross_up_result like pbsi_20-c_ann_gros. * Hiring date data: us_hire_date type d. * Global PSP data total data: gl_tcday like pc22x-tcday, gl_twday like pc22x-twday, gl_twhrs like pc22x-twhrs. "Total calendar days "Total work days "Total work hours

* Override Employee group data: begin of ovr_egrp_tab occurs 1, tccpm like tax-tccpm, ovr_egrp like pbsi_10-group_code, end of ovr_egrp_tab. * Override w/h tax amount data: begin of ovr_tax_a occurs 1. include structure pc2u11. data: rdamt type pb10_ovamt. data: end of ovr_tax_a. *<XIT872651> * Global variable for exemption override BaDI (X = active). data: gl_exempt_override_active type c. *</XIT872651>

* Data for GO-NOGO for Tax Infotypes data: p0207_valid, p0210_valid. * Contains all for-periods and bondt in case of retro data: begin of retro_periods occurs 10, fpper like pc23r-fpper, abkrs like pc261-abkrs, bondt like pc23r-bondt, payty like pc261-payty, payid like pc261-payid, juper like pc261-juper, end of retro_periods. * Internal table holds the information from T5UTO data: begin of tax_lgart occurs 20. include structure pc2u7. data: end of tax_lgart. *----------------------------------------------------------------------* * BSI i/f *----------------------------------------------------------------------* * Hold area for BSI i/f related fields data: bsi_pay_periods like pbsi_10-pay_period, bsi_vacat_hours like pbsi_10-vacat_hour, bsi_base_wages like pbsi_00-base_wages, bsi_net_wages like pbsi_10-net_wages. * record with payment type independant employee level interface for BSI data: begin of pbsi_1_standard. include structure pbsi_10. data: end of pbsi_1_standard. * BSI interface table tax level data: begin of taxes occurs 10. include structure pbsi_00. data: end of taxes. data: begin of taxes_tnt occurs 10. include structure pbsi_00. data: end of taxes_tnt. types: begin of i5utd_override_type, txcmp type txcmp, taxau type taxau, taxty type taxty, * frmnr TYPE frmnr, frmnr type p10_bsiformula, exind type exind, rndid type rndid, end of i5utd_override_type.

"YRAN1479549 "YRAN1479549

data: i5utd_override type sorted table of i5utd_override_type with unique key txcmp taxau taxty. *----------------------------------------------------------------------* * Work area - tax main *----------------------------------------------------------------------* * Table with taxable earnings etc. per payment type being processed

data: begin of txit occurs 30. include structure pc2u2. data: end of txit. data: gv_tax_method(20) type c. * Cumulated TXIT over all payment types types: begin of t_ctxit. include structure pc2u2 as txit. types: incid like t5uto-incid. types: v0typ type v0typ, v0znr type v0znr. types: end of t_ctxit. types: t_ctxit_tab type table of t_ctxit. data: ctxit type t_ctxit_tab with header line. * TXIT for EIC separate call data: begin of txit_eic occurs 5. include structure pc2u2. data: end of txit_eic. * table for saving TXIT of Reg income Reg PT data: begin of txit_srr occurs 5. include structure pc2u2. data: end of txit_srr. * Preliminary-TXIT tables for retro-difference data: begin of cur_rt occurs 20. include structure pc2u10. data: end of cur_rt. * Pre-TXIT tables for current payment data: begin of dif_rt occurs 20. include structure pc2u10. data: end of dif_rt. * Combination TAXAU + LGART data: begin of txrt occurs 20. include structure pc2u6. data: end of txrt. * Difference basis for retrocalculation data: begin of dtxrt occurs 10. include structure pc2u6. data: end of dtxrt. * Fill and refresh on each perform to process rounding error correction data: begin of round_txrt occurs 10. include structure pc2u6. * NOTE: 1456419 sum of allpc needs to be 100, but if employee has * a negative wage, one record can have more than 100 *>>CEC1456419 data: allpc type pc207-anzhl. "For rounding process use only *DATA: allpc LIKE pc22x-allpc. "For rounding process use only *<<CEC1456419 data: end of round_txrt. * Operation UST data: ustring(6). "WSB704776

"SVK540100

* Table containing percentages for the 2nd proration step * ALP clones for work tax area override data: begin of old_alp occurs 1. include structure pc20e. data: end of old_alp. *----------------------------------------------------------------------* * result tables *----------------------------------------------------------------------* * Original TAX for retro calc. data: begin of old_tax occurs 5. include structure pc22t. data: end of old_tax. * Original RT for retro calc. data: begin of old_rt occurs 20. include structure pc207. data: end of old_rt. * Original VERSC for retro calc. data: begin of old_versc. "Version RPCALCx0 (administration) include structure pc202. data: end of old_versc.

* temporary Table to hold Tax Authority prior to building TAX table data: begin of taxau_tab occurs 10, taxau like t5utz-taxau, " Tax Authority found type c, " Found Flag end of taxau_tab. * global constant for GENAU data: t511k_genau like t511k-kwert. * Original RGDIR for retro calc. data: begin of old_rgdir. include structure pc261. data: end of old_rgdir. data: begin of save_taxes occurs 0, taxau like taxes-auth_code, taxty like taxes-tax_type, end of save_taxes. data: begin of tax_base_wage occurs 5, taxau like t5utz-taxau, taxty like t5utt-taxty, betrg like pc207-betrg, ptval, txcmp type txcmp, end of tax_base_wage. data: begin of old_bal occurs 10 . include structure bal. data: end of old_bal. data: begin of old_unb occurs 0. include structure bal. data: end of old_unb.

"LWW571878

data: begin of offset_out occurs 10. include structure bal. data: end of offset_out. data: begin of offset_in occurs 10. include structure bal. data: end of offset_in. data: begin of acc_rt occurs 10. include structure pc2u10. data: end of acc_rt. data: begin of unacc_rt occurs 10. include structure pc2u10. data: end of unacc_rt. data: begin of acc_txrt occurs 10. include structure pc2u6. data: end of acc_txrt. "global since used in payroll log

data: begin of unacc_txrt occurs 10. "global since used in payroll log include structure pc2u6. data: end of unacc_txrt. data: begin of unacc_periods occurs 0. include structure retro_periods. data: end of unacc_periods. * Table to process current 'Not reduced' amount of Pre-tax deductions data: begin of cur_nrd_n occurs 5. include structure pc2u12. data: end of cur_nrd_n. * Table to save previous YTD 'Not reduced' amount of Pre-tax deductions data: begin of ytd_nrd_n occurs 5. include structure pc2u13. data: end of ytd_nrd_n. *----------------------------------------------------------------------* * Tip Processing *----------------------------------------------------------------------* * FICA fo not taken year-to-date data: begin of fed_fica_ee_ntkytd occurs 5, lgart like pc207-lgart, betrg like pc207-betrg, end of fed_fica_ee_ntkytd. *----------------------------------------------------------------------* * Gross-up *----------------------------------------------------------------------* * Store grossed-up amount for each wagetype data: begin of gup_result occurs 5. include structure pc2u8. data: alznr like pc207-alznr. data: ptval like pc2u10-ptval. data: end of gup_result. * Store gross-up wagetypes in origianl period data: begin of gup_rt occurs 5.

include structure pc2u10. data: end of gup_rt. data: begin of gup_net_grs occurs 0, netwt like pc207-lgart, netam like pc207-betrg, grswt like pc207-lgart, grsam like pc207-betrg, apznr like pc207-apznr, alznr like pc207-apznr, ptval like pc2u10-ptval, end of gup_net_grs. *----------------------------------------------------------------------* * BSI message *----------------------------------------------------------------------* * BSI message handle * Table contains all messages per a single call of tax calc.routine data: begin of bsi_messages occurs 10. include structure pbsi_m2. data: end of bsi_messages. * Message level data: bsi_msglev(2) type c. "Message level. * Interface table to BSI message format routine ** Out data: bsi_msgnum like pbsi_misc-numc5. "Message number. data: begin of bsi_subst_str occurs 5. "Substitution strings delimited include structure pbsi_m1. "by '@'. data: end of bsi_subst_str. ** In data: bsi_msg_lines like pbsi_misc-numc5. "Number of lines for one msg data: begin of bsi_msg_text occurs 5. "one message include structure pbsi_m2. data: end of bsi_msg_text. *----------------------------------------------------------------------* * BSI *----------------------------------------------------------------------* data: begin of ibtxrate occurs 10, taxcode like t5utz-taxau, startdate like btxrate-startdate, rescind like btxrate-rescind, maxwage like btxrate-maxwage, exprate like btxrate-exprate, ytdwage like pc207-betrg, ytdtaxd like pc207-betrg, end of ibtxrate. *----------------------------------------------------------------------* * TCRT cumulation *----------------------------------------------------------------------* * Cumulation group for previous and actual data: begin of previous, "previous payroll (characterist.) cumyr type pbas_cumyr, "cumulation year cumno type pbas_cumno, "cumulation number/month end of previous, begin of actual, cumyr type pbas_cumyr, "actual payroll (characterist.) "cumulation year

cumno type pbas_cumno, end of actual. * previous directory data: begin of prdir. include structure pc261. data: datmo like t549a-datmo, end of prdir.

"cumulation number/month

"previous payroll "cluster directory "date modifier

* Table of indexes that point to RT wage types and separate by * horizontal representation of table TCRT types: t_icrt_tab type sorted table of pc2u3 with unique key txcmp taxty taxau. data: icrt type t_icrt_tab with header line. * Table used for checking any ICRT(TCRT) entries affected the current * tax calculation. data: begin of rel_icrt occurs 30. include structure pc2u4. data: end of rel_icrt. *---------------------------------------------------------------------* * group term life processing *---------------------------------------------------------------------* * group term life FICA data data: begin of gtl_fica occurs 2, cntr1 like pc2u2-cntr1, incid like ctxit-incid, taxau like pc2u2-taxau, taxty like pc2u2-taxty, cctax like pc207-betrg, end of gtl_fica. *==> Begin of SVK540100 *---------------------------------------------------------------------* * Distribution payments *---------------------------------------------------------------------* constants: gl_dp_v0typ value 'R'. *==> End of SVK540100 *---------------------------------------------------------------------* * Infotype 0221 processing *---------------------------------------------------------------------* * subtype of IT0221 data: namc_subty like p0221-subty. data: number_of_lgart_in_p0221(2) type p value 20. * auxiliary table data: begin of xtblgart occurs 25. include structure pc2u1. data: end of xtblgart. *---------------------------------------------------------------------* * add s_bal, s_unb for the function UDTX0 *---------------------------------------------------------------------* * begin of note 321430 data: new_wt_good_money_amount like pc207-betrg. data: inconsistence_found(1) type c value ' '. data: inconsistence_found_rt(1) type c value ' '.

* end of note 321430 data: begin of s_bal occurs 20. include structure pc2u99a. data: end of s_bal. * data: begin of s_unb occurs 10. include structure bal. data: end of s_unb. * data: begin of s_rt occurs 20. include structure pc207. data: end of s_rt. * data: begin of n_bal occurs 20. include structure pc2u99a. data: end of n_bal. * data: begin of n_unb occurs 10. include structure n_bal. data: end of n_unb. data: begin of n_xdfrt occurs 10. include structure bal. data: end of n_xdfrt. * begin of SAM411080 *---------------------------------------------------------------------* * Payroll log processing *---------------------------------------------------------------------* * the following common part should be replaced by a function module * to set the global memory of the function group for the log entry data: begin of common part log_msg, "LWWL9CK001842 msg_text1(20) type c, msg_text2(20) type c, msg_text3(20) type c, msg_text4(20) type c, msg_text5(20) type c, msg_text6(20) type c, end of common part log_msg. * end of SAM411080 *---------------------------------------------------------------------* * Constants for user exits in US Payroll (implemented via BAdI) *---------------------------------------------------------------------* * Customer exit to enable gross-up calculation overrides constants: pyus_exit1 like rsexscrn-exit_name value 'PC10_PAY0001'. * Customer exit to enable negative taxables constants: pyus_exit2 like rsexscrn-exit_name value 'PC10_PAY0002'. *==> Begin of SVK540100 * Customer exit to enable distribution payments constants: pyus_exit3 like rsexscrn-exit_name value 'PC10_PAY0003'. *==> End of SVK540100 *<XIT872651> * Customer exit to override number of exemptions constants: pyus_exit8 like rsexscrn-exit_name value 'PC10_PAY0008'. *</XIT872651> *---------------------------------------------------------------------* * Negative taxables tables

*---------------------------------------------------------------------* data: begin of self_adjusted occurs 0, taxau type taxat, taxty type taxty, end of self_adjusted. *---------------------------------------------------------------------* * Performance enhancment *---------------------------------------------------------------------* types: begin of t_prcls_values, lgart type lgart, vklas type vklas, end of t_prcls_values. types: t_prcls_values_tab type sorted table of t_prcls_values with unique key lgart. data: gl_prcls_values type t_prcls_values_tab with header line. * BEGIN OF LWW561219 *---------------------------------------------------------------------* * Table of T5UTX tax types *---------------------------------------------------------------------* data: begin of gl_t5utx_tax_types occurs 0, taxty type taxty, end of gl_t5utx_tax_types. * END OF LWW561219 *----------------------------------------------------------------------* things that should not be global data: tax_type_processed like t5utt-taxty. *---------------------------------------------------------------------* * CE related data declarations *---------------------------------------------------------------------* * global variable for group currently being processed data: gl_us_group type hrpayna_group_type. * global variable for group tax company currently being processed types us_txcmp_tab_type type table of txcmp. data: gl_us_txcmp_tab type us_txcmp_tab_type. data: gl_us_txcmp type txcmp. * TAXR on group (tax company) level types: begin of t_taxr_group. include structure hrpayus_tax_add_key. include structure pc23c as taxr. types: end of t_taxr_group, taxr_group_tab type table of t_taxr_group. data: taxr_group type taxr_group_tab with header line. * TAXPR on group (tax company) level types: begin of t_taxpr_group. include structure hrpayus_tax_add_key. include structure pc22x as taxpr. types: end of t_taxpr_group, taxpr_group_tab type table of t_taxpr_group. data: taxpr_group type taxpr_group_tab with header line. * TCRT on group (tax company) level data: tcrt_group type hrpayus_tcrt.

*<SAMERP2005> * global taxable table TXBLWT data: txblwt type hrpayus_t_txblwt, gt_rt_outflow type hrpay99_rt_person, gt_tax_outflow type hrpayus_tax. * taxable table TXBLWT instance data: go_txblwt type ref to cl_hrpayus_tax_table_txblwt. *</SAMERP2005> * Flag to check if New Mexico Workers Comp. Tax has to calculated or not data: calculate_nm_workcomp type c. * Store information about tax authorities where zero pay period wages have to be passed * because BSI TaxFactory wants it that way ranges: gt_pass_zero_wages for txit-taxau. * Variables for Flat tax calculation during offcycle adjustment Run (Type B) data: skipped_payroll_periods type i, calculate_flat_taxes type c. * CA PIT changes 2009 - Note 1350740 data: begin of ca_taxes occurs 10. include structure pbsi_00. data: end of ca_taxes.

You might also like