I am trying to automate code inspector results of SCI or SCII by passing the output of the transactions(SCI, or SCII) to a PDF. Here the challenge is to get the output in a tabular column. I tried running SCI in background(using a BDC program) using a batch job so that the table SCIINS_INF will be updated. But the problem is the execution of the transaction is not getting recorded and so that table SCIINS_INF is not updated for the field " Executed on". If this is field is filled I can use the FM "SCI_GET_INSPECTION_PLAIN_LIST" to get the results.
If that field is not updated, after execution of the FM, getting an error as " Inspection not carried".
Can you please let me know if there is any other way to get this achieved by using classes, FM or reports, etc.
Thanks in advance.