In RPTIME00, for a shift time of 10 p.m. - 6 a.m., an absence lasting
less than one day (e.g. sickness) after 12 midnight leads to an
incorrect return value for operation LDPAY. The value 0 is not returned
to the variable argument.
Cause and prerequisites
Program error.
SolutionInsert correction S11K140565 into RPTBU100 in routine FORM OPLDPAY and check to see if SAPFP51T is correct.
Correction S11K140565:
form opldpay. "VDJK74909 new
local: p2001.
data: max_date like acdate. "S11K140565
max_date = acdate + 1. "S11K140565
loop at p2001.
if p2001-vtken co ' 0'. "S11K140565
check p2001-begda le acdate.
check p2001-endda ge acdate.
else. "S11K140565
check p2001-begda le max_date. "S11K140565
check p2001-endda ge max_date. "S11K140565
endif. "S11K140565
if p2001-lfzed is initial.
.
No comments:
Post a Comment