08-11-2005 7:39 PM
We have a couple of programs that assist our Basis team with TMS administration.
Although it is fairly easy to read the current data in a particular import queue or QA Worklist (via Functions TMS_MGR_READ_TRANSPORT_QUEUE or TMS_QAS_READ_TMSQWL for example) I've never been able to refresh the queue without calling STMS online. I'd like to be able to do so in a background program.
Does anyone know how to do this?
Many thanks,
John
06-21-2006 8:42 PM
hi John
have a look at TMS_TP_REFRESH_QUEUE
or
from the import overview
extra->update all import Q
in the dialog 'update all import Q in background'
select the planning and period for the task
cheers
11-29-2006 6:57 PM
TMS_TP_REFRESH_QUEUE doesn't exist in our system (4.7/6.20) .... other suggestions?
11-24-2008 2:20 PM
hello,
This is how we do it and shedule it in background:
READ IMPORT QUEUE
call function 'TMS_UIQ_IQD_READ_QUEUE'
exporting
iv_system = t_tt_system-sysnam
iv_domain = t_tt_system-domnam
iv_collect = 'X'
iv_read_shadow = 'X'
IV_USE_DATA =
iv_monitor = 'X'
IV_VERBOSE =
importing
EV_COLLECT_DATE =
EV_COLLECT_TIME =
EV_NR_OF_GRPS =
EV_IS_A_QA_SYS =
EV_NO_IMP_ALL =
EV_IMP_SINGLE =
EV_FTP_INCOMPLETE =
ES_SYSTEM =
ES_BUFCNT =
et_requests = v_et_requests
ET_CLIENTS =
ET_PROJECTS =
TABLES
TT_SYSTEM =
exceptions
read_queue_failed = 1
others = 2.
Wim
02-06-2009 10:33 AM
You can make a simple report and run in background.
This report has been tested on NW70 and below
REPORT Z_REFRESH_STMS.
perform read_import_overview(SAPLTMSU_IQ)
USING 'X'.