You are on page 1of 3

***INCLUDE ZHRRTIMI.

DATA: BEGIN OF PERNRLST OCCURS 0,


PERNR LIKE PERNR-PERNR.
DATA: END OF PERNRLST.
*
DATA: BEGIN OF EXP,
PABRP(2),
PABRJ(4),
PDATE LIKE SY-DATUM,
BEGDA LIKE SY-DATUM,
ENDDA LIKE SY-DATUM,
PERIOD(1) TYPE C,
"Y=Pay Period, N=Specified date range
PERNR_OVERRIDE LIKE P0001-PERNR.
DATA: END OF EXP.
*
DATA: BEGIN OF COMBINED OCCURS 4000,
PERNR(8),
PERSK LIKE P0001-PERSK,
BTRTL LIKE P0001-BTRTL,
BTEXT(15),
KOSTL LIKE P0001-KOSTL,
MSTBR LIKE P0001-MSTBR,
MSTBRNAM(30),
SNAME(30),
WTART LIKE P0208-WTART,
SACHZ LIKE P0001-SACHZ,
REGULAR(08) TYPE P DECIMALS 2,
OT(06)
TYPE P DECIMALS 2,
OT1X(06)
TYPE P DECIMALS 2,
OT15X(06)
TYPE P DECIMALS 2,
OT2X(06)
TYPE P DECIMALS 2,
HOLIDAY(06) TYPE P DECIMALS 2,
VACATION(06) TYPE P DECIMALS 2,
SICK(06)
TYPE P DECIMALS 2,
PERSONAL(06) TYPE P DECIMALS 2,
UNPAID(06)
TYPE P DECIMALS 2,
ADUNPAID(06) TYPE P DECIMALS 2,
JURY(06)
TYPE P DECIMALS 2,
BEREAVE(06) TYPE P DECIMALS 2,
SERVICE(06) TYPE P DECIMALS 2,
ACCRSIC(06) TYPE P DECIMALS 2,
ACCRVAC(06) TYPE P DECIMALS 2.
DATA: END OF COMBINED.
*
DATA: PREV_COMBINED LIKE COMBINED.
*
DATA: BEGIN OF U5_COMBINED OCCURS 4000,
PERNR(8),
KOSTL LIKE P0001-KOSTL,
SNAME(30),
REGULAR(08) TYPE P DECIMALS 2,
OT(06)
TYPE P DECIMALS 2,
VACATION(06) TYPE P DECIMALS 2,
HOLIDAY(06) TYPE P DECIMALS 2,
SICK(06)
TYPE P DECIMALS 2,
PERSONAL(06) TYPE P DECIMALS 2,
UNPAID(06)
TYPE P DECIMALS 2,
ADUNPAID(06) TYPE P DECIMALS 2,
JURY(06)
TYPE P DECIMALS 2,
BEREAVE(06) TYPE P DECIMALS 2,

SERVICE(06) TYPE P DECIMALS 2,


ACCRSIC(06) TYPE P DECIMALS 2,
ACCRVAC(06) TYPE P DECIMALS 2,
MISC(08)
TYPE P DECIMALS 2.
DATA: END OF U5_COMBINED.
*
DATA: BEGIN OF SUMMARY OCCURS 200,
PERSK LIKE P0001-PERSK,
BTRTL LIKE P0001-BTRTL,
KOSTL LIKE P0001-KOSTL,
MSTBR LIKE P0001-MSTBR,
EMPCNT
TYPE I,
REGULAR(08) TYPE P DECIMALS 2,
OT(06)
TYPE P DECIMALS 2,
VACATION(06) TYPE P DECIMALS 2,
SICK(06)
TYPE P DECIMALS 2,
PERSONAL(06) TYPE P DECIMALS 2,
UNPAID(06)
TYPE P DECIMALS 2,
ADUNPAID(06) TYPE P DECIMALS 2,
JURY(06)
TYPE P DECIMALS 2,
BEREAVE(06) TYPE P DECIMALS 2,
SERVICE(06) TYPE P DECIMALS 2,
ACCRSIC(06) TYPE P DECIMALS 2,
ACCRVAC(06) TYPE P DECIMALS 2.
DATA: END OF SUMMARY.
*
DATA: BEGIN OF SUMMARY2 OCCURS 0,
REGULAR(08) TYPE P DECIMALS 0,
OT(06)
TYPE P DECIMALS 0,
VACATION(06) TYPE P DECIMALS 0,
SICK(06)
TYPE P DECIMALS 0,
PERSONAL(06) TYPE P DECIMALS 0,
UNPAID(06)
TYPE P DECIMALS 0,
ADUNPAID(06) TYPE P DECIMALS 0,
JURY(06)
TYPE P DECIMALS 0,
BEREAVE(06) TYPE P DECIMALS 0,
SERVICE(06) TYPE P DECIMALS 0,
ACCRSIC(06) TYPE P DECIMALS 0,
ACCRVAC(06) TYPE P DECIMALS 0.
DATA: END OF SUMMARY2.
*
DATA: BEGIN OF INTERNAL OCCURS 10000,
PERNR(8),
SACHZ(3),
PERSK LIKE P0001-PERSK,
WTART LIKE P0208-WTART,
BTRTL LIKE P0001-BTRTL,
BTEXT(15),
KOSTL LIKE P0001-KOSTL,
MSTBR LIKE P0001-MSTBR,
MSTBRNAM(30),
SNAME(30),
LGART(4) TYPE C,
ANZHL(7) TYPE P DECIMALS 2.
DATA: END OF INTERNAL.
*
DATA: BEGIN OF INTERNAL_DAILY OCCURS 0,
PERNR(8),
DATUM LIKE SY-DATUM,
PERSK LIKE P0001-PERSK,

"JCP010
"<<<NEW

WTART LIKE P0208-WTART,


BTRTL LIKE P0001-BTRTL,
BTEXT(15),
KOSTL LIKE P0001-KOSTL,
MSTBR LIKE P0001-MSTBR,
MSTBRNAM(30),
SNAME(30),
LGART(4) TYPE C,
ANZHL(7) TYPE P DECIMALS 2.
DATA: END OF INTERNAL_DAILY.
*
DATA: W_DATUM LIKE SY-DATUM.
*