BP_FIND_JOBS_WITH_PROGRAM: Read Jobs that Run a Specific Program from Database
You can use this function module as you would BP_JOB_SELECT to generate a list of jobs that can be displayed and manipulated with BP_JOBLIST_PROCESSOR. This function module selects jobs by the program that you specify. You could, for example, select the jobs that contain the program that a user has just scheduled.
For more information, please see the online documentation in the function module facility (transaction SE37). For a programming example, please see
Displaying Job Status: SHOW_JOBSTATE.