Skip to Content
0
Former Member
Mar 09, 2004 at 09:45 AM

Creating a dynamic RFC destination in a BSP?

133 Views

Hello,

I've been playing around with the webmonitor BSP that comes with the 620 system and I would like to expand it to look at all application instances as well on the system.

I do this now by

CALL FUNCTION 'TH_WPINFO' DESTINATION rfcdest

TABLES

wplist = r3_list.

Given the rfcdest of the server I want to look at. In theory I should be able to give the rfc destination of an application server as well. The question is how can I dynamically create the rfc destination? Not manually create them first.

I do this now to get the list of the servers

CALL FUNCTION 'TH_SERVER_LIST' DESTINATION RFCDEST

TABLES

LIST = tablelist

exceptions

NO_SERVER_LIST = 1.

where tablelist-name is the server names.

Is it possible in a BSP to then take that server name and dynamically create the RFC connection? I do something similiar with JCo and I make my connection to each server dynamically.