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

AGR_XPRA_REGENERATE_SAP_NEW SAP ABAP Report - Generate SAP_NEW Profile in All Clients







AGR_XPRA_REGENERATE_SAP_NEW is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This reports generates the profile SAP_NEW in all clients after a release upgrade...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 AGR_XPRA_REGENERATE_SAP_NEW 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_XPRA_REGENERATE_SAP_NEW. "Basic submit
SUBMIT AGR_XPRA_REGENERATE_SAP_NEW AND RETURN. "Return to original report after report execution complete
SUBMIT AGR_XPRA_REGENERATE_SAP_NEW VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Generate SAP_NEW Profile in All Clients


INCLUDES used within this REPORT AGR_XPRA_REGENERATE_SAP_NEW

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:

SUBST_GET_SAPRELEASE call function 'SUBST_GET_SAPRELEASE' importing ev_saprelease = targetrelease exceptions no_svers_entry = 1 others = 2.

SUBST_GET_UPGRADE_INFO call function 'SUBST_GET_UPGRADE_INFO' importing * EV_STATUS = * EV_TYPE = * EV_NEWRELEASE = * EV_STARTDATE = * EV_STARTTIME = * EV_ENDDATE = * EV_ENDTIME = ev_oldrelease = uvers_oldrelease exceptions undefined_release = 1 others = 2.

SUPV_CREATE_SAP_NEW_SUBPROFILE call function 'SUPV_CREATE_SAP_NEW_SUBPROFILE' exporting release_name = list_of_releases-release_name tables profile_names = list_of_profiles 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 internal_error = 12 others = 13.

PRGN_CONSTRUCT_PROFILE_SAP_NEW call function 'PRGN_CONSTRUCT_PROFILE_SAP_NEW' tables list_of_profiles = list_of_sap_new_profiles.

MENU_GENERATE_SAP_MENU *call function 'MENU_GENERATE_SAP_MENU' * exporting * enqueue = ' '.

MENU_MIGRATION_XPRA call function 'MENU_MIGRATION_XPRA'.

TR_APPEND_LOG call function 'TR_APPEND_LOG' tables xmsg = xmsg exceptions file_not_found = 1 wrong_call = 2 others = 3.

TR_FLUSH_LOG call function 'TR_FLUSH_LOG' exceptions others = 1.

TR_SYS_PARAMS call function 'TR_SYS_PARAMS' importing systemtype = systemtype exceptions others = 1.

SUBST_GET_SOURCERELEASE call function 'SUBST_GET_SOURCERELEASE' exceptions no_entry_found = 1 others = 2.

TR_APPEND_LOG call function 'TR_APPEND_LOG' tables xmsg = xmsg exceptions file_not_found = 1 wrong_call = 2 others = 3.

TR_FLUSH_LOG call function 'TR_FLUSH_LOG' exceptions others = 1.



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