Thanks Ankit for your valuable suggestions. Initially, I was trying to use the YVBAP-KDMAT and XVBAP-KDMAT variables for comparison. However, I found that these two variables are sometimes not populated correctly (Do you know why?). Therefore, I chose to use your second suggested approach which is to store the previous unchanged value in Abap memory and then retrieve it for comparison against the latest changed value when user changed the CPN #. Thanks again, Ankit.
↧