cancel
Showing results for 
Search instead for 
Did you mean: 

Destination Exception in deployed par file

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

I not clear about defining system in portal.

We have many systems and their aliases in portal, aliases are also available in portal runtime.

-Lave

Answers (0)