Month: February 2015

debugging active and finished background jobs

As you know SM37 shows status, logs and many information about background jobs. What about run time information of already executed background job or an active job? For example which select-options or parameters are selected in background selection screen with which values. Of course the easiest way is to debug the related program somehow. Here we can separate the case to two conditions. First one is active jobs and the second one is finished jobs.

submit background job with date selection

As mentioned in earlier submit report versions post you can make use of SUBMIT statement from your ABAP program in order to schedule any other ABAP program in background. However recently i have met a situation where user wants to decide the date and frequency of this background program. Therefore you may want to populate some fields in JOB_CLOSE of scheduling background job using an interface. BP_START_DATE_EDITOR provides this interface by collecting required information from the user.