SAP Reports / Programs | Personnel Management | E-Recruiting(PA-ER) SAP PA

RCF_USER_DELETE SAP ABAP Report - Deletion of User







RCF_USER_DELETE 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 RCF_USER_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 RCF_USER_DELETE. "Basic submit
SUBMIT RCF_USER_DELETE AND RETURN. "Return to original report after report execution complete
SUBMIT RCF_USER_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: P_ALIAS = Alias
Selection Text: P_ID = D Personnel Number
Selection Text: P_PART = D Business Partner
Selection Text: P_PERNR = D Personnel Number
Selection Text: P_USER = D User
Title: Deletion of User


INCLUDES used within this REPORT RCF_USER_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:

RH_GET_ACTIVE_WF_PLVAR CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR' EXPORTING set_default_plvar = 'X' IMPORTING act_plvar = l_plvar.

RH_DELETE_OBJECT CALL FUNCTION 'RH_DELETE_OBJECT' EXPORTING authy = space vtask = 'D' plvar = l_plvar otype = 'NA' objid = candidate->id.

HR_CENTRALPERSON_DELETE CALL FUNCTION 'HR_CENTRALPERSON_DELETE' EXPORTING iv_person_id = candidate->personid iv_with_authority = space.

BAPI_USER_DELETE CALL FUNCTION 'BAPI_USER_DELETE' EXPORTING username = candidate->user TABLES return = lt_return EXCEPTIONS OTHERS = 1.

BUP_BUPA_DELETE CALL FUNCTION 'BUP_BUPA_DELETE' EXPORTING iv_partner = ls_but000-partner iv_testrun = space iv_xdele = space EXCEPTIONS deletion_not_allowed = 1 fatal_error = 2 OTHERS = 3.

BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = 'E' cl = 'HRRCF0001' number = '000' IMPORTING return = ls_return.



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