SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | Document Management Services(BC-SRV-KPR-DMS) SAP BC

RSTIRTRI SAP ABAP Report - KPro: Call post-transport processing







RSTIRTRI is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RSTIRTRI into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RSTIRTRI. "Basic submit
SUBMIT RSTIRTRI AND RETURN. "Return to original report after report execution complete
SUBMIT RSTIRTRI VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: CLIENT = Client
Selection Text: P_FILE = Transport File
Selection Text: P_LOC = Target location
Selection Text: P_PROT = Logging
Selection Text: P_TRKORR = D Request/task
Selection Text: RFC_DEST = RFC destination
Title: KPro: Call post-transport processing
Text Symbol: 001 = Error while reading transport request
Text Symbol: 002 = Post-import processing not required
Text Symbol: 003 = Error during post-import processing
Text Symbol: 004 = Document transport: Method execution after the IMPORT


INCLUDES used within this REPORT RSTIRTRI

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

TR_READ_COMM CALL FUNCTION 'TR_READ_COMM' EXPORTING wi_trkorr = wi_trkorr wi_sel_e070 = 'X' wi_sel_e071 = 'X' wi_sel_e071k = 'X' wi_sel_e07t = 'X' wi_sel_e070c = 'X' iv_sel_e070m = 'X' IMPORTING we_e070 = we_e070 we_e07t = we_e07t we_e070c = we_e070c we_e07t_doesnt_exist = we_e07t_doesnt_exist we_e070c_doesnt_exist = we_e070c_doesnt_exist TABLES wt_e071 = wt_e071 wt_e071k = wt_e071k EXCEPTIONS not_exist_e070 = 1 no_authorization = 2 OTHERS = 3.

STRF_READ_COFILE CALL FUNCTION 'STRF_READ_COFILE' EXPORTING iv_dirtype = 'T' iv_trkorr = wi_trkorr EXCEPTIONS wrong_call = 1 no_info_found = 2.

STRF_READ_COFILE CALL FUNCTION 'STRF_READ_COFILE' EXPORTING iv_dirtype = 'P' iv_trkorr = wi_trkorr EXCEPTIONS wrong_call = 1 no_info_found = 2.

TR_INITIALIZE_LOG CALL FUNCTION 'TR_INITIALIZE_LOG' EXPORTING acttype = 'R' dirtype = dirtype sysname = sysname trkorr = wi_trkorr * TRBAT_LOGNAME = ' ' * IV_CHECK_LEVELS = ' ' IMPORTING file = log_file EXCEPTIONS wrong_call = 1 OTHERS = 2 .

SDOK_FILE_TRANSFER_AFTER_IMP CALL FUNCTION 'SDOK_FILE_TRANSFER_AFTER_IMP' EXPORTING iv_tarclient = client iv_datafile = p_file location = p_loc rfc_dest = rfc_dest IMPORTING severity = severity TABLES tt_e071 = wt_e071 tt_e071k = wt_e071k EXCEPTIONS OTHERS = 1.

TR_FLUSH_LOG CALL FUNCTION 'TR_FLUSH_LOG' EXCEPTIONS OTHERS = 0. " <--- No Chance for reasonable handling

STRF_SETNAME CALL FUNCTION 'STRF_SETNAME' EXPORTING dirtype = dirtype filename = ' ' subdir = ' ' IMPORTING file = transdir EXCEPTIONS wrong_call = 1 OTHERS = 2.

TRINT_TP_INTERFACE CALL FUNCTION 'TRINT_TP_INTERFACE' EXPORTING iv_tp_command = 'WRITELOG' * IV_SYSTEM_NAME = iv_transport_request = wi_trkorr * iv_client = "client * IV_CLIENT_RESTRICT = * IV_PROJECT = * IV_UMODES = iv_tp_options = iv_tp_options EXCEPTIONS OTHERS = 99 .

STRF_SETNAME_PROT CALL FUNCTION 'STRF_SETNAME_PROT' EXPORTING acttype = 'R' dirtype = 'T' sysname = sysname trkorr = wi_trkorr IMPORTING file = protocol * filename = EXCEPTIONS wrong_call = 1 OTHERS = 2 .

TR_READ_AND_DISPLAY_LOG CALL FUNCTION 'TR_READ_AND_DISPLAY_LOG' EXPORTING iv_log_type = 'FILE' iv_logname_file = protocol * IV_LOGNAME_DB = * IV_LOGNAME_MEMORY = iv_titlebar = title * IV_HEADING = * IV_TIMESTAMP = * IV_TOP_LINE = '0' * IV_DISPLAY_LEVEL = '1' * IV_WITH_LONG_TEXT_ICON = 'X' * IV_WITH_REFRESH_ICON = 'X' * IV_WITH_LEVEL = ' ' * IV_LANGUAGE = SYST-LANGU EXCEPTIONS invalid_input = 1 access_error = 2 OTHERS = 3 .



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RSTIRTRI or its description.