Tuesday 2 September 2014

How to export and import RFC information

This can be used to take backup of RFC destinations before systm copy and can be restored once system copy is over.

1. Login to SAP Server with sidadm user
2. create a file with rfcexp.dat with below mentioned data
export from source system
client=300
file="F:\rfcexp.ctl"
Select * from rfcattrib
Select * from rfcdes
Select * from rfcdoc
Select * from RFCSYSACL
select * RSECACHK
select * RSECACTB

3. Run command R3trans -w rfcexp.log F:\rfcexp.dat
4. Export should be over with RC=0
5. For import create file rfcimp.dat with following content

import
file="F:\rfcexp.ctl"

6. Run Command R3trans -w rfcimp.log rfcimp.dat

RFCs should be imported 

No comments:

Post a Comment