SAP Reports / Programs | Basis Components | Change & Transport System | Transport Organizer(BC-CTS-ORG) SAP BC

RSPUTPRT SAP ABAP Report - Log Display







RSPUTPRT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program outputs logs stored in a particular format in the database or as files at operating system level...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 RSPUTPRT 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 RSPUTPRT. "Basic submit
SUBMIT RSPUTPRT AND RETURN. "Return to original report after report execution complete
SUBMIT RSPUTPRT 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: USERNAME = User Name (SAPNAMES Access)
Selection Text: TRKORR = Transport Request
Selection Text: TOP_LINE = Positioning on Line
Selection Text: SYSNAME = System Name of Action
Selection Text: SHOW_LEV = Display Level (1 to 9)
Selection Text: RCODE = Return Code (SAPNAMES Access)
Selection Text: PROTTYPE = Log Type: D(B), F(ile)
Selection Text: PROTNAME = DB Log Name (from DDPRH)
Selection Text: MY_TITEL = Header
Selection Text: LANGU = Display Language
Selection Text: FILE = Complete File Name (with Dir.)
Selection Text: DIRTYPE = Directory: T(ransp.), P(ut)
Selection Text: DATE = Time Stamp of Step in COFILE
Selection Text: ACTTYPE = Action: E(xp),I(mp),A(ct) etc.
Title: Log Display
Text Symbol: T03 = Log:
Text Symbol: T02 = Database Log:
Text Symbol: T01 = Log File:
Text Symbol: H01 = Log Display
Text Symbol: 050 = No log entries found


INCLUDES used within this REPORT RSPUTPRT

INCLUDE LTMSCCON.


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_AND_DISPLAY_LOG CALL FUNCTION 'TR_READ_AND_DISPLAY_LOG' EXPORTING iv_log_type = gv_log_type iv_logname_file = gv_logname_file iv_logname_db = gv_logname_db iv_logname_memory = gv_logname_memory iv_titlebar = gv_titlebar iv_heading = gv_heading iv_top_line = gv_line iv_timestamp = gv_timestamp iv_client = gv_client iv_language = langu iv_display_level = show_lev iv_with_long_text_icon = 'X' EXCEPTIONS invalid_input = 1 access_error = 2.

STRF_ACCESS_SAPNAMES CALL FUNCTION 'STRF_ACCESS_SAPNAMES' EXPORTING iv_function = 'R' iv_user = username iv_dirtype = 'T' TABLES tt_sapnames = lt_sapnames EXCEPTIONS could_not_access = 1 no_success = 2 wrong_call = 3 OTHERS = 4.

STRF_ACCESS_SAPNAMES CALL FUNCTION 'STRF_ACCESS_SAPNAMES' EXPORTING iv_function = 'M' iv_user = username iv_dirtype = 'T' TABLES tt_sapnames = lt_mod_sapn EXCEPTIONS could_not_access = 1 no_success = 2 wrong_call = 3 OTHERS = 4.

STRF_OPEN_PROT CALL FUNCTION 'STRF_OPEN_PROT' EXPORTING access = 'R' acttype = acttype dirtype = dirtype trkorr = trkorr sysname = sysname IMPORTING cant_open = gv_cant_open file = lv_file EXCEPTIONS wrong_call = 8.

STRF_SETNAME_PROT CALL FUNCTION 'STRF_SETNAME_PROT' EXPORTING acttype = pv_acttype dirtype = pv_dirtype sysname = pv_sysname trkorr = pv_trkorr IMPORTING filename = lv_filename.

STRF_SETNAME_PROT_SINGLE CALL FUNCTION 'STRF_SETNAME_PROT_SINGLE' EXPORTING acttype = pv_acttype "valid steps: SNn6< sysdate = pv_date sysname = lv_sysname IMPORTING filename = lv_filename EXCEPTIONS OTHERS = 99.

TMS_CI_GET_FILES CALL FUNCTION 'TMS_CI_GET_FILES' EXPORTING iv_srcsystem = lv_srcsystem * IV_SRCDOMAIN = * IV_TARSYSTEM = TABLES tt_fili = lt_fili EXCEPTIONS system_not_remote = 0 OTHERS = 7 .



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 RSPUTPRT or its description.