Quantcast
Channel: SCN : Popular Discussions - Web Dynpro Java
Viewing all articles
Browse latest Browse all 989

How to 'disconnect' in JCoDestination API

$
0
0

Hello,

 

I am using following piece of code to make a RFC call from a JSPDynpage to back-end SAP R/3 system: -

 

JCoDestination wdModelDataDest = JCoDestinationManager.getDestination("WD_MODELDATA_MYAPPLICATION");

JCoRepository repository = wdModelDataDestFixedUser.getRepository();

JCoFunction function = repository.getFunction(RFC_NAME);

JCoParameterList importparams = function.getImportParameterList();

importparams.setValue("USERNAME", "A007");

function.execute(wdModelDataDest);

JCoParameterList exportParams = function.getExportParameterList();

String gbuName = exportParams.getString("GBU");

 

 

Could you please let me know how to ensure that connection is 'disconnected' after RFC call?

 

Portal version : CE7.3 EHP1 SP9

 

Thanks & Regards,

Amey Mogare


Viewing all articles
Browse latest Browse all 989

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>