Refresh TMS Queues in background

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

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

Similar Messages

  • Can we refresh RSPCM transaction in background ??

    Hi guys,
    I am working in BI 7 landscape, where there are around 120 process chains.
    I have included all these chains in the RSPCM transaction to monitor the daily loads.
    But the problem is that it take around 8 minutes or more to get refreshed in foreground (using F8)
    I am just curious to know if there is any way to refresh the RSPCM screen in background.
    Maybe i can schedule it as a background job every 15 or 20 mins so that the status gets refreshed automatically.
    I tried the option in RSPCM --> Extras --> Plan Monitoring or directly F7.
    But it ends up in triggering a mail with the list of failed process chains.
    Please let me know if there is any option to refresh the RSPCM status in background as a job.
    Points for sure!! (but only to sensible answers )
    Thanks in advance.
    Cheers.
    Balaji V

    Hi
    RSPCM takes time usually, Because it has to see the dependent processes and comeback with the status.
    I dont think that we have any background process for this.
    Hope you know SM37

  • Cache Refresh and Queue

    Hi,
    How we can keep cache clear all time. I am doing cache clearance  manually.
    Is there any program which do cache clear.
    Thanks,
    Vishal

    Hi Vishal,
    Cache refresh is done automatically by jobs running in background: LSAI_CACHE3U03 (FM: SAI_CACHE3_REFRESH_BACKGROUND), you can also schedule this. Cache is also refreshred based on events (activation etc).
    When it comes to FM SAI_CACHE3_REFRESH_HTTP, we are talking about sxi_cache and not the CPACache.
    To trigger a cache refresh from the individual Adapter Framework, open a browser window and enter the following URL: http://<host>:<port>/CPACache/refresh?mode=delta|full.
    Regds,
    Pinangshuk.

  • Report auto-refreshes data in the background

    Post Author: tpoland
    CA Forum: General
    I ran a very large report that does some formula calculations based on a sub-report, in all it takes about 30 minutes to process.  After it finished running I minimized Crystal and went on to work on some other things.  After about 5 minutes my system started crawling and when I looked at the CPU crw32.exe (Crystal XI) was using between 90 and 99% of the available CPU.  When I finally was able to maximize Crystal again I saw that it was refreshing the data in the report.  Is there a setting that I can use to prevent Crystal from doing this?
    Thanks,

    Post Author: bryanflora
    CA Forum: General
    新增網頁1
    Since you talked more about your requirement.
    My suggestion is still not to use subreport.
    And the better way is try to let the subreport result into a view.
    I guess your report should like this:
              PH
              Loc
              Amount
              Rank
              GH
              USA
              D
              CA
              10
              3
              D
              FL
              30
              1
              D
              PA
              20
              2
    The "Rank" is what you get from formula, right?
    You can prepare a view with a calculated field "rank" and joined the original
    table.

  • QA Approval - importing queue with background jobs

    Hi all,
    I have activated the QA approval in my system and it all works fine.  I have scheduled a background job via STMS to import the whole test system buffer each day and this works fine too. Now I want to schedule a background job to import the production buffer automatically too. This would allow us to have all approved transports automatically imported once a day (as QA approval is activated only approved transports would be imported).
    Sounds simple, but with QA approval the production buffer displays approved and non-approved requests, so the background job fails as not all transports in the buffer are in the correct status.
    Any suggestions on how I can get around this problem? 
    Thanks
    Claire.

    Hello Claire,
    This issue has been described in SAP Note 313991. please check.
    Regards,
    Debasis

  • Refreshing STMS import queue

    Hi All,
    I want to know if there is a way (program) that i can use to refresh the import queue in STMS automatically even when the import queue screen is not open. I am experiencing some intresting scenario and i am not sure if its normal. please let me know:
    - I have recently added Sandbox system in the already existed TMS landscape. Domain links are used since Sandbox and DEV are in different network. When i release the transport in DEV its supposed to go to QAS import queue and also to Sandbox import queue in parallel. I can see them in QAS queue automatically without refreshing it, however it does not go to the Sandbox queue even after I refresh the import queue of Sanbox system (from Sandbox System). The only way It goes to the Sandbox import queue in Sandbox Queue is when I  go the the Import Queue of Sandbox system in DEV system and Refresh it there. Is there normal? After I refresh import queue for Sandbox in DEV , i go to the Sandbox system and click on sandbox queue then refresh it there and it comes right through. I understand the concept of adujst the transport files by clicking the green arrow since they dont share same Central Trans Dir and i am also aware of the SAP report to perform this automatically.
    -My question is, Why do is it required to refresh the import queue for Sandbox system "in DEV system" ? and is there any Report/Program that i can schedule in the Background in DEV that refreshes all import queues for all systems there even when the import screen is not open?
    please suggest. thanks.

    I will put your question in more clear way!!
    You are  not able to view the transport in SANDBOX STMS(Auto refersh is active)  untill you refresh from DEV STMS ...Is  this ?? I dont think it should happen you are accesing the same screen from DEV or SANDBOX.
    Just try what i have mentioned above
    1) In sandbox select personal setting and do as per firt post
    2) Release any request in DEV (Dont open STMS in DEV system )
    3) Check if transport is available in SANDBOX STMS(Login to SANDBOX only)
    Paste here the observations....
    Regards,

  • TMS problem - queue is empty

    Hello,
    Our systems are ECC5.0 on windows/oracle. We have installed production system. Now we have a problem in our test system. The TMS queue is empty in test system, the queues of the development and production systems are ok. We have a central transport directory.
    There are transport requests in data and cofile at OS level.
    DIR_TRANS is pointing ok, cofile and data file are in the right
    locations. I can't transport requests manually by clicking on
    Extras -> Other requests -> Add, because after I choose the request,nothing appears in the queue .
    When I check from TMS (systems -> check : Connection test, Transport directory, Transport tool) there are no errors.
    DIR_TRANS is the same with TRANSDIR.
    Settings for DIR_TRANS are correct in AL11.
    Do you have any ideea what could be the cause of this?
    It is very important to us, because we have GO-LIVE on 01st of January.
    Thank you

    Hi,
    1) Queue --> Check --> Consistency  -
      OK
    2) I can't add a request to the queue
    3) I don't have any end mark. In queue -> move end mark it is in grey ... maybe because the queue is empty.
    The alert from TMS alert viewer:
    Command  TMS_MGR_TRANSMIT_TR_QUEUE   
    Service  Transport Service           
    Start    Online                      
    Function TMS_TP_COMMIT_BUFFER        
    Message  TP_REPORTED_ERROR           
    Transport control program tp ended with error code 0211
    Errors: no info about transport request found
    ERROR: tpsettainfo: Cofile F:\usr\sap\trans\cofiles\KMARK.STO does not  exist
    ERROR: EXIT(16) -> process ID is: 5296                                 
    tp returncode summary:                                                 
    TOOLS: Highest return code of single steps was: 16                     
    ERRORS: Highest tp internal error was: 0211                            
    Output from tools called by tp:      
       Thank you

  • Please Help Urgently to refresh the report on the change in data

    We want to refresh report at runtime for the Drill Down report if any user changes the Data. We changes the data from the form which is called from the report and we want to this effect on the report on the prompt.
    Is there any method to close the report while it is in the queue of Background Engine? Can we refresh the report ? Please help urgently.
    Thanks in Advance.

    Pritesh,
    Reports goes out to the database and fetches the data (not a snapshot) and returns the information, formats it and displays it. The only way to refresh, is to rerun the report.
    If your are running from the server, you need to make sure you are not fetching from cache (you determine this from destype and set the life of the cache in the servername.ora file).
    I am unaware of any way to programatically close the report once displayed. The user must take action to close the report (unless you call the operating system to kill the display). When you rerun the report from Oracle Forms, you will get fresh data.
    Regards,
    The Oracle Reports Team jls

  • FireFox won't auto-refresh specific site, other browsers do. How can I get FF to auto-refresh?

    I have a Help Desk application (everything HelpDesk) with a web interface. I keep my queue screen open so I can see new tickets come in and check status of existing tickets. FireFox does not auto-refresh this queue page so that new items or status changes show up. The page must be manually re-loaded in FireFox. However, other browsers (Chrome, IE, Safari) auto-refresh the queue page just fine. How can I get FireFox to auto-refresh this page?

    See:
    *Firefox/Tools > Options > Advanced > General : Accessibility : [ ] "Warn me when web sites try to redirect or reload the page"
    The setting in "Tools > Options > Advanced > General" is meant as an accessibility feature, as you can see by the label of that section, so that people with disabilities or people who use screen readers do not get confused and is not meant as a safety protection to stop redirecting.
    See also:
    *https://support.mozilla.com/kb/Options+window+-+Advanced+panel#General_tab
    *http://kb.mozillazine.org/accessibility.blockautorefresh
    *http://kb.mozillazine.org/Accessibility_features_of_Firefox

  • Incrementally refresh table

    DB:10.2.0.4
    OS:solaris
    How to modify a table to be an incrementally refreshing table rather than a full refresh. There are background jobs that copy data from production database to our test database. How to do that

    Create materialized view for that table and enable refresh.
    http://download.oracle.com/docs/cd/B10500_01/server.920/a96567/repmview.htm
    http://download.oracle.com/docs/cd/B10500_01/server.920/a96520/mv.htm
    Thanks

  • Notification for the Blocked Queues

    Hi,
    My environment is PI 7.0 and in my monitoring transaction (SXMB_MONI) getting the messages has Scheduled for Outbound Processing (The Icon is like (>) ).
    I checked my SMQ2 of my XI/PI system and I can see some of the messages got blocked in the Queue. The Queue message is XBT0*******. Manually unlocked the messages and activated my Queues and refreshed the queue cleared in couple of mins.
    The problem was caused by the PI**USER got locked and unlocked the user few days back.
    I want to know is their any possible way to get a notification for the Scheduled for Outbound Processing messages (>).
    Other then Scheduled for Outbound Processing (>) messages we can get the notifications. We can get for notification for the Red Flag, Green Flag, and White Flag). What about the Scheduled for Outbound Processing messages (>) Flag????
    Give your ideas to monitor this kind of errors by notification.
    Thanks,
    GM.

    Hi, GM:
    This can be achieved by setting CCMS alert to monitor the status of the queue, please check the link:
    http://help.sap.com/saphelp_nw70/helpdata/en/f0/02a63b9bb3e035e10000000a114084/frameset.htm
    Also check the How-To guide:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0b4580be-0601-0010-d3ad-bd6ce51ae916
    Liang

  • Priorized Queues got an error = how to process this error?

    Hello together,
    i configured an priorized queue for several IDOCs. Suddenly i got an error in one queue and the queue was stopped (JCO error). The IDOCs behind the error idoc stopped also because it was an EOIO queue. after deletion of the LUW the other idocs went into the receiver system. I lost the error idoc?
    How can i resolve this problem without loosing any messages / data? Is there a JOB which restart priorized queues?
    what does the JCO error mean? what could be the problem that this error comes up?
    many thanks
    alex

    Hi Alexander,
    You have other option for these queue entries like Unlock the queue and refresh the queues in smq1/smq2, Execute LUW/LUWS one at a time/multi processing sometimes it works and sometimes doesnt.
    JCO error is generally seen when the server is starting and ABAP instance is up and java instance of server is taking time to start up.
    Thanks!

  • TMS Problem

    we currently have this problem with one of our systems.
    The TMS queue in SAP is empty, yet there are transport requests in the buffer at OS level. what could be the cause of this?

    Hi Trevor,
    Check for the transport logs for all these transports you are find in buffer as OS level.
    Suppose you checking the buffer of a system "X". Then in the transport logs you will most probably find that all these transports have been deleted from the buffer of system "X". In such a case it means that while update has been done at OS level the same has not got reflected at OS level.
    It can happen sometimes. You need to clean up the buffer in this case.
    Regards.
    Ruchit.

  • Refreshing POWL Queries in e-Recruiting

    Hi All,
    I need some help regarding POWL Queries.
    If I switch from one link - My Open Requisitions to other link My New Applications, then REFRESH is not happening.
    Could you please help me to solve this issue.
    Thanks,
    Anil

    You can schedule the refresh by running a background job, please have a look at the following link for more information:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/42/d6652b755c1630e10000000a1553f7/frameset.htm
    The following text is qouted from the above SAP documentation link:
    POWL_WLOAD (Refresh Active POWL Queries)
    You can use this report to update queries.  If you schedule the report as a background job, for example, you can update the queries overnight. Users then have access to the updated data when they start work, without having to refresh the data themselves. This is a way of controlling the server load.

  • Bex Analyzer Workbook Refresh - How to prevent take over of desktop

    Hi there,
    I believe the answer to this queston will be use bex broadcaster but I will try and see if someone has any other experience.
    One of our upper mgmt directors is frustrated because when he refreshes the bex analyzer workbooks, the refresh takes over his desktop.
    He will kick off the refresh and then wants to go to another task - Like checking something on AS400 screen - or going to check his email - or working in word.
    The refresh of the workbook is long running and has several queries to refresh so it monopolizes his desktop.
    He will go to the other screens but bex refresh keeps popping up and taking over.
    I do not know any other way to have it run in the background unless bex broadcaster is used.  Unfortunately, we are in the process of getting that upgraded and it is not available at this time.
    Does anyone have any experience with having the excel refresh run in the background?
    Thank you,
    Lynda

    reporting agent will be helpful in caching the report...this article will explain you on the steps to do so
    http://www.tnsr.eu/fileadmin/user_upload/Documenten/PDF/How_To/How_To...Perform_Tuning_with_the_OLAP_Cache.pdf
    reporting agent has been replaced by information broadcasting in BI 7.0, you can try this out by going to rsa1old and caching the report.
    Hope this helps.
    rgds, Ghuru

Maybe you are looking for

  • How can i get data from another database SQL Server use database link from

    I have a database link from Oracle connect to SQL Server database with user cdit connect default database NorthWind.How can I get data from another database(this database in this SQL Server use this database link)?

  • How do I turn *OFF* Universal volume control?

    I used to have an Sound Blaster Audigy 2 ZS Platinum Pro with Li've Dri've front panel. I could set my Master volume at 00% then adjust volume on any program independently. Be it recording software, Winamp, Games, VOIP phone, MSN video/voice.. etc et

  • SQL Command conversion in abap code

    Hi, I want to implement the UNION, INTERSECT and MINUS SQL commands in abap code. Please give me the appropriate solutions asap. For Example: select field1, field2, . field_n from tables <b>UNION</b> select field1, field2, . field_n from tables; sele

  • Minor keyboard issue with new 15" MBP - will genius bar help me?

    I bought a new 15" 2.67GHz MacBook Pro last Thursday and I noticed that the F11 key is slightly crooked and not level. I am certain there was no abuse to the computer, it's like my baby and I know nothing happened to it. If I take it to a Genius Bar,

  • Whats the quickest way to export packages,tables etc from one enviroment

    Hi whats the quickest way of more loads of packages, tables, indexes etc. from one enviroment to another? I did some things in apex.oracle.com workspace to test apex now I want to move it across to my xe installation.