SAP Reports / Programs | Basis Components | Exchange Infrastructure | Integration Builder - Configuration(BC-XI-IBC) SAP BC

SXI_USER_MIGRATION_RFC SAP ABAP Report - Exchange Infrastructure: Migration of Users from Remote Systems







SXI_USER_MIGRATION_RFC is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use this program to transfer user master records from one or two source systems to the local system...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 SXI_USER_MIGRATION_RFC 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 SXI_USER_MIGRATION_RFC. "Basic submit
SUBMIT SXI_USER_MIGRATION_RFC AND RETURN. "Return to original report after report execution complete
SUBMIT SXI_USER_MIGRATION_RFC 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 = Execute in Test Mode
Selection Text: RFCDEST2 = Other Source System
Selection Text: RFCDEST1 = Primary Source System
Title: Exchange Infrastructure: Migration of Users from Remote Systems
Text Symbol: S03 = Only delta information is transferred from this system (see docu)
Text Symbol: S02 = Leading System for Transfer of User Data (See Program Documentation)
Text Symbol: S01 = RFC Destinations for Source Systems
Text Symbol: 030 = Specify Different RFC Destinations
Text Symbol: 020 = Message Text
Text Symbol: 019 = Message Attribute
Text Symbol: 018 = System
Text Symbol: 017 = Messages for Transfer of User Addresses from System &1
Text Symbol: 016 = Messages for Transfer of Company Addresses from System &1
Text Symbol: 015 = 3. List of error messages when transferring address data
Text Symbol: 013 = No entries exist
Text Symbol: 012 = Roles - not available in local system
Text Symbol: 011 = These roles must be imported from the respective source system
Text Symbol: 010 = 2. List of roles not available in local system
Text Symbol: 009 = Assign. from System
Text Symbol: 008 = Assigned Role
Text Symbol: 007 = Transfer from System
Text Symbol: 006 = User Name
Text Symbol: 005 = No other system selected
Text Symbol: 004 = RFC Destination:
Text Symbol: 003 = Other Source System:
Text Symbol: 002 = Primary Source System:
Text Symbol: 001 = 1. List of users and role assignments from systems:
Text Symbol: 000 = No users transferred


INCLUDES used within this REPORT SXI_USER_MIGRATION_RFC

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:

RFC_SYSTEM_INFO CALL FUNCTION 'RFC_SYSTEM_INFO' DESTINATION rfcdest1 IMPORTING rfcsi_export = ls_rfcsi_1 EXCEPTIONS system_failure = 01 communication_failure = 02.

RFC_SYSTEM_INFO CALL FUNCTION 'RFC_SYSTEM_INFO' DESTINATION rfcdest2 IMPORTING rfcsi_export = ls_rfcsi_2 EXCEPTIONS system_failure = 01 communication_failure = 02.

SAI_GET_USERS_RFC CALL FUNCTION 'SAI_GET_USERS_RFC' EXPORTING iv_rfcdest_1 = rfcdest1 iv_rfcdest_2 = rfcdest2 iv_testmode = testmode IMPORTING et_created_users = lt_users et_missing_roles_1 = lt_mis_roles_1 et_missing_roles_2 = lt_mis_roles_2 TABLES et_return_usr_1 = lt_ret_usr_1 et_return_usr_2 = lt_ret_usr_2 et_return_comp_1 = lt_ret_comp_1 et_return_comp_2 = lt_ret_comp_2 EXCEPTIONS rfc_error = 1 no_rights = 2 internal_error = 3 write_error = 4 cua_is_active = 5 OTHERS = 6.



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