SAP Reports / Programs

SAPMS01GN SAP ABAP Report - Evaluation of the Last Authorization Check







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


Text pool values


Title: Evaluation of the Last Authorization Check
Text Symbol: T02 = HR Trace: Checks when Creating
Text Symbol: T01 = Failed HR Structure Authorizations
Text Symbol: 039 = Relation
Text Symbol: 038 = Action
Text Symbol: 037 = End Date
Text Symbol: 036 = Start Date
Text Symbol: 035 = Object ID
Text Symbol: 034 = Object Type
Text Symbol: 033 = Plan Version
Text Symbol: 032 = Date
Text Symbol: 030 = Reading HR trace ...
Text Symbol: 029 = To
Text Symbol: 028 = Display...
Text Symbol: 027 = Reading authorization data...
Text Symbol: 026 = Initialization
Text Symbol: 025 = Available in User Buffer, but not in Master Data
Text Symbol: 024 = Authorization Objects for User &
Text Symbol: 023 = Users with Failed Authorization Checks
Text Symbol: 022 = User's Authorization Data
Text Symbol: 021 = Reference User
Text Symbol: 020 =
Text Symbol: 019 = Authorization
Text Symbol: 018 = Authorization Object
Text Symbol: 017 = Description
Text Symbol: 016 = No authorizations available
Text Symbol: 015 = Role
Text Symbol: 014 = Profile
Text Symbol: 012 = Not Available in User Buffer
Text Symbol: 011 = Available in User Buffer
Text Symbol: 009 = Authorization Object
Text Symbol: 006 = The last authorization check was successful
Text Symbol: 005 = Result of the Last Authorization Check
Text Symbol: 004 = Authorization check failed
Text Symbol: 003 = Authorization check successful
Text Symbol: 002 = Authorization Values
Text Symbol: 001 = You are not authorized to display authorization values


INCLUDES used within this REPORT SAPMS01GN

INCLUDE MS01CTCO.





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:

DYNP_VALUES_UPDATE call function 'DYNP_VALUES_UPDATE' exporting dyname = repid dynumb = dynnr tables dynpfields = dynpfields exceptions invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 undefind_error = 7 others = 8.

F4IF_INT_TABLE_VALUE_REQUEST call function 'F4IF_INT_TABLE_VALUE_REQUEST' exporting window_title = window_title * DDIC_STRUCTURE = 'USR07' retfield = 'BNAME' * PVALKEY = ' ' * DYNPPROG = ' ' * DYNPNR = ' ' * DYNPROFIELD = ' ' * STEPL = 0 * WINDOW_TITLE = value = value value_org = 'S' * MULTIPLE_CHOICE = ' ' * DISPLAY = ' ' * CALLBACK_PROGRAM = ' ' * CALLBACK_FORM = ' ' tables value_tab = value_tab * FIELD_TAB = return_tab = return_tab * DYNPFLD_MAPPING = exceptions parameter_error = 1 no_values_found = 2 others = 3.

DYNP_VALUES_UPDATE call function 'DYNP_VALUES_UPDATE' exporting dyname = repid dynumb = dynnr tables dynpfields = dynpfields exceptions invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 undefind_error = 7 others = 8.

DYNP_VALUES_READ call function 'DYNP_VALUES_READ' exporting dyname = repid dynumb = dynnr tables dynpfields = dynpfields exceptions invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 undefind_error = 7 others = 8.

F4IF_INT_TABLE_VALUE_REQUEST call function 'F4IF_INT_TABLE_VALUE_REQUEST' exporting window_title = window_title * DDIC_STRUCTURE = 'USR07' retfield = 'OBJCT' * PVALKEY = ' ' * DYNPPROG = ' ' * DYNPNR = ' ' * DYNPROFIELD = ' ' * STEPL = 0 * WINDOW_TITLE = value = value value_org = 'S' * MULTIPLE_CHOICE = ' ' * DISPLAY = ' ' * CALLBACK_PROGRAM = ' ' * CALLBACK_FORM = ' ' tables value_tab = value_tab * FIELD_TAB = return_tab = return_tab * DYNPFLD_MAPPING = exceptions parameter_error = 1 no_values_found = 2 others = 3.

SUSR_PROF_DISPLAY_WITH_AUTHS * CALL FUNCTION 'SUSR_PROF_DISPLAY_WITH_AUTHS' * EXPORTING * profile = wa_node_table-profile ** P_STATE = 'A' * EXCEPTIONS * PROF_DONT_EXIST = 1 * OTHERS = 2 * .

PRGN_SHOW_EDIT_AGR call function 'PRGN_SHOW_EDIT_AGR' exporting agr_name = wa_node_table-agr_name * MODE = 'A' screen = '5' "Authorization data * SICHT = ' ' exceptions agr_not_found = 1 others = 2.

SUSR_SHOW_OBJECT call function 'SUSR_SHOW_OBJECT' exporting object = wa_node_table-objct eu_mode = ' '.

SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting * PERCENTAGE = 0 text = 'Initialisierung'(026).

ICON_CREATE call function 'ICON_CREATE' exporting name = 'ICON_CHECKED' text = ' ' info = ' ' add_stdinf = ' ' importing result = item-t_image exceptions icon_not_found = 1 outputfield_too_short = 2 others = 3.

ICON_CREATE call function 'ICON_CREATE' exporting name = 'ICON_FAILURE' text = ' ' info = ' ' add_stdinf = ' ' importing result = item-t_image exceptions icon_not_found = 1 outputfield_too_short = 2 others = 3.

AUTH_FIELD_GET_INFO call function 'AUTH_FIELD_GET_INFO' exporting fieldname = field_value-field importing datel = dfies-rollname lng = dfies-outputlen rc = rc text = dfies-fieldtext inttype = dfies-inttype.

SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting * PERCENTAGE = 0 text = 'Berechtigungsdaten lesen ...'(027).

SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting * PERCENTAGE = 0 text = 'Anzeige ...'(028).

SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting * PERCENTAGE = 0 text = 'HR Trace lesen ...'(030).

AUTH_FIELD_GET_INFO call function 'AUTH_FIELD_GET_INFO' exporting fieldname = gt_ust12-field importing datel = dfies-rollname lng = dfies-outputlen rc = rc text = dfies-fieldtext inttype = dfies-inttype.

SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting * PERCENTAGE = 0 text = 'Anzeige ...'(028).

SUSR_USER_BUFFER_AFTER_CHANGE call function 'SUSR_USER_BUFFER_AFTER_CHANGE' exporting username = g_bname importing subrc = return_code.



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