2022 Dec 08 7:23 PM
Hey regarding InfoSets -
I know how to display a Message by type T and type S, but was wondering if there was a simple 'If' statement I could add to have a report print a message to an exported report (scheduled) when 'blank'.
As of now if the report is blank, it will not export and wait for a list of transactions to build, they would like this to export daily (already scheduled) even if blank - adding a message is optional, so even a simple exemption would work where it just sent the headers without any populated data at all, either would satisfy the use case.
Thank you
2022 Dec 08 9:28 PM
You have tagged this in the ABAP development area, so are most likely referring to list output as seen in the steps of a scheduled batch job.
If this is so, there are several ways to force content in the list to trigger follow-on actions in your batch job.
1) You can use the TOP-OF-PAGE event to write page header text
2) You can use a default call to the WRITE statement to create an empty list
3) You can use abap command MESSAGE with TYPE 'W' or 'I' to send messages to the execution log of your batch job
2022 Dec 08 8:36 PM
2022 Dec 08 9:28 PM
You have tagged this in the ABAP development area, so are most likely referring to list output as seen in the steps of a scheduled batch job.
If this is so, there are several ways to force content in the list to trigger follow-on actions in your batch job.
1) You can use the TOP-OF-PAGE event to write page header text
2) You can use a default call to the WRITE statement to create an empty list
3) You can use abap command MESSAGE with TYPE 'W' or 'I' to send messages to the execution log of your batch job
2022 Dec 09 5:58 PM
Thank you - the WRITE message was the solution I was looking for. Final solution was an if statement with the WRITE message.
Apprishiate it!
2022 Dec 09 5:55 PM