‎2008 Nov 05 12:17 PM
hi,
i want to store error message to one char variable say 'errtext'.
along with that error message, i want to store key value of table which will come at run time.
please suggest me how to achieve this?
like my final errtext should look like: 'error message in record -
'.
Thank you in advance!
‎2008 Nov 05 12:26 PM
Hi
your question is not clear .
if you wants to display the field in the error text message, you can concatenate the error text with the wa-field .
for example
concatenate 'error message in record ' wa-field 'some messsage' into ERRTEXT.
Regds
R
‎2008 Nov 05 12:30 PM
no,
i want to write my errors in one file i.e. one errorfile
so, m storing the error in string and then writing it to errorfile
‎2008 Nov 05 12:29 PM
Hi,
You can concatenate and the value which is coming at runtime in errtext and keep.
Use concatenate statement.
Thanks & Regards,
Navneeth K.
‎2008 Nov 05 12:29 PM
Hi,
If you are writing to a list then u can write it as
write : 'error message in record -
', value.
Venkat