SAP MCI3_ORDER_BUILD_NEW_2 Function Module for NOTRANSL: Einlesen Equipments für Neuaufbau PMIS
MCI3_ORDER_BUILD_NEW_2 is a standard mci3 order build new 2 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: Einlesen Equipments für Neuaufbau PMIS 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 mci3 order build new 2 FM, simply by entering the name MCI3_ORDER_BUILD_NEW_2 into the relevant SAP transaction such as SE37 or SE38.
Function Group: MCI3
Program Name: SAPLMCI3
Main Program: SAPLMCI3
Appliation area: I
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function MCI3_ORDER_BUILD_NEW_2 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 'MCI3_ORDER_BUILD_NEW_2'"NOTRANSL: Einlesen Equipments für Neuaufbau PMIS.
EXPORTING
I_VRSIO = "Version number in the information structure
I_LAUFNAME = "Character Field Length = 10
I_START_AUFNR = "Order Number
I_PACKAGE_SIZE = "ABAP System Field: Row Index of Internal Tables
I_ENDDAT = "ABAP System Field: Current Date of Application Server
I_ENDZEIT = "ABAP System Field: Current Time of Application Server
* I_ERDAT = "ABAP System Field: Current Date of Application Server
TABLES
I_MCINF_TAB = "Select Option for Info Structures ((RANGES)
EXCEPTIONS
TIME_OUT = 1
IMPORTING Parameters details for MCI3_ORDER_BUILD_NEW_2
I_VRSIO - Version number in the information structure
Data type: P44V-VRSIOOptional: No
Call by Reference: No ( called with pass by value option)
I_LAUFNAME - Character Field Length = 10
Data type: TMCW3-LAUFNAMEOptional: No
Call by Reference: No ( called with pass by value option)
I_START_AUFNR - Order Number
Data type: CAUFVD-AUFNROptional: No
Call by Reference: No ( called with pass by value option)
I_PACKAGE_SIZE - ABAP System Field: Row Index of Internal Tables
Data type: SY-TABIXOptional: No
Call by Reference: No ( called with pass by value option)
I_ENDDAT - ABAP System Field: Current Date of Application Server
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
I_ENDZEIT - ABAP System Field: Current Time of Application Server
Data type: SY-UZEITOptional: No
Call by Reference: No ( called with pass by value option)
I_ERDAT - ABAP System Field: Current Date of Application Server
Data type: SY-DATUMOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for MCI3_ORDER_BUILD_NEW_2
I_MCINF_TAB - Select Option for Info Structures ((RANGES)
Data type: MCSOINFOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
TIME_OUT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for MCI3_ORDER_BUILD_NEW_2 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_i_vrsio | TYPE P44V-VRSIO, " | |||
| lv_time_out | TYPE P44V, " | |||
| lt_i_mcinf_tab | TYPE STANDARD TABLE OF MCSOINF, " | |||
| lv_i_laufname | TYPE TMCW3-LAUFNAME, " | |||
| lv_i_start_aufnr | TYPE CAUFVD-AUFNR, " | |||
| lv_i_package_size | TYPE SY-TABIX, " | |||
| lv_i_enddat | TYPE SY-DATUM, " | |||
| lv_i_endzeit | TYPE SY-UZEIT, " | |||
| lv_i_erdat | TYPE SY-DATUM. " |
|   CALL FUNCTION 'MCI3_ORDER_BUILD_NEW_2' "NOTRANSL: Einlesen Equipments für Neuaufbau PMIS |
| EXPORTING | ||
| I_VRSIO | = lv_i_vrsio | |
| I_LAUFNAME | = lv_i_laufname | |
| I_START_AUFNR | = lv_i_start_aufnr | |
| I_PACKAGE_SIZE | = lv_i_package_size | |
| I_ENDDAT | = lv_i_enddat | |
| I_ENDZEIT | = lv_i_endzeit | |
| I_ERDAT | = lv_i_erdat | |
| TABLES | ||
| I_MCINF_TAB | = lt_i_mcinf_tab | |
| EXCEPTIONS | ||
| TIME_OUT = 1 | ||
| . " MCI3_ORDER_BUILD_NEW_2 | ||
ABAP code using 7.40 inline data declarations to call FM MCI3_ORDER_BUILD_NEW_2
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 VRSIO FROM P44V INTO @DATA(ld_i_vrsio). | ||||
| "SELECT single LAUFNAME FROM TMCW3 INTO @DATA(ld_i_laufname). | ||||
| "SELECT single AUFNR FROM CAUFVD INTO @DATA(ld_i_start_aufnr). | ||||
| "SELECT single TABIX FROM SY INTO @DATA(ld_i_package_size). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_i_enddat). | ||||
| "SELECT single UZEIT FROM SY INTO @DATA(ld_i_endzeit). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_i_erdat). | ||||
Search for further information about these or an SAP related objects