Tuesday, April 2, 2019

SAP: Change default selection for SM37

In the simple job selection, system will default select release ready active finished and cancelled jobs.
But I usually just want select active jobs.
I tried use SHD0 but not works.
So I got solutions:
1 GUIXT can works .
2 change Default value set in FM: BP_JOB_SELECT_SM37B subroutine:
 INIT_DEFAULT_SELECTION.

  DEFAULT_SELECTION-SCHEDUL   ''.
  DEFAULT_SELECTION-READY     ''.
  DEFAULT_SELECTION-RUNNING   'X'.
  DEFAULT_SELECTION-FINISHED  ''.
  DEFAULT_SELECTION-ABORTED   ''.