Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ACTIVE JOB LIST Functional module

Former Member
0 Likes
696

hai

Thanks in advance for your help.

I used below FM to retrieve

ACTIVE jobs list from the system,it works fine.

jobtest-jobname = '*'.

jobtest-username = sy-uname.

jobtest-TO_DATE = sy-datum.

jobtest-FROM_DATE = sy-datum - 2 .

jobtest-running = 'X'.

  • Select all Active jobs

CALL FUNCTION 'BP_JOB_SELECT_SM37B'

EXPORTING

JOBSELECT_DIALOG = 'N'

JOBSEL_PARAM_IN = jobtest

IMPORTING

JOBSEL_PARAM_OUT = jobtest

TABLES

JOBSELECT_JOBLIST_B = Actjoblist

EXCEPTIONS

INVALID_DIALOG_TYPE = 1

JOBNAME_MISSING = 2

NO_JOBS_FOUND = 3

SELECTION_CANCELED = 4

USERNAME_MISSING = 5

OTHERS = 6

.

but i want to make it sure whether

this FM is logically correct for this

requirement

Regards

Kumar.

1 ACCEPTED SOLUTION
Read only

andreas_mann3
Active Contributor
0 Likes
497

Hi Kumar,

FM is correct to list active jobs.

-> but you can check the results with tables

v_op / TBTCO.

regards Andreas

1 REPLY 1
Read only

andreas_mann3
Active Contributor
0 Likes
498

Hi Kumar,

FM is correct to list active jobs.

-> but you can check the results with tables

v_op / TBTCO.

regards Andreas