SAP OIU_VALIDATE_NETWORK_STRUCTURE Function Module for Validates delivery network structure
OIU_VALIDATE_NETWORK_STRUCTURE is a standard oiu validate network structure SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Validates delivery network structure 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 oiu validate network structure FM, simply by entering the name OIU_VALIDATE_NETWORK_STRUCTURE into the relevant SAP transaction such as SE37 or SE38.
Function Group: OIU_VALIDATE_NETWORK_STRCT
Program Name: SAPLOIU_VALIDATE_NETWORK_STRCT
Main Program: SAPLOIU_VALIDATE_NETWORK_STRCT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function OIU_VALIDATE_NETWORK_STRUCTURE 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 'OIU_VALIDATE_NETWORK_STRUCTURE'"Validates delivery network structure.
IMPORTING
T_ERROR_FLAG = "Valuation flag
TABLES
T_REQUEST = "Volume Allocation Request
T_NTWKMP = "Volume Allocation Network Measurement Point
T_NTWKWC = "Volume Allocation Network WC
EXCEPTIONS
FATAL_ERROR = 1
EXPORTING Parameters details for OIU_VALIDATE_NETWORK_STRUCTURE
T_ERROR_FLAG - Valuation flag
Data type: OIU_PR_WCHAH-VL_FLOptional: No
Call by Reference: Yes
TABLES Parameters details for OIU_VALIDATE_NETWORK_STRUCTURE
T_REQUEST - Volume Allocation Request
Data type: ROIU_PR_REQUESTOptional: No
Call by Reference: Yes
T_NTWKMP - Volume Allocation Network Measurement Point
Data type: ROIU_PR_NTWKMPOptional: No
Call by Reference: Yes
T_NTWKWC - Volume Allocation Network WC
Data type: ROIU_PR_NTWKWCOptional: No
Call by Reference: Yes
EXCEPTIONS details
FATAL_ERROR -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for OIU_VALIDATE_NETWORK_STRUCTURE 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: | ||||
| lt_t_request | TYPE STANDARD TABLE OF ROIU_PR_REQUEST, " | |||
| lv_fatal_error | TYPE ROIU_PR_REQUEST, " | |||
| lv_t_error_flag | TYPE OIU_PR_WCHAH-VL_FL, " | |||
| lt_t_ntwkmp | TYPE STANDARD TABLE OF ROIU_PR_NTWKMP, " | |||
| lt_t_ntwkwc | TYPE STANDARD TABLE OF ROIU_PR_NTWKWC. " |
|   CALL FUNCTION 'OIU_VALIDATE_NETWORK_STRUCTURE' "Validates delivery network structure |
| IMPORTING | ||
| T_ERROR_FLAG | = lv_t_error_flag | |
| TABLES | ||
| T_REQUEST | = lt_t_request | |
| T_NTWKMP | = lt_t_ntwkmp | |
| T_NTWKWC | = lt_t_ntwkwc | |
| EXCEPTIONS | ||
| FATAL_ERROR = 1 | ||
| . " OIU_VALIDATE_NETWORK_STRUCTURE | ||
ABAP code using 7.40 inline data declarations to call FM OIU_VALIDATE_NETWORK_STRUCTURE
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 VL_FL FROM OIU_PR_WCHAH INTO @DATA(ld_t_error_flag). | ||||
Search for further information about these or an SAP related objects