SAP EXIT_SAPML03T_003 Function Module for Storage Type Search for Stock Removal









EXIT_SAPML03T_003 is a standard exit sapml03t 003 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Storage Type Search for Stock Removal 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 exit sapml03t 003 FM, simply by entering the name EXIT_SAPML03T_003 into the relevant SAP transaction such as SE37 or SE38.

Function Group: XLTO
Program Name: SAPLXLTO
Main Program:
Appliation area: L
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function EXIT_SAPML03T_003 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 'EXIT_SAPML03T_003'"Storage Type Search for Stock Removal
EXPORTING
I_LTAK = "Transfer Order Header
I_LTAP = "Previously Generated TO Item
I_MLVS = "Material Master
I_MGEF = "Hazardous Material Data
I_T333 = "Movement Type
I_T340D = "Warehouse Number Control
I_VORGA = "Process
I_AUSML = "Quantity to remove
I_AUSME = "Quantity to be Picked for Active Ingredient Processing

CHANGING
C_LGTY0 = "Source Storage Type (0)
C_LGTY9 = "Source Storage Type (9)
C_LGT10 = "Source Storage Type (10)
C_LGT11 = "Source Storage Type (11)
C_LGT12 = "Source Storage Type (12)
C_LGT13 = "Source Storage Type (13)
C_LGT14 = "Source Storage Type (14)
C_LGT15 = "Source Storage Type (15)
C_LGT16 = "Source Storage Type (16)
C_LGT17 = "Source Storage Type (17)
C_LGT18 = "Source Storage Type (18)
C_LGTY1 = "Source Storage Type (1)
C_LGT19 = "Source Storage Type (19)
C_LGT20 = "Source Storage Type (20)
C_LGT21 = "Source Storage Type (21)
C_LGT22 = "Source Storage Type (22)
C_LGT23 = "Source Storage Type (23)
C_LGT24 = "Source Storage Type (24)
C_LGT25 = "Source Storage Type (25)
C_LGT26 = "Source Storage Type (26)
C_LGT27 = "Source Storage Type (27)
C_LGT28 = "Source Storage Type (28)
C_LGTY2 = "Source Storage Type (2)
C_LGT29 = "Source Storage Type (29)
C_CONTI = "Continue Search in Spite of Your Own Work Items
C_LGTY3 = "Source Storage Type (3)
C_LGTY4 = "Source Storage Type (4)
C_LGTY5 = "Source Storage Type (5)
C_LGTY6 = "Source Storage Type (6)
C_LGTY7 = "Source Storage Type (7)
C_LGTY8 = "Source Storage Type (8)

TABLES
T_LTAPA = "TO Items
.



IMPORTING Parameters details for EXIT_SAPML03T_003

I_LTAK - Transfer Order Header

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

I_LTAP - Previously Generated TO Item

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

I_MLVS - Material Master

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

I_MGEF - Hazardous Material Data

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

I_T333 - Movement Type

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

I_T340D - Warehouse Number Control

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

I_VORGA - Process

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

I_AUSML - Quantity to remove

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

I_AUSME - Quantity to be Picked for Active Ingredient Processing

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

CHANGING Parameters details for EXIT_SAPML03T_003

C_LGTY0 - Source Storage Type (0)

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

C_LGTY9 - Source Storage Type (9)

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

C_LGT10 - Source Storage Type (10)

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

C_LGT11 - Source Storage Type (11)

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

C_LGT12 - Source Storage Type (12)

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

C_LGT13 - Source Storage Type (13)

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

C_LGT14 - Source Storage Type (14)

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

C_LGT15 - Source Storage Type (15)

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

C_LGT16 - Source Storage Type (16)

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

C_LGT17 - Source Storage Type (17)

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

C_LGT18 - Source Storage Type (18)

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

C_LGTY1 - Source Storage Type (1)

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

C_LGT19 - Source Storage Type (19)

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

C_LGT20 - Source Storage Type (20)

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

C_LGT21 - Source Storage Type (21)

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

C_LGT22 - Source Storage Type (22)

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

C_LGT23 - Source Storage Type (23)

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

C_LGT24 - Source Storage Type (24)

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

C_LGT25 - Source Storage Type (25)

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

C_LGT26 - Source Storage Type (26)

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

C_LGT27 - Source Storage Type (27)

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

C_LGT28 - Source Storage Type (28)

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

C_LGTY2 - Source Storage Type (2)

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

C_LGT29 - Source Storage Type (29)

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

C_CONTI - Continue Search in Spite of Your Own Work Items

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

C_LGTY3 - Source Storage Type (3)

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

C_LGTY4 - Source Storage Type (4)

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

C_LGTY5 - Source Storage Type (5)

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

C_LGTY6 - Source Storage Type (6)

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

C_LGTY7 - Source Storage Type (7)

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

C_LGTY8 - Source Storage Type (8)

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

TABLES Parameters details for EXIT_SAPML03T_003

T_LTAPA - TO Items

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

Copy and paste ABAP code example for EXIT_SAPML03T_003 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_ltak  TYPE LTAK, "   
lv_c_lgty0  TYPE T334T-LGTY0, "   
lt_t_ltapa  TYPE STANDARD TABLE OF LTAPA, "   
lv_c_lgty9  TYPE T334T-LGTY9, "   
lv_c_lgt10  TYPE T334T-LGT10, "   
lv_c_lgt11  TYPE T334T-LGT11, "   
lv_c_lgt12  TYPE T334T-LGT12, "   
lv_c_lgt13  TYPE T334T-LGT13, "   
lv_c_lgt14  TYPE T334T-LGT14, "   
lv_c_lgt15  TYPE T334T-LGT15, "   
lv_c_lgt16  TYPE T334T-LGT16, "   
lv_c_lgt17  TYPE T334T-LGT17, "   
lv_c_lgt18  TYPE T334T-LGT18, "   
lv_i_ltap  TYPE LTAP, "   
lv_c_lgty1  TYPE RL03T-LGTY1, "   
lv_c_lgt19  TYPE T334T-LGT19, "   
lv_c_lgt20  TYPE T334T-LGT20, "   
lv_c_lgt21  TYPE T334T-LGT21, "   
lv_c_lgt22  TYPE T334T-LGT22, "   
lv_c_lgt23  TYPE T334T-LGT23, "   
lv_c_lgt24  TYPE T334T-LGT24, "   
lv_c_lgt25  TYPE T334T-LGT25, "   
lv_c_lgt26  TYPE T334T-LGT26, "   
lv_c_lgt27  TYPE T334T-LGT27, "   
lv_c_lgt28  TYPE T334T-LGT28, "   
lv_i_mlvs  TYPE MLVS, "   
lv_c_lgty2  TYPE RL03T-LGTY2, "   
lv_c_lgt29  TYPE T334T-LGT29, "   
lv_c_conti  TYPE LTAP1-KREUZ, "   
lv_i_mgef  TYPE MGEF, "   
lv_c_lgty3  TYPE T334T-LGTY3, "   
lv_i_t333  TYPE T333, "   
lv_c_lgty4  TYPE T334T-LGTY4, "   
lv_c_lgty5  TYPE T334T-LGTY5, "   
lv_i_t340d  TYPE T340D, "   
lv_c_lgty6  TYPE T334T-LGTY6, "   
lv_i_vorga  TYPE LTAP-VORGA, "   
lv_c_lgty7  TYPE T334T-LGTY7, "   
lv_i_ausml  TYPE RL03T-AUSML, "   
lv_c_lgty8  TYPE T334T-LGTY8, "   
lv_i_ausme  TYPE RL03T-AUSME. "   

  CALL FUNCTION 'EXIT_SAPML03T_003'  "Storage Type Search for Stock Removal
    EXPORTING
         I_LTAK = lv_i_ltak
         I_LTAP = lv_i_ltap
         I_MLVS = lv_i_mlvs
         I_MGEF = lv_i_mgef
         I_T333 = lv_i_t333
         I_T340D = lv_i_t340d
         I_VORGA = lv_i_vorga
         I_AUSML = lv_i_ausml
         I_AUSME = lv_i_ausme
    CHANGING
         C_LGTY0 = lv_c_lgty0
         C_LGTY9 = lv_c_lgty9
         C_LGT10 = lv_c_lgt10
         C_LGT11 = lv_c_lgt11
         C_LGT12 = lv_c_lgt12
         C_LGT13 = lv_c_lgt13
         C_LGT14 = lv_c_lgt14
         C_LGT15 = lv_c_lgt15
         C_LGT16 = lv_c_lgt16
         C_LGT17 = lv_c_lgt17
         C_LGT18 = lv_c_lgt18
         C_LGTY1 = lv_c_lgty1
         C_LGT19 = lv_c_lgt19
         C_LGT20 = lv_c_lgt20
         C_LGT21 = lv_c_lgt21
         C_LGT22 = lv_c_lgt22
         C_LGT23 = lv_c_lgt23
         C_LGT24 = lv_c_lgt24
         C_LGT25 = lv_c_lgt25
         C_LGT26 = lv_c_lgt26
         C_LGT27 = lv_c_lgt27
         C_LGT28 = lv_c_lgt28
         C_LGTY2 = lv_c_lgty2
         C_LGT29 = lv_c_lgt29
         C_CONTI = lv_c_conti
         C_LGTY3 = lv_c_lgty3
         C_LGTY4 = lv_c_lgty4
         C_LGTY5 = lv_c_lgty5
         C_LGTY6 = lv_c_lgty6
         C_LGTY7 = lv_c_lgty7
         C_LGTY8 = lv_c_lgty8
    TABLES
         T_LTAPA = lt_t_ltapa
. " EXIT_SAPML03T_003




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPML03T_003

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 LGTY0 FROM T334T INTO @DATA(ld_c_lgty0).
 
 
"SELECT single LGTY9 FROM T334T INTO @DATA(ld_c_lgty9).
 
"SELECT single LGT10 FROM T334T INTO @DATA(ld_c_lgt10).
 
"SELECT single LGT11 FROM T334T INTO @DATA(ld_c_lgt11).
 
"SELECT single LGT12 FROM T334T INTO @DATA(ld_c_lgt12).
 
"SELECT single LGT13 FROM T334T INTO @DATA(ld_c_lgt13).
 
"SELECT single LGT14 FROM T334T INTO @DATA(ld_c_lgt14).
 
"SELECT single LGT15 FROM T334T INTO @DATA(ld_c_lgt15).
 
"SELECT single LGT16 FROM T334T INTO @DATA(ld_c_lgt16).
 
"SELECT single LGT17 FROM T334T INTO @DATA(ld_c_lgt17).
 
"SELECT single LGT18 FROM T334T INTO @DATA(ld_c_lgt18).
 
 
"SELECT single LGTY1 FROM RL03T INTO @DATA(ld_c_lgty1).
 
"SELECT single LGT19 FROM T334T INTO @DATA(ld_c_lgt19).
 
"SELECT single LGT20 FROM T334T INTO @DATA(ld_c_lgt20).
 
"SELECT single LGT21 FROM T334T INTO @DATA(ld_c_lgt21).
 
"SELECT single LGT22 FROM T334T INTO @DATA(ld_c_lgt22).
 
"SELECT single LGT23 FROM T334T INTO @DATA(ld_c_lgt23).
 
"SELECT single LGT24 FROM T334T INTO @DATA(ld_c_lgt24).
 
"SELECT single LGT25 FROM T334T INTO @DATA(ld_c_lgt25).
 
"SELECT single LGT26 FROM T334T INTO @DATA(ld_c_lgt26).
 
"SELECT single LGT27 FROM T334T INTO @DATA(ld_c_lgt27).
 
"SELECT single LGT28 FROM T334T INTO @DATA(ld_c_lgt28).
 
 
"SELECT single LGTY2 FROM RL03T INTO @DATA(ld_c_lgty2).
 
"SELECT single LGT29 FROM T334T INTO @DATA(ld_c_lgt29).
 
"SELECT single KREUZ FROM LTAP1 INTO @DATA(ld_c_conti).
 
 
"SELECT single LGTY3 FROM T334T INTO @DATA(ld_c_lgty3).
 
 
"SELECT single LGTY4 FROM T334T INTO @DATA(ld_c_lgty4).
 
"SELECT single LGTY5 FROM T334T INTO @DATA(ld_c_lgty5).
 
 
"SELECT single LGTY6 FROM T334T INTO @DATA(ld_c_lgty6).
 
"SELECT single VORGA FROM LTAP INTO @DATA(ld_i_vorga).
 
"SELECT single LGTY7 FROM T334T INTO @DATA(ld_c_lgty7).
 
"SELECT single AUSML FROM RL03T INTO @DATA(ld_i_ausml).
 
"SELECT single LGTY8 FROM T334T INTO @DATA(ld_c_lgty8).
 
"SELECT single AUSME FROM RL03T INTO @DATA(ld_i_ausme).
 


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!