Skip to content

/AWS1/CL_ADS=>LISTSERVERNEIGHBORS()

About ListServerNeighbors

Retrieves a list of servers that are one network hop away from a specified server.

Method Signature

IMPORTING

Required arguments:

IV_CONFIGURATIONID TYPE /AWS1/ADSCONFIGURATIONID /AWS1/ADSCONFIGURATIONID

Configuration ID of the server for which neighbors are being listed.

Optional arguments:

IV_PORTINFORMATIONNEEDED TYPE /AWS1/ADSBOOLEAN /AWS1/ADSBOOLEAN

Flag to indicate if port and protocol information is needed as part of the response.

IT_NEIGHBORCONFIGURATIONIDS TYPE /AWS1/CL_ADSCONFIDLIST_W=>TT_CONFIGURATIONIDLIST TT_CONFIGURATIONIDLIST

List of configuration IDs to test for one-hop-away.

IV_MAXRESULTS TYPE /AWS1/ADSINTEGER /AWS1/ADSINTEGER

Maximum number of results to return in a single page of output.

IV_NEXTTOKEN TYPE /AWS1/ADSSTRING /AWS1/ADSSTRING

Token to retrieve the next set of results. For example, if you previously specified 100 IDs for ListServerNeighborsRequest$neighborConfigurationIds but set ListServerNeighborsRequest$maxResults to 10, you received a set of 10 results along with a token. Use that token in this query to get the next set of 10.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ADSLSTSERVERNEIGHBO01 /AWS1/CL_ADSLSTSERVERNEIGHBO01