Skip to Content
-2
Jan 24, 2018 at 01:32 PM

issue with warning message used inside a loop

302 Views

Hi,

I have an issue with one of the custom report where I am checking the sched agreemnt item dates with the header dates and if the item date is less than the header date throw an warning message. I had used as

LOOP at internal table.

check if the item date is less than header date if yes

message s(000) -- warning messsage here

endloop .

for example if the first two records are not satisfying the date condition and the remaining all records are satisfying the date condition than once the loop is completed there is no warning message. please suggest how to handle this as far as I know we can collect all the messages into an internal table and throw a warning message after the loop will it work? please suggest

thanks balu