SAP Reports / Programs

RSIRTRIM SAP ABAP Report - KPro: Collective Transport Postprocessing







RSIRTRIM is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Post-transport processing call (AFTER import method) for transport requests containing Knowledge Provider documents...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RSIRTRIM 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 RSIRTRIM. "Basic submit
SUBMIT RSIRTRIM AND RETURN. "Return to original report after report execution complete
SUBMIT RSIRTRIM 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_DIR = File Directory
Selection Text: P_LOC = Target Location
Selection Text: P_PROT = Log in Transport System
Selection Text: RFC_DEST = D RFC Destination
Selection Text: S_TRKORR = D Request/Task
Title: KPro: Collective Transport Postprocessing
Text Symbol: 001 = Document transport: Method execution after the IMPORT
Text Symbol: TTL = Execution Options


INCLUDES used within this REPORT RSIRTRIM

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_FLUSH_LOG CALL FUNCTION 'TR_FLUSH_LOG' EXCEPTIONS OTHERS = 0. " ---> No chance for reasonable reaction

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.

SDOK_FILE_TRANSFER_AFTER_IMP CALL FUNCTION 'SDOK_FILE_TRANSFER_AFTER_IMP' EXPORTING iv_tarclient = u_client iv_datafile = u_file location = u_location rfc_dest = u_rfc_dest IMPORTING severity = u_severity TABLES tt_e071 = wt_e071 tt_e071k = wt_e071k.

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

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

TR_INITIALIZE_LOG CALL FUNCTION 'TR_INITIALIZE_LOG' EXPORTING acttype = 'R' dirtype = p_dirtype sysname = sysname trkorr = p_trkorr IMPORTING file = p_log_file EXCEPTIONS wrong_call = 1 OTHERS = 2.

STRF_SETNAME CALL FUNCTION 'STRF_SETNAME' EXPORTING dirtype = p_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_transport_request = p_trkorr iv_tp_options = iv_tp_options EXCEPTIONS OTHERS = 99.

STRF_SETNAME_PROT CALL FUNCTION 'STRF_SETNAME_PROT' EXPORTING acttype = 'R' dirtype = p_dirtype sysname = sysname trkorr = korrtab-trkorr IMPORTING file = protocol_file 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_file iv_titlebar = title 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 RSIRTRIM or its description.