on 12-07-2007 8:01 AM
Hi,
I am trying to call a RFC destination SAPRFC from code below. I upload this code to portal as a par file, this code is invoked on user logon to determine the backend system.
But this code throws a DestinationException, I do not know what else I need to change in code or in RFC destination configuration to make it work.
String sdtTemp = "";
RFCDestination dstTemp = null;
dstService = (DestinationService)ctx.lookup(DestinationService.JNDI_KEY);
if(dstService != null) {
dstTemp = (RFCDestination) dstService.getDestination("RFC", "SAPRFC");
sdtTemp = dstTemp.toString();
}
Thanks,
Lave
Hi,
I think you are in the wrong category. Maybe it is better to post this in Portal Content Development.
But anyway, have you defined the System in the Portal?
Regards,
Dennis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.