SAP IPC_GET_SERVER_INFO Function Module for NOTRANSL: Lesen von Serverinformationen fuer SPC/SCE
IPC_GET_SERVER_INFO is a standard ipc get server info SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Lesen von Serverinformationen fuer SPC/SCE processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for ipc get server info FM, simply by entering the name IPC_GET_SERVER_INFO into the relevant SAP transaction such as SE37 or SE38.
Function Group: IPC_SV
Program Name: SAPLIPC_SV
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function IPC_GET_SERVER_INFO pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'IPC_GET_SERVER_INFO'"NOTRANSL: Lesen von Serverinformationen fuer SPC/SCE.
EXPORTING
DESTINATION = "Logical Destination (Specified When Function Is Called)
* AUTHORITY_CHECK = "DE-EN-LANG-SWITCH-NO-TRANSLATION
IMPORTING
METHOD = "DE-EN-LANG-SWITCH-NO-TRANSLATION
TRFCBTCDELAY = "DE-EN-LANG-SWITCH-NO-TRANSLATION
DESTLOCK = "DE-EN-LANG-SWITCH-NO-TRANSLATION
NEW_DESTINATION = "Logical Destination (Specified When Function Is Called)
PROGRAM = "DE-EN-LANG-SWITCH-NO-TRANSLATION
SERVER = "DE-EN-LANG-SWITCH-NO-TRANSLATION
TRACE = "DE-EN-LANG-SWITCH-NO-TRANSLATION
DESCRIPTION = "Description of RFC Connection
GWHOST = "DE-EN-LANG-SWITCH-NO-TRANSLATION
GWSERVICE = "Gateway Service
TRFCBTCSUPPR = "DE-EN-LANG-SWITCH-NO-TRANSLATION
TRFCBTCTRIES = "DE-EN-LANG-SWITCH-NO-TRANSLATION
EXCEPTIONS
AUTHORITY_NOT_AVAILABLE = 1 DESTINATION_NOT_EXIST = 2 INFORMATION_FAILURE = 3 INTERNAL_FAILURE = 4
IMPORTING Parameters details for IPC_GET_SERVER_INFO
DESTINATION - Logical Destination (Specified When Function Is Called)
Data type: RFCDES-RFCDESTOptional: No
Call by Reference: Yes
AUTHORITY_CHECK - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: RFCDISPLAY-RFCTRACEOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for IPC_GET_SERVER_INFO
METHOD - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: RFCDISPLAZ-RFCREGIDOptional: No
Call by Reference: No ( called with pass by value option)
TRFCBTCDELAY - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: RFCDISPLAY-BTCDELAYOptional: No
Call by Reference: No ( called with pass by value option)
DESTLOCK - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: RFCDISPLAY-RFCLOCKOptional: No
Call by Reference: No ( called with pass by value option)
NEW_DESTINATION - Logical Destination (Specified When Function Is Called)
Data type: RFCDISPLAY-RFCDESTOptional: No
Call by Reference: No ( called with pass by value option)
PROGRAM - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: RFCDISPLAY-RFCEXECOptional: No
Call by Reference: No ( called with pass by value option)
SERVER - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: RFCDISPLAY-RFCHOSTOptional: No
Call by Reference: No ( called with pass by value option)
TRACE - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: RFCDISPLAY-RFCTRACEOptional: No
Call by Reference: No ( called with pass by value option)
DESCRIPTION - Description of RFC Connection
Data type: RFCDOC-RFCDOC1Optional: No
Call by Reference: No ( called with pass by value option)
GWHOST - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: RFCDISPLAY-RFCGWHOSTOptional: No
Call by Reference: No ( called with pass by value option)
GWSERVICE - Gateway Service
Data type: RFCDISPLAY-RFCGWSERVOptional: No
Call by Reference: No ( called with pass by value option)
TRFCBTCSUPPR - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: RFCDISPLAY-BTCSUPPROptional: No
Call by Reference: No ( called with pass by value option)
TRFCBTCTRIES - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: RFCDISPLAY-BTCTRIESOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
AUTHORITY_NOT_AVAILABLE - You do not have this authorization.
Data type:Optional: No
Call by Reference: Yes
DESTINATION_NOT_EXIST - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: Yes
INFORMATION_FAILURE - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: Yes
INTERNAL_FAILURE - Internal Error
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for IPC_GET_SERVER_INFO Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_method | TYPE RFCDISPLAZ-RFCREGID, " | |||
| lv_destination | TYPE RFCDES-RFCDEST, " | |||
| lv_authority_not_available | TYPE RFCDES, " | |||
| lv_trfcbtcdelay | TYPE RFCDISPLAY-BTCDELAY, " | |||
| lv_destlock | TYPE RFCDISPLAY-RFCLOCK, " | |||
| lv_new_destination | TYPE RFCDISPLAY-RFCDEST, " | |||
| lv_program | TYPE RFCDISPLAY-RFCEXEC, " | |||
| lv_authority_check | TYPE RFCDISPLAY-RFCTRACE, " | |||
| lv_destination_not_exist | TYPE RFCDISPLAY, " | |||
| lv_server | TYPE RFCDISPLAY-RFCHOST, " | |||
| lv_information_failure | TYPE RFCDISPLAY, " | |||
| lv_trace | TYPE RFCDISPLAY-RFCTRACE, " | |||
| lv_internal_failure | TYPE RFCDISPLAY, " | |||
| lv_description | TYPE RFCDOC-RFCDOC1, " | |||
| lv_gwhost | TYPE RFCDISPLAY-RFCGWHOST, " | |||
| lv_gwservice | TYPE RFCDISPLAY-RFCGWSERV, " | |||
| lv_trfcbtcsuppr | TYPE RFCDISPLAY-BTCSUPPR, " | |||
| lv_trfcbtctries | TYPE RFCDISPLAY-BTCTRIES. " |
|   CALL FUNCTION 'IPC_GET_SERVER_INFO' "NOTRANSL: Lesen von Serverinformationen fuer SPC/SCE |
| EXPORTING | ||
| DESTINATION | = lv_destination | |
| AUTHORITY_CHECK | = lv_authority_check | |
| IMPORTING | ||
| METHOD | = lv_method | |
| TRFCBTCDELAY | = lv_trfcbtcdelay | |
| DESTLOCK | = lv_destlock | |
| NEW_DESTINATION | = lv_new_destination | |
| PROGRAM | = lv_program | |
| SERVER | = lv_server | |
| TRACE | = lv_trace | |
| DESCRIPTION | = lv_description | |
| GWHOST | = lv_gwhost | |
| GWSERVICE | = lv_gwservice | |
| TRFCBTCSUPPR | = lv_trfcbtcsuppr | |
| TRFCBTCTRIES | = lv_trfcbtctries | |
| EXCEPTIONS | ||
| AUTHORITY_NOT_AVAILABLE = 1 | ||
| DESTINATION_NOT_EXIST = 2 | ||
| INFORMATION_FAILURE = 3 | ||
| INTERNAL_FAILURE = 4 | ||
| . " IPC_GET_SERVER_INFO | ||
ABAP code using 7.40 inline data declarations to call FM IPC_GET_SERVER_INFO
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single RFCREGID FROM RFCDISPLAZ INTO @DATA(ld_method). | ||||
| "SELECT single RFCDEST FROM RFCDES INTO @DATA(ld_destination). | ||||
| "SELECT single BTCDELAY FROM RFCDISPLAY INTO @DATA(ld_trfcbtcdelay). | ||||
| "SELECT single RFCLOCK FROM RFCDISPLAY INTO @DATA(ld_destlock). | ||||
| "SELECT single RFCDEST FROM RFCDISPLAY INTO @DATA(ld_new_destination). | ||||
| "SELECT single RFCEXEC FROM RFCDISPLAY INTO @DATA(ld_program). | ||||
| "SELECT single RFCTRACE FROM RFCDISPLAY INTO @DATA(ld_authority_check). | ||||
| "SELECT single RFCHOST FROM RFCDISPLAY INTO @DATA(ld_server). | ||||
| "SELECT single RFCTRACE FROM RFCDISPLAY INTO @DATA(ld_trace). | ||||
| "SELECT single RFCDOC1 FROM RFCDOC INTO @DATA(ld_description). | ||||
| "SELECT single RFCGWHOST FROM RFCDISPLAY INTO @DATA(ld_gwhost). | ||||
| "SELECT single RFCGWSERV FROM RFCDISPLAY INTO @DATA(ld_gwservice). | ||||
| "SELECT single BTCSUPPR FROM RFCDISPLAY INTO @DATA(ld_trfcbtcsuppr). | ||||
| "SELECT single BTCTRIES FROM RFCDISPLAY INTO @DATA(ld_trfcbtctries). | ||||
Search for further information about these or an SAP related objects