Hello and good afternoon,
I am attempting to display a list of jobs using function module BP_JOBLIST_PROCESSOR_SM37B. I am using this approach as there are no Parameter ID's associated with the transaction SM37 and therefore I cannot use the SET/GET Parameter ID approach followed by CALL TRANSACTION 'SM37' AND SKIP FIRST SCREEN.
I have initially used function module 'BP_JOB_SELECT' to select the job details based on my restriction criteria into a table (JOBSELECT_JOBLIST).
Using the results contained in table JOBSELECT_JOBLIST I then call function module 'BP_JOBLIST_PROCESSOR_SM37B' passing the tables parameter JOBLIST = JOBSELECT_JOBLIST. I also pass the parameter JOBLIST_OPCODE = '21' to allow the user to edit these jobs.
The correct list of jobs and their current job status are then displayed in an ALV grid. My problem arises when the user wishes to REFRESH the details contained within the result list. The REFRESH option/button doesn't appear to work. I have attempted to CANCEL jobs and DELETE jobs and the background process works (i.e. the selected job is cancelled/deleted) however the screen displays the job in the state it was originally displayed in, even after a REFRESH.
Am I missing something? I'm super confused!! 😊
Assistance would be greatly appreciated.
Kind Regards,
Richard.