SAP BAPI_NETWORK_GETINFO Function Module for Read detailed information for networks (including all objects)
BAPI_NETWORK_GETINFO is a standard bapi network getinfo SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Read detailed information for networks (including all objects) 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 bapi network getinfo FM, simply by entering the name BAPI_NETWORK_GETINFO into the relevant SAP transaction such as SE37 or SE38.
Function Group: 2002
Program Name: SAPL2002
Main Program: SAPL2002
Appliation area: C
Release date: 13-Oct-1997
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function BAPI_NETWORK_GETINFO 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 'BAPI_NETWORK_GETINFO'"Read detailed information for networks (including all objects).
EXPORTING
* I_WITHOUT_NETWORK = "
* I_WITHOUT_NETWORK_ACTIVITY = "
* I_WITHOUT_RELATION = "
* I_WITHOUT_ACTIVITY_ELEMENT = "
* I_WITHOUT_ACTIVITY_MILESTONE = "
* I_WITHOUT_COMPONENT = "
IMPORTING
RETURN = "
TABLES
I_NETWORK_LIST = "
* E_NETWORK = "
* E_ACTIVITY = "
* E_RELATION = "
* E_MESSAGE_TABLE = "
* E_ACTIVITY_ELEMENT = "
* E_ACTIVITY_MILESTONE = "
* E_COMPONENT = "
IMPORTING Parameters details for BAPI_NETWORK_GETINFO
I_WITHOUT_NETWORK -
Data type: BAPINWGI-WO_NETWORKOptional: Yes
Call by Reference: No ( called with pass by value option)
I_WITHOUT_NETWORK_ACTIVITY -
Data type: BAPINWGI-WO_NETWORK_ACTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_WITHOUT_RELATION -
Data type: BAPINWGI-WO_RELATIONOptional: Yes
Call by Reference: No ( called with pass by value option)
I_WITHOUT_ACTIVITY_ELEMENT -
Data type: BAPINWGI-WO_ACT_ELEMENTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_WITHOUT_ACTIVITY_MILESTONE -
Data type: BAPINWGI-WO_ACT_MILESTONEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_WITHOUT_COMPONENT -
Data type: BAPINWGI-WO_COMPONENTOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for BAPI_NETWORK_GETINFO
RETURN -
Data type: BAPIRETURN1Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for BAPI_NETWORK_GETINFO
I_NETWORK_LIST -
Data type: BAPI_NETWORK_LISTOptional: No
Call by Reference: No ( called with pass by value option)
E_NETWORK -
Data type: BAPI_NETWORK_EXPOptional: Yes
Call by Reference: No ( called with pass by value option)
E_ACTIVITY -
Data type: BAPI_NETWORK_ACTIVITY_EXPOptional: Yes
Call by Reference: No ( called with pass by value option)
E_RELATION -
Data type: BAPI_NETWORK_RELATION_EXPOptional: Yes
Call by Reference: No ( called with pass by value option)
E_MESSAGE_TABLE -
Data type: BAPI_METH_MESSAGEOptional: Yes
Call by Reference: No ( called with pass by value option)
E_ACTIVITY_ELEMENT -
Data type: BAPI_ACT_ELEMENT_EXPOptional: Yes
Call by Reference: No ( called with pass by value option)
E_ACTIVITY_MILESTONE -
Data type: BAPI_ACT_MILESTONE_EXPOptional: Yes
Call by Reference: No ( called with pass by value option)
E_COMPONENT -
Data type: BAPI_COMPONENT_EXPOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for BAPI_NETWORK_GETINFO 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_return | TYPE BAPIRETURN1, " | |||
| lt_i_network_list | TYPE STANDARD TABLE OF BAPI_NETWORK_LIST, " | |||
| lv_i_without_network | TYPE BAPINWGI-WO_NETWORK, " | |||
| lt_e_network | TYPE STANDARD TABLE OF BAPI_NETWORK_EXP, " | |||
| lv_i_without_network_activity | TYPE BAPINWGI-WO_NETWORK_ACT, " | |||
| lt_e_activity | TYPE STANDARD TABLE OF BAPI_NETWORK_ACTIVITY_EXP, " | |||
| lv_i_without_relation | TYPE BAPINWGI-WO_RELATION, " | |||
| lt_e_relation | TYPE STANDARD TABLE OF BAPI_NETWORK_RELATION_EXP, " | |||
| lv_i_without_activity_element | TYPE BAPINWGI-WO_ACT_ELEMENT, " | |||
| lt_e_message_table | TYPE STANDARD TABLE OF BAPI_METH_MESSAGE, " | |||
| lv_i_without_activity_milestone | TYPE BAPINWGI-WO_ACT_MILESTONE, " | |||
| lt_e_activity_element | TYPE STANDARD TABLE OF BAPI_ACT_ELEMENT_EXP, " | |||
| lv_i_without_component | TYPE BAPINWGI-WO_COMPONENT, " | |||
| lt_e_activity_milestone | TYPE STANDARD TABLE OF BAPI_ACT_MILESTONE_EXP, " | |||
| lt_e_component | TYPE STANDARD TABLE OF BAPI_COMPONENT_EXP. " |
|   CALL FUNCTION 'BAPI_NETWORK_GETINFO' "Read detailed information for networks (including all objects) |
| EXPORTING | ||
| I_WITHOUT_NETWORK | = lv_i_without_network | |
| I_WITHOUT_NETWORK_ACTIVITY | = lv_i_without_network_activity | |
| I_WITHOUT_RELATION | = lv_i_without_relation | |
| I_WITHOUT_ACTIVITY_ELEMENT | = lv_i_without_activity_element | |
| I_WITHOUT_ACTIVITY_MILESTONE | = lv_i_without_activity_milestone | |
| I_WITHOUT_COMPONENT | = lv_i_without_component | |
| IMPORTING | ||
| RETURN | = lv_return | |
| TABLES | ||
| I_NETWORK_LIST | = lt_i_network_list | |
| E_NETWORK | = lt_e_network | |
| E_ACTIVITY | = lt_e_activity | |
| E_RELATION | = lt_e_relation | |
| E_MESSAGE_TABLE | = lt_e_message_table | |
| E_ACTIVITY_ELEMENT | = lt_e_activity_element | |
| E_ACTIVITY_MILESTONE | = lt_e_activity_milestone | |
| E_COMPONENT | = lt_e_component | |
| . " BAPI_NETWORK_GETINFO | ||
ABAP code using 7.40 inline data declarations to call FM BAPI_NETWORK_GETINFO
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 WO_NETWORK FROM BAPINWGI INTO @DATA(ld_i_without_network). | ||||
| "SELECT single WO_NETWORK_ACT FROM BAPINWGI INTO @DATA(ld_i_without_network_activity). | ||||
| "SELECT single WO_RELATION FROM BAPINWGI INTO @DATA(ld_i_without_relation). | ||||
| "SELECT single WO_ACT_ELEMENT FROM BAPINWGI INTO @DATA(ld_i_without_activity_element). | ||||
| "SELECT single WO_ACT_MILESTONE FROM BAPINWGI INTO @DATA(ld_i_without_activity_milestone). | ||||
| "SELECT single WO_COMPONENT FROM BAPINWGI INTO @DATA(ld_i_without_component). | ||||
Search for further information about these or an SAP related objects