SAP Reports / Programs

RHACTGR0 SAP ABAP dialog Program - Interface Roles







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


Text pool values


Title: Interface Roles


INCLUDES used within this REPORT RHACTGR0

INCLUDE MPH5ATOP.
INCLUDE MPHFCOD0.
INCLUDE RHHRSDAT.


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:

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = $pfcg EXCEPTIONS ok = 0 not_ok = 4.

RH_ACTIVITYGROUP_USER_VIEW CALL FUNCTION 'RH_ACTIVITYGROUP_USER_VIEW' IMPORTING org_view = view_flag.

RH_ACTIVITYGROUP_USER_VIEW CALL FUNCTION 'RH_ACTIVITYGROUP_USER_VIEW' EXPORTING change_org_view = changed_flag.

PRGN_SHOW_EDIT_AGR CALL FUNCTION 'PRGN_SHOW_EDIT_AGR' "Note691780 EXPORTING agr_name = agname mode = 'A' screen = '1' EXCEPTIONS agr_not_found = 1 OTHERS = 2.

RH_ACTIVITYGROUP_USER_VIEW CALL FUNCTION 'RH_ACTIVITYGROUP_USER_VIEW' EXPORTING change_org_view = changed_flag.

PRGN_ACTIVITY_GROUPS_LOAD CALL FUNCTION 'PRGN_ACTIVITY_GROUPS_LOAD' EXPORTING like_parameter_for_select = search select_texts = $cross select_texts_in_any_language = $cross TABLES activity_groups_texts = actgroups EXCEPTIONS no_activity_groups_available = 1 OTHERS = 2.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'REALO' value_org = 'S' TABLES value_tab = f4_tab return_tab = return EXCEPTIONS OTHERS = 0.

PRGN_READ_USERS CALL FUNCTION 'PRGN_READ_USERS' EXPORTING time_dependent = ' ' only_org_users = 'Y' TABLES activity_groups = read_actgroups activity_groups_users = result_actgroups EXCEPTIONS no_users_available = 1 OTHERS = 2.

PRGN_READ_ACTIVITY_GROUPS CALL FUNCTION 'PRGN_READ_ACTIVITY_GROUPS' EXPORTING time_dependent = ' ' only_org_users = ' ' CALL_BY_SU01 = 'X' "Note 1319905 TABLES users = read_users activity_groups_users = result_actgroups EXCEPTIONS no_activity_groups_available = 1 OTHERS = 2.

PRGN_GET_AGR_HIERARCHY CALL FUNCTION 'PRGN_GET_AGR_HIERARCHY' EXPORTING agr_name = actgroup * parent = 1 up = $cross down = space TABLES all_agr_groups_input = all_agr_groups relation = rel_actgroups EXCEPTIONS cycle_detected = 1 parent_does_not_exist = 2 OTHERS = 3 .

PRGN_GET_AGR_HIERARCHY_DOWN CALL FUNCTION 'PRGN_GET_AGR_HIERARCHY_DOWN' TABLES roles_input = roles_input relation = rel_actgroups.

PRGN_GET_AGR_HIERARCHY * call function 'PRGN_GET_AGR_HIERARCHY' * exporting * agr_name = actgroup * up = space * down = $cross * tables * all_agr_groups_input = all_agr_groups * relation = rel_actgroups * EXCEPTIONS * CYCLE_DETECTED = 1 * PARENT_DOES_NOT_EXIST = 2 * OTHERS = 3 * .

PRGN_ACTIVITY_GROUPS_LOAD CALL FUNCTION 'PRGN_ACTIVITY_GROUPS_LOAD' EXPORTING select_texts = $cross select_all_activity_groups = $cross select_texts_in_any_language = $cross TABLES activity_groups_texts = actgroups EXCEPTIONS no_activity_groups_available = 1 OTHERS = 2.

PRGN_READ_OBJECT CALL FUNCTION 'PRGN_READ_OBJECT' EXPORTING activity_group = actgroup IMPORTING activity_group_text = text EXCEPTIONS not_found = 1 OTHERS = 2.

COLL_ACTGROUPS_GET_ACTGROUPS CALL FUNCTION 'COLL_ACTGROUPS_GET_ACTGROUPS' EXPORTING activity_group = actgroup TABLES activity_groups_texts = rel_actgroups EXCEPTIONS OTHERS = 0.

COLL_ACTGROUPS_GET_TOP_AGR CALL FUNCTION 'COLL_ACTGROUPS_GET_TOP_AGR' EXPORTING activity_group = actgroup TABLES activity_groups_texts = rel_actgroups EXCEPTIONS OTHERS = 0.

SUSR_BASE_AUTHORITY_CHECK CALL FUNCTION 'SUSR_BASE_AUTHORITY_CHECK' "Note 828672 EXPORTING asg_type = 'UA' act_group = lv_agr_name EXCEPTIONS not_authorized = 1 OTHERS = 3.

PRGN_READ_OBJECT CALL FUNCTION 'PRGN_READ_OBJECT' EXPORTING activity_group = actgrp IMPORTING activity_group_text = actgrp_text EXCEPTIONS not_found = 1 OTHERS = 2.



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