SAP Reports / Programs

CFX_CORRECT_USER SAP ABAP Report - CFX: Deletion of User XML File (if Corrupt)







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


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 CFX_CORRECT_USER. "Basic submit
SUBMIT CFX_CORRECT_USER AND RETURN. "Return to original report after report execution complete
SUBMIT CFX_CORRECT_USER VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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


INCLUDES used within this REPORT CFX_CORRECT_USER

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:

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.



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