SAP Reports / Programs

AKHCHECK_TRM SAP ABAP Report - Maintain Assignments of Application Components to R/3 TRM Applications







AKHCHECK_TRM 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 AKHCHECK_TRM 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 AKHCHECK_TRM. "Basic submit
SUBMIT AKHCHECK_TRM AND RETURN. "Return to original report after report execution complete
SUBMIT AKHCHECK_TRM 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_DELETE = Delete Obsolete TRM Appl.
Selection Text: P_FCTRID = D Application Component
Selection Text: P_MODIFY = Maintain TRM Applications
Title: Maintain Assignments of Application Components to R/3 TRM Applications
Text Symbol: 010 = Delete Entry
Text Symbol: 020 = Delete the selected entries?
Text Symbol: POP = TRM Application


INCLUDES used within this REPORT AKHCHECK_TRM

INCLUDE RBMTYPES01.
INCLUDE LSF00TOP.


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:

RH_CHECK_SYSTEM_TYPE CALL FUNCTION 'RH_CHECK_SYSTEM_TYPE' EXCEPTIONS sap_system = 1.

BM_ROOT_STRUCTURE_GET call function 'BM_ROOT_STRUCTURE_GET' IMPORTING structure_id = struct_id.

BM_HIERARCHY_GET call function 'BM_HIERARCHY_GET' exporting structure_id = struct_id levels = 1 ignore_sfw_switches = 'X' TABLES treenodes = nodes exceptions error_occurred = 1 warning_occurred = 2.

BM_COMPONENTS_SELECT call function 'BM_COMPONENTS_SELECT' EXPORTING with_appl_data = 'X' TABLES selvalues = compsel CHANGING function_ranges = components.

POPUP_GET_VALUES_USER_CHECKED call function 'POPUP_GET_VALUES_USER_CHECKED' exporting formname = 'COMPONENT_SET_VALUE' popup_title = text-pop programname = repid * START_COLUMN = '5' * START_ROW = '5' importing returncode = l_rc tables fields = l_fields.

BM_OBJECT_MAINTAIN call function 'BM_OBJECT_MAINTAIN' exporting i_mode = c_mode_modify i_object_type = c_ttyp_function_range i_object_id = l_function_range-fctr_id _maintain_structure = space "keine Änderung der ObjStruktur tables t_fieldcat = lt_fieldcat changing r_object = l_function_range exceptions others = 1.

REUSE_ALV_LIST_DISPLAY call function 'REUSE_ALV_LIST_DISPLAY' exporting i_callback_program = repid i_callback_pf_status_set = 'LIST_STATUS_SET' i_callback_user_command = 'LIST_USER_COMMAND' is_layout = l_layout it_fieldcat = l_fieldcat[] i_buffer_active = 'X' tables t_outtab = complist.

POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' exporting titel = text-010 textline1 = text-020 textline2 = space defaultoption = 'N' importing answer = l_answer.



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