RCF_USER_ROLE 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_ROLE 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.
Selection Text: P_ROLE = D Role
Selection Text: P_USER = D User
Title: Role Assignment for User
Text Symbol: 001 = User does not exist
Text Symbol: 002 = No employee/candidate exists for this user
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
BAPI_USER_EXISTENCE_CHECK CALL FUNCTION 'BAPI_USER_EXISTENCE_CHECK' EXPORTING username = p_user IMPORTING return = ls_return.
BAPI_USER_CHANGE CALL FUNCTION 'BAPI_USER_CHANGE' EXPORTING username = p_user ref_user = ls_ref_user ref_userx = ls_ref_userx TABLES return = lt_return.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RCF_USER_ROLE - Role Assignment for User RCF_USER_ROLE - Role Assignment for User RCF_USER_DELETE - Deletion of User RCF_USER_DELETE - Deletion of User RCF_UPD_DOC_ATTRIB_INDX_FULL - Update Attributes of KPro Documents of HR Object RCF_UPD_DOC_ATTRIB_INDX_FULL - Update Attributes of KPro Documents of HR Object