SAP Reports / Programs | Basis Components | Basis Components | Implementation Guide(BC-CUS-TOL-IMG) SAP BC

RSTRANSPROJECT SAP ABAP Report - Transport Projects







RSTRANSPROJECT 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 RSTRANSPROJECT 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 RSTRANSPROJECT. "Basic submit
SUBMIT RSTRANSPROJECT AND RETURN. "Return to original report after report execution complete
SUBMIT RSTRANSPROJECT 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: ADD_LOC = Transport Local Objects
Selection Text: ALL_LANG = Transport All Languages
Selection Text: BATCH = Collect in Background
Selection Text: NO_DIA = Display No Dialog
Selection Text: P_PRO_ID = Project ID
Selection Text: REQUEST = Transport Request
Title: Transport Projects
Text Symbol: 001 = Incorrect Object Entries
Text Symbol: 002 = Not All Objects can be Transported
Text Symbol: 003 = Incorrect Entries are Highlighted


INCLUDES used within this REPORT RSTRANSPROJECT

INCLUDE CTS_PROJECT_SYSTEMS .


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_SYS_PARAMS CALL FUNCTION 'TR_SYS_PARAMS' IMPORTING * SYSTEMEDIT = * SYSTEMNAME = systemtype = l_systemtype * SYSTEM_CLIENT_EDIT = * SYS_CLIINDDEP_EDIT = * SYSTEM_CLIENT_ROLE = * EV_C_SYSTEM = EXCEPTIONS no_systemname = 1 no_systemtype = 2 OTHERS = 3.

SPROJECT_CHECK_IS_SM_PROJECT CALL FUNCTION 'SPROJECT_CHECK_IS_SM_PROJECT' EXPORTING * PROJECT_ID = project_class = l_tproject-class IMPORTING is_sm_project = solar_project.

SPROJECT_CHECK_NOTES_AT_OBJECT CALL FUNCTION 'SPROJECT_CHECK_NOTES_AT_OBJECT' EXPORTING project_id = p_pro_id IMPORTING notes_at_objects = l_notes_at_objects.

BM_FILTER_GET_ACTIVE_NODES CALL FUNCTION 'BM_FILTER_GET_ACTIVE_NODES' EXPORTING structure_id = l_tobjectp-object_id TABLES all_active_nodes = lt_active_nodes.

STREE_STRUCTURE_EXIST CALL FUNCTION 'STREE_STRUCTURE_EXIST' EXPORTING structure_id = l_tobjectp-object_id IMPORTING structure_header = l_filter.

STREE_STRUCTURE_READ_REFERENCE CALL FUNCTION 'STREE_STRUCTURE_READ_REFERENCE' EXPORTING structure_id = l_filter-tree_id TABLES list_of_nodes = lt_list_of_nodes list_of_references = l_t_list_of_references.

SPROJECT_GET_NOTETYPE CALL FUNCTION 'SPROJECT_GET_NOTETYPE' EXPORTING project_id = l_tproject-project_id * PROJECT_CLASS = language = sy-langu * NODE_TYPE = * NODE_OBJECT = TABLES notetypes = l_t_notetypes_temp.

NOTE_GET_ACTIVITY_OF_FOLDER CALL FUNCTION 'NOTE_GET_ACTIVITY_OF_FOLDER' EXPORTING folder = l_t_folder * APPLICATION = 'CU' IMPORTING img_activities = l_t_img_activities.

STREE_STRUCTURE_READ_SEL_REFS CALL FUNCTION 'STREE_STRUCTURE_READ_SEL_REFS' EXPORTING structure_id = l_tobjectp-object_id reference_type = c_ref_type_cobj * IMPORTING * MESSAGE = TABLES list_of_references = l_t_list_of_references_temp.

STREE_STRUCTURE_EXIST * CALL FUNCTION 'STREE_STRUCTURE_EXIST' * EXPORTING * STRUCTURE_ID = L_TOBJECTP-OBJECT_ID ** READ_FROM_DATABASE = ** DO_NOT_READ_DEVCLASS = ' ' * IMPORTING ** MESSAGE = * STRUCTURE_HEADER = L_STRUCTURE_HEADER ** STRUCTURE_IS_ORIGINAL = ** STRUCTURE_IS_TRANSPORTABLE = * .

SPROJECT_TRANSPORT_EXIT CALL FUNCTION 'SPROJECT_TRANSPORT_EXIT' EXPORTING project_id = l_tproject-project_id all_languages = l_all_langu request = l_es_request-trkorr TABLES t_e071 = l_t_wt_e071 t_e071k = l_t_wt_e071k.

TR_GET_REQUEST_TYPE CALL FUNCTION 'TR_GET_REQUEST_TYPE' EXPORTING iv_pgmid = c_pgmid_proj iv_object = c_object_dsys iv_obj_name = l_obj_name IMPORTING ev_request_type = l_request_type * EV_TASK_TYPE = * EV_TARSYSTEM = EXCEPTIONS no_request_needed = 1 invalid_object = 2 system_error = 3 OTHERS = 4.

STREE_STRUCTURE_READ_SEL_REFS CALL FUNCTION 'STREE_STRUCTURE_READ_SEL_REFS' EXPORTING structure_id = l_tobjectp-object_id reference_type = c_ref_type_cobj * IMPORTING * MESSAGE = TABLES list_of_references = l_t_list_of_references_temp.

TRINT_APPEND_COMM CALL FUNCTION 'TRINT_APPEND_COMM' EXPORTING * WI_EXCLUSIVE = 'X' wi_sel_e071 = 'X' wi_sel_e071k = 'X' wi_trkorr = request * IMPORTING * WE_KEYS_PHYSICAL_APPENDED = * WE_OBJECTS_PHYSICAL_APPENDED = TABLES wt_e071 = l_t_wt_e071 wt_e071k = l_t_wt_e071k EXCEPTIONS e071k_append_error = 1 e071_append_error = 2 trkorr_empty = 3 OTHERS = 4 .

TR_REQUEST_CHOICE CALL FUNCTION 'TR_REQUEST_CHOICE' EXPORTING iv_request_types = l_request_types * IV_CLI_DEP = ' ' iv_request = request it_e071 = l_t_wt_workbench * IV_LOCK_OBJECTS = ' ' * IV_TITLE = * IV_START_COLUMN = 3 * IV_START_ROW = 7 * IV_WITH_ERROR_LOG = 'X' IMPORTING es_request = l_es_request EXCEPTIONS invalid_request = 1 invalid_request_type = 2 user_not_owner = 3 no_objects_appended = 4 enqueue_error = 5 cancelled_by_user = 6 recursive_call = 7 OTHERS = 8.

TR_REQUEST_CHOICE CALL FUNCTION 'TR_REQUEST_CHOICE' EXPORTING iv_suppress_dialog = l_no_transport_dialog iv_request_types = l_request_types * IV_CLI_DEP = ' ' iv_request = request it_e071 = l_t_wt_e071 it_e071k = l_t_wt_e071k * IV_LOCK_OBJECTS = ' ' * IV_TITLE = * IV_START_COLUMN = 3 * IV_START_ROW = 7 * IV_WITH_ERROR_LOG = 'X' IMPORTING es_request = l_es_request EXCEPTIONS invalid_request = 1 invalid_request_type = 2 user_not_owner = 3 no_objects_appended = 4 enqueue_error = 5 cancelled_by_user = 6 recursive_call = 7 OTHERS = 8.

SQATC_MARK_ENTRY_NEW CALL FUNCTION 'SQATC_MARK_ENTRY_NEW' TABLES tc_tab = l_t_notes_transport CHANGING p_tc = tc1 p_tab_line = l_notes_transport p_markfield = l_notes_transport-mark EXCEPTIONS error = 1 OTHERS = 2.

TR_TADIR_POPUP_ENTRY_E071 CALL FUNCTION 'TR_TADIR_POPUP_ENTRY_E071' EXPORTING wi_e071_pgmid = c_pgmid_proj wi_e071_object = c_object_dsys wi_e071_obj_name = g_obj_name * WI_E071_GENNUM = ' ' * WI_MESSAGE_ENTER_DEVCLASS = ' ' * WI_READ_ONLY = ' ' * WI_TADIR_DEVCLASS = ' ' * WI_TADIR_GENFLAG = ' ' * WI_TADIR_MASTERLANG = ' ' * IV_SUPPRESS_MOD_SHOW = ' ' * IMPORTING * WE_TADIR = * ES_TDEVC = * EV_DELETED = EXCEPTIONS display_mode = 1 exit = 2 global_tadir_insert_error = 3 no_repair_selected = 4 no_systemname = 5 no_systemtype = 6 no_tadir_type = 7 reserved_name = 8 tadir_enqueue_failed = 9 devclass_not_found = 10 tadir_not_exist = 11 object_exists = 12 internal_error = 13 object_append_error = 14 tadir_modify_error = 15 object_locked = 16 no_object_authority = 17 OTHERS = 18 .

TR_GET_REQUEST_TYPE





CALL FUNCTION 'TR_GET_REQUEST_TYPE' EXPORTING iv_pgmid = c_pgmid_proj iv_object = c_object_dsys iv_obj_name = l_obj_name IMPORTING ev_request_type = l_request_type * EV_TASK_TYPE = * EV_TARSYSTEM = EXCEPTIONS no_request_needed = 1 invalid_object = 2 system_error = 3 OTHERS = 4.

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = 'Fehlerhafte Objekteinträge'(001) txt1 = 'Nicht alle Objekte können transportiert werden.'(002)

SA_KW_RFC_CHECK_IWB_TYPE CALL FUNCTION 'SA_KW_RFC_CHECK_IWB_TYPE' EXPORTING * area = 'IWBSOLAR' * class = name = 'IWBSOLAR_TRANSPORT_STATUS' value = 'RELEASED' IMPORTING found = only_released_docs.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = l_jobname IMPORTING jobcount = l_jobcount EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 OTHERS = 4.

SPROJECT_GET_UNIQUE_ID CALL FUNCTION 'SPROJECT_GET_UNIQUE_ID' IMPORTING guid = l_export_id.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobcount = l_jobcount jobname = l_jobname strtimmed = 'X' IMPORTING job_was_released = l_job_released EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 OTHERS = 8.

RS_FUNCTION_ACTIVE_CHECK CALL FUNCTION 'RS_FUNCTION_ACTIVE_CHECK' EXPORTING funcname = function_name IMPORTING active = active EXCEPTIONS not_found = 1 OTHERS = 2.

SPROJECT_GET_NOTETYPE CALL FUNCTION 'SPROJECT_GET_NOTETYPE' EXPORTING project_id = l_tproject-project_id language = sy-langu TABLES notetypes = l_t_notetypes.



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