SAP Reports / Programs

RSUSR406_OLD SAP ABAP Report - Automatically Generate Profile SAP_ALL







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


Text pool values


Title: Automatically Generate Profile SAP_ALL
Text Symbol: 009 = Generated Subprofile for SAP_ALL
Text Symbol: 008 = Generated auth. for profile SAP_ALL
Text Symbol: 004 = Overwrite profile?
Text Symbol: 003 = Profile already exists:
Text Symbol: 002 = Profile SAP_ALL already exists
Text Symbol: 001 = All SAP System authorizations


INCLUDES used within this REPORT RSUSR406_OLD

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:

POPUP_TO_CONFIRM_WITH_VALUE * CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_VALUE' * EXPORTING * DEFAULTOPTION = 'N' * OBJECTVALUE = 'SAP_ALL' * TEXT_AFTER = ' Profil überschreiben?'(004) * TEXT_BEFORE = 'Profil existiert bereits: '(003) * TITEL = 'Profil SAP_ALL existiert bereits!'(002) * IMPORTING * ANSWER = RET * EXCEPTIONS * TEXT_TOO_LONG = 1 * OTHERS = 2.

SUSR_INTERFACE_PROF * CALL FUNCTION 'SUSR_INTERFACE_PROF' * EXPORTING * PROFILE = USR10-PROFN * ACTION = '06' * TABLES * VALUES = ITVAL * AUTHS = ITAUT * PROF_IN = ITPRI * PROF_OUT = ITPRO * EXCEPTIONS * NOT_AUTHORIZED_FOR_AUTH = 1 * PARAMS_INCOMPLETE = 2 * NOT_AUTHORIZED_FOR_PROFILE = 3 * PROFILE_EXISTS = 4 * AUTH_EXISTS = 5 * COLECTIVE_PROFILE = 6 * BAD_PROFILE_NAME = 7 * BAD_AUTH_NAME = 8 * PROFILE_DONT_EXIST = 9 * AUTHORIZATION_OVERFLOW = 10 * SHORTTEXT_MISSING = 11 * OTHERS = 12.

SUSR_INTERFACE_PROF * CALL FUNCTION 'SUSR_INTERFACE_PROF' * EXPORTING * PROFILE = '&_SAP_ALL' * PTEXT = * 'Generiertes Teilprofil zu SAP_ALL'(009) * ACTION = '01' * NO_CHECK_IN_CREATE_MODE = 'X' * TABLES * VALUES = ITVAL * AUTHS = ITAUT * PROF_IN = ITPRI * PROF_OUT = ITPRO * EXCEPTIONS * NOT_AUTHORIZED_FOR_AUTH = 1 * PARAMS_INCOMPLETE = 2 * NOT_AUTHORIZED_FOR_PROFILE = 3 * PROFILE_EXISTS = 4 * AUTH_EXISTS = 5 * COLECTIVE_PROFILE = 6 * BAD_PROFILE_NAME = 7 * BAD_AUTH_NAME = 8 * PROFILE_DONT_EXIST = 9 * AUTHORIZATION_OVERFLOW = 10 * SHORTTEXT_MISSING = 11 * OTHERS = 12.



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