on 02-03-2016 12:50 PM
Dear all,
I would like to do a programmatic remote call from an APC or WDJ to SAP_WAPI* fuba's on some ABAP backends on a SAP EP 7.31. I need to use some regular destinations created with NWA for that, accessible under NWA -> Configuration -> Security -> Destinations. So I will probably need to access those out of Java component programmatically.
After searching around I found the in fact 2 approaches (not sure if any of those would work resp. I found the right information):
1.)use of com.sap.conn.jco.JCoDestination and related classes, getting a destination should work like:
JCoDestination dest = JCoDestinationManager.getDestination(yourDest);
Unfortunately I cant find any documentation on this. There is the Java doc describing purpose and use of this package?
2.)After looking on current Java doc on help.sap.com for EP I have seen:
Portal Destination Service - Portal - SAP Library
Indeed, after I read the help Ive realized its obviously not supposed to read RFC destinations as described, rather used for:
Maybe Im wrong?
Can anybody say me which of both mentioned way is the right one and point me to documentation for JCoDestination? A short source sample for appropriate remote call method would be great...
Thanks,
cheers
JCoDestination seems to be the proper way, getting RFC connections doesnt seems to be a problem. I have found JavaDoc, surprisingly hosted outside of sap.help.com, I probably missed something:
It seems to match the EP jar I have found for.
cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.