‎2010 Feb 17 9:20 AM
Hi all,
I haev one interface program and whish is alwasy running in background. when this program runs and if there si any error then i have to pass to Spool for future reference. so i wanted to know any funcion module to handle it or do i need to write any code.
plse let me knw hwo to handle it.
thans
Yerukala Setty
‎2010 Feb 17 9:26 AM
If the program is already running in background, and it outputs or writes the error messages it encounters, it will automatically be available in the spool. Just make sure you write the error messages if it encounters any.
Vikranth
‎2010 Feb 17 9:37 AM
hi,
whenever there is some message is there during back ground
that will be captured in spool
with regards
s.janagar
‎2010 Feb 17 10:01 AM
>
> whenever there is some message is there during back ground
> that will be captured in spoolr
Hello,
AFAIK the messages will be captured in the job log & not in the spool.
@OP:
If you want the messages in the job log then no need of any extra coding.
You can try like this:
DATA: V_LOG TYPE STRING.
MESSAGE <message> INTO V_LOG. "This is not throw the message but transfer the msg short text to the variable
WRITE V_LOG.
MESSAGE <message>.BTW why do you need to write the messages in the spool ?
BR,
Suhas