Delivery Address

Question:
I am writing a program which touches PO. As a part of this we are changing the delivery address in the transaction ME22. Whenever a delivery address is changed in a line item, a popup appears stating that "The delivery address is also used in other items. Should it be changed in all items?". This popup is not appearing in all the cases. We are unable to predict when the popup appears and when it doesn't.
Any inputs on how to handle this in a progam
TIA
Answer:
debug it.

More Articles:

problem in code inspector?
Material view from Info Record?
EXPORT obj1 . objn TO DATABASE dbtab(ar) ID key?
Adding fields to the Internal Table Dynamically?
download list in html format?
BDC Error in 4.6 C?