cancel
Showing results for 
Search instead for 
Did you mean: 

Deprecated disconnectIfAlive

Former Member
0 Kudos

Hi all,

When executing RFC's i use disconnectIfAlive at the "finally" section. But NW says its deprecated.


RFCBapi.modelInstance().disconnectIfAlive();     <---Deprecated

and

wdContext.current<Modelname>_InputElement().modelObject().modelInstance().disconnectIfAlive();   <---Deprecated

And the method doc doesn't say what should we use now instead.

Does anyone know what the new method is?

Best regards

Julio C. Herrera

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

I'm also getting the same thing, does anybody know its replacement?

Thanks
Akanksha

govardan_raj
Contributor
0 Kudos

hi Akansha ,

What is the version of your NWDS ?

Regards

Govardan

Former Member
0 Kudos

Hi Govardan

I'm using NWDS 7.31 SP 08

Former Member
0 Kudos

Hi

I'm  not able to find replacements for deprecated methods:

1)  wdContext.current<Modelname>_InputElement().modelObject().modelInstance().disconnectIfAlive(); 

2) com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException

3) RFCModel.execute();

I'm using NWDS 7.3 SP08 PAT0011 with jdk 1.6

Please help

Thanks
Akanksha


govardan_raj
Contributor
0 Kudos

hi Akansha ,

even we are using the same deprecated methods in 7.3 for executing an RFC  , deprecated is not harmfull its only a warning to inform in advance that in future versions that this code wil not be suppoprted , in current version i.e 7.3 it works fine with out any issues.

even im searching the api once found wil update the same

Regards

Govardan