06-18-2008 1:20 PM
I use type S messages in programs so that the content appears in the batch job log.
When I run the program with a submit and return scheme, the messages in the second program aren't captured.
Does anyone know a work-around for this?
06-18-2008 1:54 PM
06-20-2008 10:55 AM
Hallo Ed,
could you probably post your solution as we have a very similar case?
Many regards
Martin
06-24-2008 1:05 PM
Sorry for the delay in getting back to you.
Just put a type 'S' message in your code.
If you want to restrict it to just batch jobs, put the if statement around it.
The ZSTD is can be any message class on your system. It could also be a stock SAP message.
if sy-batch = 'X'.
MESSAGE s001(zstd) WITH 'My Log Message'.
endif.
06-30-2008 5:17 PM