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
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
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.
Title: Generate SAP_NEW Profile in All Clients
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
AGR_XPRA_REGENERATE_SAP_NEW - Generate SAP_NEW Profile in All Clients AGR_XPRA_REGENERATE_SAP_NEW - Generate SAP_NEW Profile in All Clients AGR_XPRA_REGENERATE_SAP_ALL - Regenerate SAP_ALL Profile in all Clients AGR_XPRA_REGENERATE_SAP_ALL - Regenerate SAP_ALL Profile in all Clients AGR_XPRA_REGENERATE_REPAIR_2 - Program AGR_XPRA_REGENERATE_REPAIR_2 AGR_XPRA_REGENERATE_REPAIR_2 - Program AGR_XPRA_REGENERATE_REPAIR_2