SAP Reports / Programs

RWVKP06U SAP ABAP Report - New authorization objects: Extend table for authorizations/profiles







RWVKP06U is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report supports you in re-generating and extending authorizations and authorization profiles in connection with the new authorization objects W_VKPR_VTL, W_VKPR_WRK and W_VKPR_PLT valid as of Release 4...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RWVKP06U 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 RWVKP06U. "Basic submit
SUBMIT RWVKP06U AND RETURN. "Return to original report after report execution complete
SUBMIT RWVKP06U VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: New authorization objects: Extend table for authorizations/profiles
Text Symbol: 108 = Authorization with this name already exists for a new authorization object
Text Symbol: 107 = Recompile for authorization:
Text Symbol: 106 = No update using these report programs
Text Symbol: 105 = Table USR12 does not contain entries not generated for authorization object W_VKPR_VKO
Text Symbol: 104 = and the associated update of single profiles
Text Symbol: 103 = Program for
Text Symbol: 102 = Generating authorizations for the new authorization objects
Text Symbol: 101 = ********************************************************************************************
Text Symbol: 100 = Log selection
Text Symbol: 092 = Updates for single profiles not generated
Text Symbol: 091 = Updates for authorizations
Text Symbol: 090 = Update of client
Text Symbol: 018 = Client
Text Symbol: 015 = Error in record setup, table USR12, object
Text Symbol: 011 = Log with messages and long texts
Text Symbol: 010 = Please read report documentation before starting update program
Text Symbol: 005 = End of the update report
Text Symbol: 002 = Cancellation of update program - authorization missing
Text Symbol: 001 = Start update: tables for new authorization objects
Text Symbol: 109 = Authorizations with the same name were created for new authorization objects
Text Symbol: 127 = Non-generated single profiles with generated authorizations
Text Symbol: 126 = Generated authorizations for W_VKPR_VKO
Text Symbol: 125 = No authorizations not generated for W_VKPR_VKO
Text Symbol: 124 = Updates were performed
Text Symbol: 123 = Database error: Update terminated for profile
Text Symbol: 122 = Updates performed for authorization
Text Symbol: 121 = Non-generated single profiles with old author. for which no recompilation was carried out
Text Symbol: 120 = No authorizations with newly-generated entries, so no single profiles have to be recompiled
Text Symbol: 119 = Incomplete recompilation of single profile with new authorization objects
Text Symbol: 118 = Single profile could not be recompiled with new authorization objects
Text Symbol: 117 = No modification: database error updating the relevant tables
Text Symbol: 116 = Updates performed for single profile
Text Symbol: 115 = Modification not possible: Entry for new authorizations in table UST10S
Text Symbol: 114 = Modification for single profile:
Text Symbol: 113 = The following single profiles were found for the authorizations that were not added:
Text Symbol: 112 = The revised authorizations are not used in single profiles that were not generated
Text Symbol: 111 = Synchronization error: Authorization exists in UST12 for a new authorization object





Text Symbol: 110 = Errors in recompilation of authorizations for new authorization objects


INCLUDES used within this REPORT RWVKP06U

INCLUDE MS01CTP2.
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:

HELP_START call function 'HELP_START' exporting help_infos = help_infos tables dynpselect = dynpselect dynpvaluetab = dynpvaluetab.

SUSR_GET_PROFS_WITH_SPEC_AUTHS call function 'SUSR_GET_PROFS_WITH_SPEC_AUTHS' exporting srchtype = 'OR' aktps = ' ' * IMPORTING * NUMBER_OF_PROFS = tables profiles = proflist auths = iusref exceptions parameter_error = 1 not_authorized_for_profile = 2 others = 3.

SUSR_GET_PROFS_WITH_SPEC_AUTHS call function 'SUSR_GET_PROFS_WITH_SPEC_AUTHS' exporting srchtype = 'OR' aktps = ' ' * IMPORTING * NUMBER_OF_PROFS = tables profiles = proflist auths = iusref exceptions parameter_error = 1 not_authorized_for_profile = 2 others = 3.

SUSR_GET_PROFS_WITH_SPEC_AUTHS call function 'SUSR_GET_PROFS_WITH_SPEC_AUTHS' exporting srchtype = 'OR' aktps = ' ' * IMPORTING * NUMBER_OF_PROFS = tables profiles = proflist auths = iusref exceptions parameter_error = 1 not_authorized_for_profile = 2 others = 3.

SUSR_GET_PROFS_WITH_SPEC_AUTHS call function 'SUSR_GET_PROFS_WITH_SPEC_AUTHS' exporting srchtype = 'OR' aktps = ' ' * IMPORTING * NUMBER_OF_PROFS = tables profiles = proflist auths = iusref exceptions parameter_error = 1 not_authorized_for_profile = 2 others = 3.

SUSR_GET_USERS_WITH_SPEC_PROFS call function 'SUSR_GET_USERS_WITH_SPEC_PROFS' * exporting * srchtype = 'OR' tables profiles = xprof users = xuser exceptions parameter_error = 1 not_authorized_for_user = 2 others = 3.

TR_FLUSH_LOG call function 'TR_FLUSH_LOG' exceptions others = 0.

TR_APPEND_LOG call function 'TR_APPEND_LOG' * EXPORTING * OPEN_FILE = 'X' * CLOSE_FILE = 'X' * CONDENSE = 'X' * MASTER_LANGU = 'E' * ACCEPT_NOT_INIT = ' ' * IV_SUPPRESS_STATISTICS = ' ' tables xmsg = tprot exceptions file_not_found = 1 wrong_call = 2 others = 3.

AUTH_FIELD_GET_INFO * call function 'AUTH_FIELD_GET_INFO' * exporting * fieldname = tabset-sfield * importing * datel = dfies-rollname * lng = dfies-outputlen * rc = rc * text = dfies-fieldtext * inttype = dfies-inttype.

AUTH_FIELD_GET_INFO * call function 'AUTH_FIELD_GET_INFO' * exporting * fieldname = tabset-sfield * langu = syst_language * importing * datel = dfies-rollname * lng = dfies-outputlen * rc = rc * text = dfies-fieldtext * inttype = dfies-inttype.

SUSR_GET_USERS_WITH_SPEC_PROFS * call function 'SUSR_GET_USERS_WITH_SPEC_PROFS' * exporting ** srchtype = 'OR' * tables * profiles = xprof * users = xuser * exceptions * parameter_error = 1 * not_authorized_for_user = 2 * others = 3.



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