From your ECC system this allows you to call source code contained within an RFC function module on a seconed ECC/BW system. Using an RFC call between ECC system and ECC/BW system is a fairly simple process, all you have to do insert a 'CALL FUNCTION' statement with the addition of the 'DESTINATION' parameter pointing to your destination ECC/BW system RFC connection name. A list of RFC destinations can be viewed via transaction SM59 or by looking in table RFCDES.this
Example:code
* Call a function module on a connect ECC/BW systemit
* See Tcode SM59 for list of RFC Destinationsio
call function 'Z_GET_USER_IDS' destination 'DEV_500'table
importingfunction
userid = ld_userid.import
so , this trick is very useful for us to compare accounting vouchers between ECC and BW when we need to confirm 0fi_gl_40 datasource whether complettly extract all data or not .module