SAP MCI3_LOCATION_BUILD_NEW_PREP Function Module for NOTRANSL: Einlesen Technischer Plätze für Neuaufbau PMIS









MCI3_LOCATION_BUILD_NEW_PREP is a standard mci3 location build new prep 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 Technischer Plätze 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 location build new prep FM, simply by entering the name MCI3_LOCATION_BUILD_NEW_PREP 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_LOCATION_BUILD_NEW_PREP 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_LOCATION_BUILD_NEW_PREP'"NOTRANSL: Einlesen Technischer Plätze für Neuaufbau PMIS
EXPORTING
I_VRSIO = "
I_LAUFNAME = "Character Field Length = 10
I_START_TPLNR = "Functional Location
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
* I_GROUPNAME = "Logon/Server Group Name
I_ANZJOBS = "Loops, Current Loop Pass

TABLES
I_MCINF_TAB = "Select Option for Info Structures ((RANGES)

EXCEPTIONS
TIME_OUT = 1
.



IMPORTING Parameters details for MCI3_LOCATION_BUILD_NEW_PREP

I_VRSIO -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

I_LAUFNAME - Character Field Length = 10

Data type: TMCW3-LAUFNAME
Optional: No
Call by Reference: No ( called with pass by value option)

I_START_TPLNR - Functional Location

Data type: IFLO-TPLNR
Optional: 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-TABIX
Optional: No
Call by Reference: No ( called with pass by value option)

I_ENDDAT - ABAP System Field: Current Date of Application Server

Data type: SY-DATUM
Optional: No
Call by Reference: No ( called with pass by value option)

I_ENDZEIT - ABAP System Field: Current Time of Application Server

Data type: SY-UZEIT
Optional: No
Call by Reference: No ( called with pass by value option)

I_ERDAT - ABAP System Field: Current Date of Application Server

Data type: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_GROUPNAME - Logon/Server Group Name

Data type: RZLLIGROUP-GROUPNAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ANZJOBS - Loops, Current Loop Pass

Data type: SY-INDEX
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for MCI3_LOCATION_BUILD_NEW_PREP

I_MCINF_TAB - Select Option for Info Structures ((RANGES)

Data type: MCSOINF
Optional: 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_LOCATION_BUILD_NEW_PREP 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 STRING, "   
lv_time_out  TYPE STRING, "   
lt_i_mcinf_tab  TYPE STANDARD TABLE OF MCSOINF, "   
lv_i_laufname  TYPE TMCW3-LAUFNAME, "   
lv_i_start_tplnr  TYPE IFLO-TPLNR, "   
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, "   
lv_i_groupname  TYPE RZLLIGROUP-GROUPNAME, "   
lv_i_anzjobs  TYPE SY-INDEX. "   

  CALL FUNCTION 'MCI3_LOCATION_BUILD_NEW_PREP'  "NOTRANSL: Einlesen Technischer Plätze für Neuaufbau PMIS
    EXPORTING
         I_VRSIO = lv_i_vrsio
         I_LAUFNAME = lv_i_laufname
         I_START_TPLNR = lv_i_start_tplnr
         I_PACKAGE_SIZE = lv_i_package_size
         I_ENDDAT = lv_i_enddat
         I_ENDZEIT = lv_i_endzeit
         I_ERDAT = lv_i_erdat
         I_GROUPNAME = lv_i_groupname
         I_ANZJOBS = lv_i_anzjobs
    TABLES
         I_MCINF_TAB = lt_i_mcinf_tab
    EXCEPTIONS
        TIME_OUT = 1
. " MCI3_LOCATION_BUILD_NEW_PREP




ABAP code using 7.40 inline data declarations to call FM MCI3_LOCATION_BUILD_NEW_PREP

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 LAUFNAME FROM TMCW3 INTO @DATA(ld_i_laufname).
 
"SELECT single TPLNR FROM IFLO INTO @DATA(ld_i_start_tplnr).
 
"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).
 
"SELECT single GROUPNAME FROM RZLLIGROUP INTO @DATA(ld_i_groupname).
 
"SELECT single INDEX FROM SY INTO @DATA(ld_i_anzjobs).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!