PRGN_COPY_ACTIVITY_GROUPS 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 PRGN_COPY_ACTIVITY_GROUPS into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: NO_T_ = Leave out technical name
Title: Mass Copy of roles that begin with "T_" or "RY"
Text Symbol: 001 = Go to the profile of the copied role by double-click
Text Symbol: 002 = Copied Role
Text Symbol: 003 = New
Text Symbol: 008 = Reading data
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
PRGN_AUTH_MAXIMAL_AUTHORITY call function 'PRGN_AUTH_MAXIMAL_AUTHORITY' exporting also_s_tcode = ' ' also_s_develop = ' ' also_s_user_agr = 'X' also_s_user_grp = 'X' exceptions not_authorized = 1 others = 2.
PRGN_ACTIVITY_GROUPS_LOAD call function 'PRGN_ACTIVITY_GROUPS_LOAD' exporting select_texts = 'X' select_all_activity_groups = 'X' select_texts_in_any_language = 'X' tables activity_groups_texts = single_actgroups exceptions no_activity_groups_available = 1 others = 2.
F4IF_INT_TABLE_VALUE_REQUEST call function 'F4IF_INT_TABLE_VALUE_REQUEST' exporting ddic_structure = 'AGR_TXT' retfield = 'AGR_NAME' value_org = 'S' multiple_choice = 'X' tables value_tab = l_agr_txt field_tab = output_fields return_tab = ret_tab exceptions parameter_error = 1 no_values_found = 2 others = 3.
PRGN_COPY_ACTIVITY_GROUP call function 'PRGN_COPY_ACTIVITY_GROUP' exporting source_activity_group = agr_tab-agr_name target_activity_group = new_agr_name with_user_assignment = 'X' exceptions action_cancelled = 1 not_authorized = 2 target_already_exists = 3 source_does_not_exist = 4 internal_error = 5 others = 6.
PRGN_ACTIVITY_GROUP_ENQUEUE * CALL FUNCTION 'PRGN_ACTIVITY_GROUP_ENQUEUE' * EXPORTING * ACTIVITY_GROUP = AGR_ID * EXCEPTIONS * FOREIGN_LOCK = 1 * TRANSPORT_CHECK_PROBLEM = 2 * OTHERS = 3.
SAPGUI_PROGRESS_INDICATOR * CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' * EXPORTING * TEXT = TEXT-008 * EXCEPTIONS * OTHERS = 1.
SUPRN_PROFILE_GENERATOR * CALL FUNCTION 'SUPRN_PROFILE_GENERATOR' * EXPORTING * ACT_OBJID = AGR_ID * MAINTAIN = ' ' * EXCEPTIONS * DIALOG_CANCELLED = 1 * OBJID_NOT_FOUND = 2 * NO_AUTHORITY = 3 * OTHERS = 4.
PRGN_ACTIVITY_GROUP_DEQUEUE * CALL FUNCTION 'PRGN_ACTIVITY_GROUP_DEQUEUE' * EXPORTING * ACTIVITY_GROUP = AGR_ID * EXCEPTIONS * OTHERS = 1.
PRGN_ACTIVITY_GROUP_ENQUEUE call function 'PRGN_ACTIVITY_GROUP_ENQUEUE' exporting activity_group = agr_id exceptions foreign_lock = 1 transport_check_problem = 2 others = 3.
SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting text = text-008 exceptions others = 1.
SUPRN_PROFILE_GENERATOR call function 'SUPRN_PROFILE_GENERATOR' exporting act_objid = agr_id maintain = ' ' exceptions dialog_cancelled = 1 objid_not_found = 2 no_authority = 3 others = 4.
PRGN_ACTIVITY_GROUP_DEQUEUE call function 'PRGN_ACTIVITY_GROUP_DEQUEUE' exporting activity_group = agr_id exceptions others = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
PRGN_COPY_ACTIVITY_GROUPS - Mass Copy of roles that begin with "T_" or "RY" PRGN_COPY_ACTIVITY_GROUPS - Mass Copy of roles that begin with "T_" or "RY" PRGN_COMPRESS_TIMES_F01_ALV - PRGNCOMPRESSTIMESF01ALV PRGN_COMPRESS_TIMES - Compression of User Assignments for Roles PRGN_COMPRESS_TIMES - Compression of User Assignments for Roles PRGN_CHECK_AGR_TRANSLATION - Check the Role Translation