cancel
Showing results for 
Search instead for 
Did you mean: 

Close RFC Connection

Former Member
0 Kudos

Hi,

I have some problems with the availibility of my WebDynpro-Application. It seems to be, that to much connections are opened at the same time. Is it necessary to close the connection in the code or should it closed by the system automatically?

To use a model I use the following code(example):

wdContext.nodeZ_Rfc_GetData_Input().bind(new Z_Rfc_GetData_Input());

wdContext.currentZ_Rfc_GetData_InputElement().modelObject().execute();

wdContext.nodeOutput().invalidate();

I don't know if there is a option to close the connection.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Use below code:

wdContext.currentRFC_InputElement().modelObject().modelInstance().disconnectIfAlive();

Please check below forum ,

Regards

Deepak