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

RS_IMG_ACTIVITY_CHECK_USAGE_2 SAP ABAP Report - Use of IMG Activities in Ref. IMG (with Enhancement ID)







RS_IMG_ACTIVITY_CHECK_USAGE_2 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 RS_IMG_ACTIVITY_CHECK_USAGE_2 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 RS_IMG_ACTIVITY_CHECK_USAGE_2. "Basic submit
SUBMIT RS_IMG_ACTIVITY_CHECK_USAGE_2 AND RETURN. "Return to original report after report execution complete
SUBMIT RS_IMG_ACTIVITY_CHECK_USAGE_2 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: PAK = D Package
Title: Use of IMG Activities in Ref. IMG (with Enhancement ID)
Text Symbol: 001 = Activity
Text Symbol: 002 = Reference IMG
Text Symbol: 003 = Other IMG
Text Symbol: 004 = Not Used
Text Symbol: 005 = Inconsistent Data
Text Symbol: 006 = Package
Text Symbol: 007 = Enhancement ID
Text Symbol: 008 = Name of Activity


INCLUDES used within this REPORT RS_IMG_ACTIVITY_CHECK_USAGE_2

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:

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' * SEARCH_GENERIC = * IMPORTING * MESSAGE = TABLES I_LIST_OF_REFERENCES = I_LIST_OF_REFERENCES I_TREETYPES = I_TREETYPES E_LIST_OF_NODES = E_LIST_OF_NODES E_LIST_OF_REFERENCES = E_LIST_OF_REFERENCES.

STREE_GET_STRUCT_FOR_GIVEN_REF *CALL FUNCTION 'STREE_GET_STRUCT_FOR_GIVEN_REF' * EXPORTING * CHECK_SELECTED_TREE_TYPES = 'X' ** INCLUDE_FILTER = ** SEARCH_GENERIC = ** IMPORTING ** MESSAGE = * TABLES * I_REFERENCES = I_REFERENCES * I_TREETYPES = I_TREETYPES * E_STRUCTURES = E_STRUCTURES * E_NODES = E_NODES * E_REFERENCES = E_REFERENCES * .

S_CUS_IMG_GET_REFERENCE_IMG_ID CALL FUNCTION 'S_CUS_IMG_GET_REFERENCE_IMG_ID' IMPORTING REFERENCE_IMG_ID = REFERENCE_IMG_ID.

STREE_GET_CHILD_STRUCTURES CALL FUNCTION 'STREE_GET_CHILD_STRUCTURES' EXPORTING STRUCTURE_ID = REFERENCE_IMG_ID * IMPORTING * MESSAGE = TABLES USER_PARAMETERS = USER_PARAMETERS CHILD_STRUCTURES = CHILD_STRUCTURES.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = ' ' * I_BUFFER_ACTIVE = ' ' I_CALLBACK_PROGRAM = l_repid * I_CALLBACK_PF_STATUS_SET = ' ' I_CALLBACK_USER_COMMAND = 'USER_COMMAND' * I_CALLBACK_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_END_OF_LIST = ' ' * I_STRUCTURE_NAME = * I_BACKGROUND_ID = ' ' * I_GRID_TITLE = * I_GRID_SETTINGS = * IS_LAYOUT = IT_FIELDCAT = IT_FIELDCAT * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' * I_SAVE = ' ' * IS_VARIANT = * IT_EVENTS = * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * I_HTML_HEIGHT_TOP = 0 * I_HTML_HEIGHT_END = 0 * IT_ALV_GRAPHICS = * IT_HYPERLINK = * IT_ADD_FIELDCAT = * IT_EXCEPT_QINFO = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES T_OUTTAB = activities * EXCEPTIONS * PROGRAM_ERROR = 1 * OTHERS = 2 .

STREE_EXTERNAL_DISPLAY CALL FUNCTION 'STREE_EXTERNAL_DISPLAY' EXPORTING STRUCTURE_ID = activities-tree_id * LANGUAGE = SY-LANGU * DISPLAY_STRUCTURE = 'X' * NO_COMMIT_WORK = 'X' * USE_REMOTE_CONNECTION = ' ' * RFC_DESTINATION = 'NONE' POSITION_ON_NODE = activities-node_id * POSITION_ON_NODES = * ID_FOR_USE_AS_FILTER = ' ' * IMPORTING * MESSAGE = * TOGGLE = * TABLES * USER_PARAMETERS = * POSITION_HIERARCHY = .

S_CUS_IMG_ACTIVITY_MAINTAIN call function 'S_CUS_IMG_ACTIVITY_MAINTAIN' EXPORTING i_display = ' ' CHANGING img_activity = activities-activity.



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