01-13-2005 10:57 AM
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.
01-13-2005 11:54 AM
Hi Kumar,
FM is correct to list active jobs.
-> but you can check the results with tables
v_op / TBTCO.
regards Andreas
01-13-2005 11:54 AM
Hi Kumar,
FM is correct to list active jobs.
-> but you can check the results with tables
v_op / TBTCO.
regards Andreas