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

PFCG_ORGFIELD_DELETE SAP ABAP Report - Profile Generator: Delete New Org. Level Field







PFCG_ORGFIELD_DELETE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Profile Generator: Delete New Org...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 PFCG_ORGFIELD_DELETE 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 PFCG_ORGFIELD_DELETE. "Basic submit
SUBMIT PFCG_ORGFIELD_DELETE AND RETURN. "Return to original report after report execution complete
SUBMIT PFCG_ORGFIELD_DELETE VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: TESTMODE = Test Mode
Selection Text: FIELD = Organization Level
Title: Profile Generator: Delete New Org. Level Field
Text Symbol: 045 = Undetermined status
Text Symbol: 044 = Role is inconsistent
Text Symbol: 042 = Role is locked against changes
Text Symbol: 041 = No change required
Text Symbol: 040 = Role changed
Text Symbol: 031 = You are missing the following authorizations:
Text Symbol: 024 = Adjust Authorization Default Values (SU24 Data)
Text Symbol: 021 = Automatically Processed Roles
Text Symbol: 020 = Number of Roles with Deleted Organizational Level Field
Text Symbol: 01S = Status
Text Symbol: 01L = Change Status
Text Symbol: 019 = Number of Applications with Deleted Org. Level Field in SU24
Text Symbol: 018 = Test Mode
Text Symbol: 017 = Deleted Org. Level
Text Symbol: 016 = Execution
Text Symbol: 015 = Client
Text Symbol: 014 = System
Text Symbol: 012 = Value
Text Symbol: 011 = Field
Text Symbol: 010 = Object
Text Symbol: 009 = Organizational level $& is not used in roles
Text Symbol: 007 = Processing Role
Text Symbol: 006 = Deletion of SAP standard org. levels not permitted
Text Symbol: 005 = The field is not an organizational level.
Text Symbol: 004 = There are no customer organizational levels
Text Symbol: 003 = Locked By User
Text Symbol: 002 = Field is not used in objects.
Text Symbol: 001 = Do not execute the report in client 000


INCLUDES used within this REPORT PFCG_ORGFIELD_DELETE

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:

PRGN_CHECK_SYSTEM_TYPE CALL FUNCTION 'PRGN_CHECK_SYSTEM_TYPE' EXCEPTIONS sap_system = 1.

SUSR_POPUP_LIST_WITH_TEXT CALL FUNCTION 'SUSR_POPUP_LIST_WITH_TEXT' EXPORTING text1 = ls_text list_column_headers = ls_col_head TABLES popup_list_7 = lt_err_out_d.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = pd_tx percentage = pd_succ.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'FIELD' dynpprog = 'PFCG_ORGFIELD_UPDATE' dynpnr = '1000' dynprofield = 'FIELD' value_org = 'S' TABLES value_tab = lt_xufield EXCEPTIONS OTHERS = 0.

PRGN_ACTIVITY_GROUP_ENQUEUE CALL FUNCTION 'PRGN_ACTIVITY_GROUP_ENQUEUE' EXPORTING activity_group = ls_agr-agr_name EXCEPTIONS foreign_lock = 1 transport_check_problem = 2 OTHERS = 3.

PRGN_ACTIVITY_GROUP_DEQUEUE CALL FUNCTION 'PRGN_ACTIVITY_GROUP_DEQUEUE' EXPORTING activity_group = ls_agr-agr_name.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'. "to avoid duprec on MySQL

SU2X_CHANGE_DOCUMENTS_WRITE CALL FUNCTION 'SU2X_CHANGE_DOCUMENTS_WRITE' EXPORTING i_table_name = 'USOBT_C' i_tcode = 'PFCG_ORGFIELD_DEL' TABLES it_old = lt_usobt_c_before it_new = lt_usobt_c EXCEPTIONS OTHERS = 0.

PRGN_ACTIVITY_GROUP_ENQUEUE CALL FUNCTION 'PRGN_ACTIVITY_GROUP_ENQUEUE' EXPORTING activity_group = pd_agr_name EXCEPTIONS foreign_lock = 1 transport_check_problem = 2 OTHERS = 3.

PRGN_1252_READ_ORG_LEVELS CALL FUNCTION 'PRGN_1252_READ_ORG_LEVELS' EXPORTING activity_group = pd_agr_name TABLES org_levels = lt_1252 EXCEPTIONS no_data_available = 1 "1549101 OTHERS = 2.

PRGN_1251_READ_FIELD_VALUES CALL FUNCTION 'PRGN_1251_READ_FIELD_VALUES' EXPORTING activity_group = pd_agr_name TABLES field_values = lt_1251 EXCEPTIONS no_data_available = 1 "1549101 OTHERS = 2.

PRGN_1252_SAVE_ORG_LEVELS CALL FUNCTION 'PRGN_1252_SAVE_ORG_LEVELS' EXPORTING activity_group = pd_agr_name TABLES org_levels = lt_1252.

PRGN_1251_SAVE_FIELD_VALUES CALL FUNCTION 'PRGN_1251_SAVE_FIELD_VALUES' EXPORTING activity_group = pd_agr_name TABLES field_values = lt_1251.

PRGN_UPDATE_DATABASE CALL FUNCTION 'PRGN_UPDATE_DATABASE'.

PRGN_SET_ACTGROUP_TIMESTAMP CALL FUNCTION 'PRGN_SET_ACTGROUP_TIMESTAMP' EXPORTING activity_group = pd_agr_name EXCEPTIONS activity_group_does_not_exist = 0 OTHERS = 0.

PRGN_ACTIVITY_GROUP_DEQUEUE CALL FUNCTION 'PRGN_ACTIVITY_GROUP_DEQUEUE' EXPORTING activity_group = pd_agr_name.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = iv_icon info = iv_text IMPORTING result = xv_icon EXCEPTIONS OTHERS = 0.

SUPRN_PROFILE_GENERATOR CALL FUNCTION 'SUPRN_PROFILE_GENERATOR' EXPORTING act_objid = -agr_name maintain = 'S' EXCEPTIONS OTHERS = 0.



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