Hi,
The solution depends on, how you pay the medical amount (on what basis?) and how you are pro-rating the value in case of LOP. Also, we want to know, how you are reversing the LOP (whether you are removing the LOP record from infotype 2001?).
regards,
Bala.