Hi,
We have a report that submits another program, and we used batch-input for that, since it prints a smartform, and we wanted to control the print parameters, like print immmediately, which are not available if we use "SUBMIT" instruction to do this.
It was required now to add the option to send the form by email, so we are converting the spool id generated into pdf, and attach it to mail.
The problem remains here: how to get the generated spool id after a call transaction? We are doing that by getting the last spool id generated in table TSP01, with the program name and user, but this program can be run at the same time by different people, so we can get the wrong spool id.
Can you suggest something to solve this problem?
Thanks in advance.
Best regards,
Sónia Gonçalves