Application Development 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: 

Refresh TMS Queues in background

Former Member
0 Kudos

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

4 REPLIES 4

Former Member
0 Kudos

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

0 Kudos

TMS_TP_REFRESH_QUEUE doesn't exist in our system (4.7/6.20) .... other suggestions?

0 Kudos

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

Former Member
0 Kudos

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'.