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
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
LIST = tablelist
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.