We have more than 300 CTS in the PRD import queue waiting to be imported. More than 250+ are pending from last 2-3 years and keep on adding as the change request get closed for them after the request get imported in QA and get added to PRD queue.
I wish to know whether its required to clean the unwanted requests pending in the queue. Is there should be any practise to monitor the queue on regular basis. The affect which we have is that, after every refresh we again have to import all the CTS into QA which is a very hugh task.
Please share from your experience. Thanks.
Yes you can clean up the queue in STMS. In your import queue for PRD, execute Extras --> Delete imported Requests.
Please review the below function modules and write an ABAP also works.
Use TMS_QAM_GET_WORKLIST to get the total list of requests.
Use TR_READ_GLOBAL_INFO_OF_REQUEST to get the information about each request.
Use TMS_CFG_READ_CONFIGURATION to get the system configuration
Then set a filter, and called the worklist display fm which then allows the user to select all tp in the filter and delete them.
I think the issue is not clear to all the replied I received.I will try to rephrase the question.
Is there any process in other companies to delete the old pending CTS from the Production import queue which are not required to be imported in Production in future. It means the changes are not implemented in PRD and will not be required in future also, the changes were tested in QA due to which the CTS got added in the import queue.
Why would a batch job re-import already imported stuff? When would that be needed? Also, in the long run, it may not be a sustainable thing to do.
An easy way to weed out the 300 odd transports waiting in the queue would be to goto the production buffer in STMS and include the Return Code of Transport Request into view.
This can be setup by selecting Personal Setting button in the tool bar and checking the 'Display return code check box'.
Further select the column labelled as RC or return code and filter for RC=INIT.
Once you have selected this, you should get list of all transports that are yet to be imported in production.
Select them all and Delete them from buffer.
However, from future perspective the transport approval procedure suggested by Sandeep is the best bet for avoiding this issue altogether and keeping your production safe.
Hope that helps.
It is always recommended to make all changes in Dev first and transport to QA and PRD.
Delete all request in Dev first and transport it to PRD.
if the changes contained in those Transport Request have already reached Prod then it doesn't make sense to delete the request numbers only.. as the database for Prod has already been updated with those stuffs. Include them in a Change request in Dev ,... then Delete them from Dev.... release the CR and Transport it to Prod. Database will be updated with deletion of those Unwanted Transport contents..
Venkata S Pagolu