Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Reg. Write message to Spool

Former Member
0 Likes
3,451

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

3 REPLIES 3
Read only

Former Member
0 Likes
1,302

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

Read only

Former Member
0 Likes
1,302

hi,

whenever there is some message is there during back ground

that will be captured in spool

with regards

s.janagar

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,302

>

> 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