Saturday, July 30, 2011

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
client=771
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 

2 comments:

naresh.marikanti said...

here you mentioned one client number; may i know what type client it is i mean either it is source client or target client

Shruti Ramalingam said...

Thanks for the great information ,was looking for this information from long.Great blog SAP Basis Training in Chennai