‎2021 Sep 30 3:49 PM
Hi everybody, i have a program that executes a job using the FM JOb_open, the submit of a report and the fm JOB_CLOSE: i want that the following code, after the FM Job_close, is run after that the job is finished.
There is a Function Module that do this ?
Thank you
‎2021 Sep 30 4:02 PM
You have three options.
The question has been already asked and answered. You can find more information in the forum.
NB: I don't post it as an answer to not add noise to the forum, it's just a matter of searching, I just give you hints to find answers faster.
‎2021 Sep 30 4:12 PM
‎2021 Sep 30 4:25 PM
‎2021 Sep 30 4:54 PM
3a9e4ce873a94034b33dc62b0ce600ee It's as informative as all existing informative answers concerning the same question. People who search would probably not find my asnwer.
Searching for below words, I get one answer in the topmost results about SHOW_JOBSTATE (which corresponds to TBTCO I mention).
code after job site:sap.comBecause the search words are not good enough to return efficient results at the top, if we adjust the search, "code end of job" or "wait end of job", there are many more answers, which mention all the possibilities above, even a detailed blog post. Okay, maybe not the adding of a second step in the job.
Okay, I admit maybe it's a good candidate for an answer. So, I have just decided that I will convert my comments into answers if they reach 5 likes or more 😄 - with a little work to do it for past ones (~50).