CFX_CORRECT_USER 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 CFX_CORRECT_USER 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: CFX: Deletion of User XML File (if Corrupt)
Text Symbol: 001 = Check user existence...
Text Symbol: 002 = Error in user data:
Text Symbol: 003 = Stop.
Text Symbol: 004 = user exists, continue...
Text Symbol: 005 = delete corrupt cFolders part of user data
Text Symbol: 006 = SKWF error finding folder:
Text Symbol: 007 = Found folder with user data
Text Symbol: 008 = SKWF error finding user document:
Text Symbol: 009 = Found document with user data
Text Symbol: 010 = SKWF error deleting user document:
Text Symbol: 011 = user file(s) deleted
Text Symbol: 012 = finished successfully
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 = 'SKWFIVC' EXCEPTIONS ok = 1 not_ok = 2 OTHERS = 3.
BAPI_USER_GET_DETAIL CALL FUNCTION 'BAPI_USER_GET_DETAIL' EXPORTING username = userid TABLES return = lt_bapi_return.
SKWF_NMSPC_IO_FIND_BY_ADDRESS CALL FUNCTION 'SKWF_NMSPC_IO_FIND_BY_ADDRESS' EXPORTING url = l_folder_name appl = l_appl_name IMPORTING io = l_folder_loio error = l_skwf_error.
SKWF_NMSPC_IO_FIND_BY_ADDRESS CALL FUNCTION 'SKWF_NMSPC_IO_FIND_BY_ADDRESS' EXPORTING url = l_file_name folder = l_folder_loio IMPORTING io = l_doc_loio error = l_skwf_error.
SKWF_IOS_DELETE CALL FUNCTION 'SKWF_IOS_DELETE' EXPORTING x_delete_children = 'X' IMPORTING error = l_skwf_error TABLES ios = lt_doc_ios bad_ios = lt_bad_ios.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
CFX_CORRECT_USER - CFX: Deletion of User XML File (if Corrupt) CFX_CORRECT_USER - CFX: Deletion of User XML File (if Corrupt) CFX_CORRECT_SYSTEM2 - CFX: Deletion of user XML files if corrupt (from Release 3.1 onwards) CFX_CORRECT_SYSTEM2 - CFX: Deletion of user XML files if corrupt (from Release 3.1 onwards) CFX_CORRECT_SYSTEM - CFX: Deletion of User XML File (if Corrupt) CFX_CORRECT_SYSTEM - CFX: Deletion of User XML File (if Corrupt)