Hello Friends,
I need to protocol error msg during the process of my program.
for example inside a loop I need to verify user input aginst flate-file data.
so I have a form routine which verify date and returns a lv_error_flag = 'x' if error occurd.
now here is my point.
I can take an internal table and can write there statci msg...like
data: lt_error_table type table of ts_error_str .
Data ls_error_table type ts_error_str
ts_error_str-msg = "Erro in date, not give in file"
append ls_error_str to lt_error_str....
....
and in the end of processing, I can display my internal table maybe in ALV or so.
is this the conventional way of doing protocol error msg ? or does sap provides some standard functions ?
please suggest.... a good way to do so.
Thanks.
Edited by: Shah H on Feb 16, 2011 4:35 PM