SAP Reports / Programs

RSWBO_ADJUST_REQUEST_TARGETS SAP ABAP Report - Correct Request Targets After System Landscape Change







RSWBO_ADJUST_REQUEST_TARGETS 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 RSWBO_ADJUST_REQUEST_TARGETS 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 RSWBO_ADJUST_REQUEST_TARGETS. "Basic submit
SUBMIT RSWBO_ADJUST_REQUEST_TARGETS AND RETURN. "Return to original report after report execution complete
SUBMIT RSWBO_ADJUST_REQUEST_TARGETS 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: P_UNAM = User (Can Be Generic)
Selection Text: P_SYST = Workbench Requests
Selection Text: P_SYSNAM = Request (Can Be Generic)
Selection Text: P_CUST = Customizing Requests
Title: Correct Request Targets After System Landscape Change
Text Symbol: 999 = Report Log
Text Symbol: 303 = No
Text Symbol: 302 = Yes
Text Symbol: 301 = Do you want to make these changes now?
Text Symbol: 300 = Set the standard transport target for all these requests?
Text Symbol: 207 = requests in total
Text Symbol: 206 = requests with errors
Text Symbol: 205 = Requests whose objects have different target systems
Text Symbol: 204 = requests whose target system is different from that of their objects
Text Symbol: 202 = requests that only contain non-lockable objects
Text Symbol: 201 = requests without errors
Text Symbol: 200 = Request Overview
Text Symbol: 101 = Request Selection


INCLUDES used within this REPORT RSWBO_ADJUST_REQUEST_TARGETS

INCLUDE RDDKORRI.


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:

TRINT_REQUEST_TARGET_CHECK call function 'TRINT_REQUEST_TARGET_CHECK' exporting it_request_headers = lt_request_headers importing et_no_change_necessary_trkorrs = ct_no_change_necessary_reqs et_changeable_trkorrs = ct_changeable_requests et_unchangeable_trkorrs = ct_unchangeable_requests exceptions cts_initialization_failure = 0 others = 0.

TR_DISPLAY_REQUESTS call function 'TR_DISPLAY_REQUESTS' exporting iv_title = text-200 iv_first_node_text = text-201 it_request_numbers = lt_request_numbers iv_complete_requests = 'X'.

TR_DISPLAY_REQUESTS call function 'TR_DISPLAY_REQUESTS' exporting iv_title = text-200 iv_first_node_text = text-204 it_request_numbers = lt_request_numbers iv_complete_requests = 'X'.

TR_DISPLAY_REQUESTS call function 'TR_DISPLAY_REQUESTS' exporting iv_title = text-200 iv_first_node_text = text-207 it_request_numbers = lt_request_numbers iv_complete_requests = 'X'.

TRINT_CONVERT_LOG call function 'TRINT_CONVERT_LOG' tables it_msgs = lt_errors_in_log_format et_lines = lt_errors_in_logdisplay_format.

TRINT_DISPLAY_LOG call function 'TRINT_DISPLAY_LOG' exporting iv_titlebar = text-206 tables ct_lines = lt_errors_in_logdisplay_format changing cv_with_long_text_icon = lv_with_long_text_icon.

POPUP_TO_CONFIRM call function 'POPUP_TO_CONFIRM' exporting titlebar = text-300 diagnose_object = 'TR_CUST_REQ_TARGET' "SE61-text text_question = text-301 icon_button_1 = 'ICON_OKAY' icon_button_2 = 'ICON_CANCEL' default_button = '1' display_cancel_button = space importing answer = lv_popup_answer tables parameter = lt_popup_params exceptions text_not_found = 0 others = 0. "sy-subrc ignored.

TR_WRITE_LOG call function 'TR_WRITE_LOG' exporting iv_log_type = 'MEMORY' iv_logname_memory = 'report_log'(999) tables it_msgs = pt_log exceptions * INVALID_INPUT = not possible * FILE_ACCESS_ERROR = not possible * DB_ACCESS_ERROR = not possible others = 0. "not handled

TR_READ_AND_DISPLAY_LOG call function 'TR_READ_AND_DISPLAY_LOG' exporting iv_log_type = 'MEMORY' iv_logname_memory = text-999 exceptions * INVALID_INPUT = not possible * ACCESS_ERROR = not possible others = 0. "not handled

TRINT_SELECT_REQUESTS call function 'TRINT_SELECT_REQUESTS' exporting iv_username_pattern = pv_username_pattern is_selection = ps_selection iv_complete_projects = space importing et_requests = ct_request_headers exceptions * ACTION_ABORTED_BY_USER not possible others = 0.

TR_CORRECT_REQUEST_TARGETS call function 'TR_CORRECT_REQUEST_TARGETS' exporting it_request_numbers = lt_request_numbers iv_all_custs_follow_stdlayer = space iv_check_only = space importing et_changed_requests = ct_changed_requests et_log = ct_log exceptions cts_initialization_failure = 1 * invalid_input = 2 "cannot happen others = 3.

TR_CORRECT_REQUEST_TARGETS call function 'TR_CORRECT_REQUEST_TARGETS' exporting it_request_numbers = lt_request_numbers iv_all_custs_follow_stdlayer = 'X' iv_check_only = space importing et_changed_requests = ct_changed_requests et_log = ct_log exceptions cts_initialization_failure = 1 * invalid_input = 2 "cannot happen 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 RSWBO_ADJUST_REQUEST_TARGETS or its description.