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

RSIMGASAP SAP ABAP Report - Generation of Project IMG views for ASAP







RSIMGASAP 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 RSIMGASAP 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 RSIMGASAP. "Basic submit
SUBMIT RSIMGASAP AND RETURN. "Return to original report after report execution complete
SUBMIT RSIMGASAP VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Generation of Project IMG views for ASAP
Text Symbol: 001 = Activities with process assignments in Project &&&
Text Symbol: 002 = Activities without process assignments in Project &&&
Text Symbol: 003 = Project &1; Process &2


INCLUDES used within this REPORT RSIMGASAP

INCLUDE LSIPRTO1.


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:

SPROJECT_GET_OBJECT CALL FUNCTION 'SPROJECT_GET_OBJECT' EXPORTING PROJECT_ID = project_id OBJ_TYPE = obj_TYPE TABLES OBJECT_ID = OBJECT_ID_tab.

BM_ACTIVITIES_FOR_PROJECT_GET CALL FUNCTION 'BM_ACTIVITIES_FOR_PROJECT_GET' EXPORTING PROJECTNO = PROJECTno TABLES IMG_ASS = IMG_ASS.

STREE_GET_NODES_FOR_GIVEN_REF CALL FUNCTION 'STREE_GET_NODES_FOR_GIVEN_REF' EXPORTING CHECK_SELECTED_TREE_TYPES = 'X' READ_REFERENCES_FOR_NODES = 'X' * IMPORTING * MESSAGE = TABLES I_LIST_OF_REFERENCES = activities_in_process I_TREETYPES = I_TREETYPES E_LIST_OF_NODES = nodes_in_process E_LIST_OF_REFERENCES = references_in_process .

STREE_GET_NODES_FOR_GIVEN_REF CALL FUNCTION 'STREE_GET_NODES_FOR_GIVEN_REF' EXPORTING CHECK_SELECTED_TREE_TYPES = 'X' READ_REFERENCES_FOR_NODES = ' ' * IMPORTING * MESSAGE = TABLES I_LIST_OF_REFERENCES = activities_not_in_process I_TREETYPES = I_TREETYPES E_LIST_OF_NODES = nodes_not_in_process * E_LIST_OF_REFERENCES = .

STREE_EXTERNAL_DELETE CALL FUNCTION 'STREE_EXTERNAL_DELETE' EXPORTING STRUCTURE_ID = view_parameters-id * POPUP_TEXTLINE2 = ' ' * POPUP_TITLETEXT = ' ' NO_CONFIRMATION_POPUP = 'X' * USE_REMOTE_CONNECTION = ' ' * RFC_DESTINATION = 'NONE' * DELETE_INCLUDED_FILTER = 'X' * TRANSPORT_ORDER = ' ' * IMPORTING * MESSAGE = * DELETION_CANCELED = * TABLES * USER_PARAMETERS = .

SPROJECT_REMOVE_OBJECT CALL FUNCTION 'SPROJECT_REMOVE_OBJECT' EXPORTING PROJECT_ID = PROJECT_ID1 OBJ_TYPE = OBJ_TYPE1 OBJECT_ID = OBJECT_ID.

SPROJECT_PROJECT_F4 CALL FUNCTION 'SPROJECT_PROJECT_F4' * EXPORTING * LANGUAGE = SY-LANGU * SCREEN_TITLE = * CLASS = * IMPORTING * PROJECT_TITLE = * PROJECT_CLASS = CHANGING PROJECT_ID = pro EXCEPTIONS SELECTION_CANCELLED = 1 NO_DATA_FOUND = 2 OTHERS = 3.

STREE_STRUCTURE_READ_N_TOP_LEV CALL FUNCTION 'STREE_STRUCTURE_READ_N_TOP_LEV' EXPORTING STRUCTURE_ID = P_PROJECT_IMG_ID * FILTER_ID = ' ' READ_ALL_LEVELS = 'X' READ_N_LEVELS = '99' * DISPLAY_MODE = 'D' * IMPORTING * MESSAGE = TABLES STRUCTURE_TABLE = par_structure.

STREE_STRUCTURE_INSERT_SUBSTRU CALL FUNCTION 'STREE_STRUCTURE_INSERT_SUBSTRU' * EXPORTING * FILTER_ID = ' ' * READ_ALSO_REFERENCES = ' ' * READ_ALSO_TEXTS = ' ' * LANGUAGE = SY-LANGU TABLES I_STRUCTURE = par_structure E_STRUCTURE = P_P_IMG_NODES * E_REFERENCES = * E_TEXTS = .

STREE_STRUCTURE_FILTER CALL FUNCTION 'STREE_STRUCTURE_FILTER' EXPORTING STRUCTURE_ID = ' ' DESCRIPTION = DESCRIPTION * LANGUAGE = SY-LANGU STRUCTURE_TYPE = 'CUSPV' PARENT_STRUCTURE_ID = P_PROJECT_IMG_ID * PARENT_FILTER_ID = ' ' SWITCH_NODES_OFF = ' ' NO_TRANSPORT_CHECK = 'X' * DEVELOPMENT_CLASS = ' ' IMPORTING MESSAGE = MESSAGE NEW_STRUCTURE_ID = NEW_STRUCTURE_ID TABLES PARENT_STRUCTURE = P_P_IMG_NODES * LIST_OF_REFERENCES = LIST_OF_NODES = P_NODES * FILTERED_STRUCTURE = .

STREE_UPDATE_PARAMETER_VALUES CALL FUNCTION 'STREE_UPDATE_PARAMETER_VALUES' EXPORTING STRUCTURE_ID = new_structure_id TABLES PARAMETER_VALUES = parameters.

SPROJECT_GET_OBJECT CALL FUNCTION 'SPROJECT_GET_OBJECT' EXPORTING PROJECT_ID = project_number OBJ_TYPE = 'PLAN' TABLES OBJECT_ID = object_id.



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