SAPPROFC_NEW is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program checks which activity groups still do not have a current authorization profile...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 SAPPROFC_NEW into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
SUPC - Role Profiles
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.
Selection Text: TEXT_ON = Display role texts
Selection Text: SEL_SHT = Role
Selection Text: SEL_CRE = Last changed by
Selection Text: PRT_PFL = Also roles to be adjusted
Selection Text: PRT_GEN = Only roles that can be genertd
Selection Text: PRT_BER = Also roles w/o auth. data
Selection Text: PRT_ALL = All roles
Selection Text: CHG_ON = Creation and change date
Selection Text: AUTO_GEN = Generate automatically
Title: Roles: Mass generation of profiles
Text Symbol: 200 = No. of profiles:
Text Symbol: 201 = In the Background
Text Symbol: 202 = Online
Text Symbol: 203 = Generate authorization profiles
Text Symbol: 300 = Status
Text Symbol: 301 = Profile
Text Symbol: 302 = Created
Text Symbol: 303 = Modified
Text Symbol: 304 = StatusText
Text Symbol: T01 = Which roles do you want to output?
Text Symbol: T02 = Generate all profiles to be generated?
Text Symbol: T09 = Presentation in the list
Text Symbol: T11 = Additional restrictions
Text Symbol: 001 = Role
Text Symbol: 002 = Created
Text Symbol: 003 = Changed
Text Symbol: 004 = Text
Text Symbol: 005 = Status
Text Symbol: 006 = OK
Text Symbol: 007 = Warning
Text Symbol: 008 = Error
Text Symbol: 009 = Profile can be generated
Text Symbol: 010 = Roles with Non-Current Profiles
Text Symbol: 011 = Also Roles to Be Compared
Text Symbol: 012 = Also Roles with no Authorization Data
Text Symbol: 013 = All Roles
Text Symbol: 014 = Roles with Current Profiles for New Generation
Text Symbol: 015 = Display Data When Created and Changed
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = 'SUPC' EXCEPTIONS ok = 0 not_ok = 1 OTHERS = 2.
PRGN_POPUP_TO_DECIDE CALL FUNCTION 'PRGN_POPUP_TO_DECIDE' EXPORTING textline1 = text-200 textline2 = text text_option1 = text-201 text_option2 = text-202 titel = text-203 IMPORTING answer = antwort EXCEPTIONS OTHERS = 1.
SIMPLE_BATCH_JOB_SUBMIT CALL FUNCTION 'SIMPLE_BATCH_JOB_SUBMIT' EXPORTING program = 'SAPPROFG_NEW' EXCEPTIONS submit_failed = 1 OTHERS = 2.
PRGN_ACTIVITY_GROUP_MAINTAIN CALL FUNCTION 'PRGN_ACTIVITY_GROUP_MAINTAIN' EXPORTING activity_group = objid action = fcode EXCEPTIONS activity_group_not_found = 1 OTHERS = 2.
PGRN_CHECK_COLLECTIVE_AGR CALL FUNCTION 'PGRN_CHECK_COLLECTIVE_AGR' EXPORTING activity_group = objid EXCEPTIONS activity_group_does_not_exist = 1 activity_group_is_collective = 2 OTHERS = 3.
PRGN_ACTIVITY_GROUP_ENQUEUE CALL FUNCTION 'PRGN_ACTIVITY_GROUP_ENQUEUE' EXPORTING activity_group = objid EXCEPTIONS foreign_lock = 1 transport_check_problem = 2 OTHERS = 3.
SUPRN_PROFILE_GENERATOR CALL FUNCTION 'SUPRN_PROFILE_GENERATOR' EXPORTING act_objid = objid maintain = maint EXCEPTIONS dialog_cancelled = 1 objid_not_found = 2 no_authority = 3 OTHERS = 4.
PRGN_ACTIVITY_GROUP_DEQUEUE CALL FUNCTION 'PRGN_ACTIVITY_GROUP_DEQUEUE' EXPORTING activity_group = objid.
PRGN_CHECK_PROFILE_STATUS CALL FUNCTION 'PRGN_CHECK_PROFILE_STATUS' EXPORTING activity_group = mark-objid IMPORTING recommended_action = recommended_action profile_generation_necessary = profile_generation_necessary led_color = led_color invalid_activity_group = invalid_activity_group no_authorization_data = no_authorization_data profile_name = cv_agrprof EXCEPTIONS OTHERS = 1.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = iv_icon info = iv_tooltip IMPORTING result = xv_result EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
SAPPROFC_NEW - Roles: Mass generation of profiles SAPPROFC_NEW - Roles: Mass generation of profiles SAPPRC54 - Background Report for Transferring Upload Request (Kanban) SAPPRC54 - Background Report for Transferring Upload Request (Kanban) SAPPRC52 - Background Report for Transferring Master Data (Kanban) SAPPRC52 - Background Report for Transferring Master Data (Kanban)