SAP Reports / Programs | Basis Components | Security | ABAP Authorization and Role Management(BC-SEC-AUT-PFC) SAP BC

AGR_DELETE_ALL_ACTIVITY_GROUPS SAP ABAP Report - Mass deletion of roles (Internal Use Only)







AGR_DELETE_ALL_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 AGR_DELETE_ALL_ACTIVITY_GROUPS 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 AGR_DELETE_ALL_ACTIVITY_GROUPS. "Basic submit
SUBMIT AGR_DELETE_ALL_ACTIVITY_GROUPS AND RETURN. "Return to original report after report execution complete
SUBMIT AGR_DELETE_ALL_ACTIVITY_GROUPS 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: AGR = Activity groups
Title: Mass deletion of roles (Internal Use Only)
Text Symbol: 103 = Delete Roles
Text Symbol: 102 = roles?
Text Symbol: 101 = Deletes all selected
Text Symbol: 003 = Delete roles (delete using modules)
Text Symbol: 002 = Delete all tables (directly delete tables)
Text Symbol: 001 = Clean up all roles


INCLUDES used within this REPORT AGR_DELETE_ALL_ACTIVITY_GROUPS

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_CHECK_SYSTEM_TYPE *CALL FUNCTION 'PRGN_CHECK_SYSTEM_TYPE' * EXCEPTIONS * SAP_SYSTEM = 1 * OTHERS = 2.

PRGN_AUTH_MAXIMAL_AUTHORITY *CALL FUNCTION 'PRGN_AUTH_MAXIMAL_AUTHORITY' * EXPORTING * ALSO_S_TCODE = 'X' * EXCEPTIONS * NOT_AUTHORIZED = 1 * OTHERS = 2.

POPUP_TO_CONFIRM_STEP *CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' * EXPORTING * DEFAULTOPTION = 'Y' * TEXTLINE1 = 'Alle Aktivitätsgruppen die Sie ausgewählt'(101) * TEXTLINE2 = 'haben, werden gelöscht. Sind Sie sicher ?'(102)

PRGN_AUTH_ACTIVITY_GROUP * CALL FUNCTION 'PRGN_AUTH_ACTIVITY_GROUP' * EXPORTING * ACTIVITY_GROUP = I_AGR_DEFINE-AGR_NAME * ACTION_CREATE = SPACE * ACTION_DISPLAY = 'X' * ACTION_CHANGE = 'X' * ACTION_DELETE = 'X' * MESSAGE_OUTPUT = SPACE * EXCEPTIONS * NOT_AUTHORIZED = 1 * OTHERS = 2.

PRGN_ACTIVITY_GROUP_DELETE * CALL FUNCTION 'PRGN_ACTIVITY_GROUP_DELETE' * EXPORTING * ACTIVITY_GROUP = I_AGR_DEFINE-AGR_NAME ** ENQUEUE_AND_TRANSPORT = 'X' * EXCEPTIONS * NOT_AUTHORIZED = 1 * TRANSPORT_CHECK_PROBLEM = 2 * TRANSPORT_CANCELED_OR_PROBLEM = 3 * ONE_OR_MORE_USERS_ENQUEUED = 4 * FOREIGN_LOCK = 5 * USER_CANCELS_ACTION = 6 * OTHERS = 7.

RH_ACTGROUP_RELATIONS_HANDLE * CALL FUNCTION 'RH_ACTGROUP_RELATIONS_HANDLE' * EXPORTING * SOURCE_ACTGROUP = AGR_NAME * ACT_FCODE = 'DEL ' * EXCEPTIONS * NO_ACTIVE_PLVAR = 1 * INVALID_FCODE = 2 * PARAMETER_ERROR = 3 * ERROR_DURING_DATABASE_ACCESS = 4 * OTHERS = 5.



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