cancel
Showing results for 
Search instead for 
Did you mean: 

System refresh

Former Member
0 Kudos

Hi,

We are doing a system refresh.

1.Install the ecc on new box with same sid but different ip and host name .

2. Restore the production backup.

3 Sid is same what will be the next step after this.????

4.we have make backgroud work process 0.

5 Now wanted to disable rfc but how?????

Regards

jithin

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Rableen,

RFC's can be disabled by using the Database level SQL update statement.

To lock :

update <SCHEMA>.rfcdes set rfcoptions = replace(rfcoptions, 'H=', 'H=#') where rfctype = '3' and  rfcdest not in ('<SID>') and rfcdest not in ('SIDCLNT200');

commit;

To unlock :

update <SCHEMA>.rfcdes set rfcoptions = replace(rfcoptions, 'H=#', 'H=') where rfctype = '3' and  rfcdest not in ('<SID>') and rfcdest not in ('SIDCLNT200');

commit;

PS : The above command will lock only the rfc type '3' (i.e. abap connections), which are sufficient for system refresh.

Incase you want to lock the tcp/ip connections use rfctype as 'T'

Regards,

Nilesh Jagtap

Former Member
0 Kudos

Hi,

Check tns.ora and listner.ora if it is pointing to the right server/IP.

To avoid issues I would suggest You clear all entries in sm59. All the required entries will be created when u start the system.

Login to sqlplus and truncate table SAPSR3.RFCDES;

commit;

select count(*) from from SAPSR3.RFCDES;

It should be 0.

After you start the system login and  run btctrns1 via se38 to deschedule background jobs so you will not be have make the BTC process zero.

Regards,

Sohrab Kapoor

Former Member
0 Kudos

what rfc you want to deactivate,,,do it in SM59...

You can change the settings there and make it not functioning

Also go through this

http://scn.sap.com/thread/2132738