Skip to Content
0
Dec 04, 2009 at 04:01 PM

STMS 46c to Netweaver changes / ABAP RSTMS_CLEAN_IMPORT_QUEUE / job

129 Views

Hello

in 46C there was the possibility to clean the already imported trasnport requests

via a batch job using abap program RSTMS_CLEAN_IMPORT_QUEUE

it seems that this very short, tiny, little program is no more available in Netweaver 7.0

I did check in HR / ERP / SRM systems all in Netweaver 7.0 and that program is no more there

Any particular reason why that program do not exist any more ?

Could we use the 46C ABAP and maybe adapt the very short code to Netweaver if required

This is what it was in 46C:

&----


*& Report RSTMS_CLEAN_IMPORT_QUEUE *

*& *

&----


*& Transport Management System *

*& remove already imported and rejected requests from import queue *

&----


REPORT rstms_clean_import_queue MESSAGE-ID xt

NO STANDARD PAGE HEADING.

DATA: gv_system TYPE tmscsys-sysnam.

gv_system = sy-sysid.

CALL FUNCTION 'TMS_MGR_MAINTAIN_TR_QUEUE'

EXPORTING

iv_command = 'CLEANBUFFER'

iv_system = gv_system

EXCEPTIONS

OTHERS = 99.

.

IF sy-subrc <> 0.

MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno

WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

ENDIF.