ABAP code in infoset not working in Quality but OK in Dev system
I have a custom code in infoset that should get the max billing amount from a certain billing plan. The code is:
data: lv_max TYPE FPLT-FAKWR.
SELECT SINGLE MAX( FAKWR )
WHERE FPLNR = FPLA-FPLNR.
if sy-subrc = 0.
RENTAL_FEE = lv_max.
It works fine in dev, but after transport to Quality, it gets the first (usualy the mininum) amount instead of the MAX amount.
Is there any reason you can think of?