Application Development and Automation 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: 
Read only

Function module to delete TR from import queue STMS_IMPORT

faisal_pc
Active Contributor
0 Likes
5,707

Hi experts,

Could anyone of you please help me to know whether there is any BAPI/Function module to delete a Transport Request entry from TR import queue in STMS_IMPORT transaction?. Thanks a lot in advance.

Faisal PC

1 ACCEPTED SOLUTION
Read only

former_member188827
Active Contributor
0 Likes
3,677

Please check the link:

http://scn.sap.com/thread/3371790

also check FMs in function group TMSM.

Regards

10 REPLIES 10
Read only

former_member215981
Active Participant
0 Likes
3,677

Hello

you could write your own FM to clean TR from table E070 and E071.

Best Regards,

Yong Luo

Read only

Former Member
0 Likes
3,677

Delete a request from the import queue:

  1. Call transaction STMS.
  2. Choose Import Overview Button . The import overview appears.
  3. Position the cursor on the SAP System from whose import queue you want to delete the request.
  4. Choose View Icon. The import queue of the selected SAP System appears.
  5. Position the cursor on the request to be deleted.
  6. Choose Request ® Delete.
  7. Confirm the prompt.

http://help.sap.com/saphelp_bw/helpdata/en/44/b4a3f97acc11d1899e0000e829fbbd/content.htm

Read only

former_member209120
Active Contributor
0 Likes
3,677

In STMS:

Extras --> delete imported requests

This won't delete the data, cofiles and logs, it only deletes the entries

from the import queue that have already been imported.

If you want to delete the actual requests, reference oss note 312843 for

information on the tp clearold command.

Read only

former_member188827
Active Contributor
0 Likes
3,678

Please check the link:

http://scn.sap.com/thread/3371790

also check FMs in function group TMSM.

Regards

Read only

faisal_pc
Active Contributor
0 Likes
3,677

Hi All,

Thanks for the replies. I think the above FM can be used. Let me try the same.

Thanks a lot once again.

Read only

faisal_pc
Active Contributor
0 Likes
3,677

Hi all,

I was trying to execute this FM with following values.

IV_COMMAND            =          DELFROMBUFFER

IV_SYSTEM                 =          System(My system name)

IV_REQUEST              =           TR Number

I am getting the following warning as Warning: (***K9A0SEF.   ) not found in buffer. Actually this TR is already there in the queue still is. Could anyone help me to understand why this warning is coming and the TR is not deleted?. I am trying to delete the TOC(Transport of Copies) from the queue which has the type T in E070 table. All helps are really appreciated.

Read only

faisal_pc
Active Contributor
0 Likes
3,677

I mean I was using the second function module only to delete the TR. Now i tried using the first FM also. But in the counter, it shows 0 means the TR is not found. But still I can see the TR in STMS queue.

Read only

faisal_pc
Active Contributor
0 Likes
3,677

Hi all,

I was trying to execute the second FM with following values.

IV_COMMAND            =          DELFROMBUFFER

IV_SYSTEM                 =          System(My system name)

IV_REQUEST              =           TR Number

I am getting the following warning as Warning: (***K9A0SEF.   ) not found in buffer. Actually this TR is already there in the queue still is. Could anyone help me to understand why this warning is coming and the TR is not deleted?. I am trying to delete the TOC(Transport of Copies) from the queue which has the type T in E070 table. All helps are really appreciated.

Read only

0 Likes
3,677
Read only

faisal_pc
Active Contributor
0 Likes
3,677

Hi All,

I could find the reason. It was because I hadn't given the client while passing to the function module. Thanks a lot for everyone.