SAP Reports / Programs

RPM_CREATE_ACTIVITYGROUP SAP ABAP Report - Demo Report for creating an activity group from an existing one







RPM_CREATE_ACTIVITYGROUP 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 RPM_CREATE_ACTIVITYGROUP 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 RPM_CREATE_ACTIVITYGROUP. "Basic submit
SUBMIT RPM_CREATE_ACTIVITYGROUP AND RETURN. "Return to original report after report execution complete
SUBMIT RPM_CREATE_ACTIVITYGROUP 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_CAT = Project Category
Selection Text: P_SUBCAT = Project Subcategory
Selection Text: P_S_ACTG = Source Activity Group
Selection Text: P_T_ACTG = Target Activity Group
Selection Text: P_USER = User
Title: Demo Report for creating an activity group from an existing one
Text Symbol: 001 = All


INCLUDES used within this REPORT RPM_CREATE_ACTIVITYGROUP

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:

PRGN_COPY_ACTIVITY_GROUP CALL FUNCTION 'PRGN_COPY_ACTIVITY_GROUP' EXPORTING source_activity_group = p_s_actg target_activity_group = p_t_actg EXCEPTIONS action_cancelled = 1 not_authorized = 2 target_already_exists = 3 source_does_not_exist = 4 internal_error = 5 OTHERS = 6.

PRGN_AUTH_ACTIVITY_GROUP CALL FUNCTION 'PRGN_AUTH_ACTIVITY_GROUP' EXPORTING activity_group = p_t_actg action_create = 'X' EXCEPTIONS not_authorized = 1 OTHERS = 2.

SUPRN_PROFILE_BATCH CALL FUNCTION 'SUPRN_PROFILE_BATCH' EXPORTING act_objid = p_t_actg EXCEPTIONS objid_not_found = 1 no_authorization = 2 generation_not_active = 3 empty_authorizations = 4 enqueue_failed = 5 not_generated = 6 OTHERS = 7.

PRGN_AUTH_ASSIGN_USER_TO_AGR CALL FUNCTION 'PRGN_AUTH_ASSIGN_USER_TO_AGR' EXPORTING uname = p_user EXCEPTIONS not_authorized = 1 OTHERS = 2.

PRGN_RFC_ADD_USERS CALL FUNCTION 'PRGN_RFC_ADD_USERS' TABLES add_users_to_actgroups = lt_str_agrs EXCEPTIONS central_user_maint_active = 1 OTHERS = 2.

RPM_GET_CATEGORY_T CALL FUNCTION 'RPM_GET_CATEGORY_T' IMPORTING et_categories = lt_cats.

HELP_VALUES_GET_NO_DD_NAME CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME' EXPORTING display = ' ' selectfield = 'CATEGORY' titel = ' ' IMPORTING ind = index TABLES fields = field_tab full_table = i_guid_tab EXCEPTIONS full_table_empty = 01 no_tablestructure_given = 02.

RPM_GET_SUBCATEGORY_T CALL FUNCTION 'RPM_GET_SUBCATEGORY_T' EXPORTING iv_category = ls_cat * IV_LANGUAGE = IMPORTING et_subcategories = lt_subcats.

HELP_VALUES_GET_NO_DD_NAME CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME' EXPORTING display = ' ' selectfield = 'SUBCATEGORY' titel = ' ' IMPORTING ind = index TABLES fields = field_tab full_table = i_guid_tab EXCEPTIONS full_table_empty = 01 no_tablestructure_given = 02.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-repid dynumb = '1000' TABLES dynpfields = lt_dynpfields EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 double_conversion = 9 stepl_not_found = 10 OTHERS = 11.



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