SAP SERIAL_LISTE_HU Function Module for NOTRANSL: Hinzufuegen Serialnummer(n) zu Handlingunit (Dialog)









SERIAL_LISTE_HU is a standard serial liste hu 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: Hinzufuegen Serialnummer(n) zu Handlingunit (Dialog) 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 serial liste hu FM, simply by entering the name SERIAL_LISTE_HU into the relevant SAP transaction such as SE37 or SE38.

Function Group: IPW3
Program Name: SAPLIPW3
Main Program: SAPLIPW1
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function SERIAL_LISTE_HU 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 'SERIAL_LISTE_HU'"NOTRANSL: Hinzufuegen Serialnummer(n) zu Handlingunit (Dialog)
EXPORTING
PROFILE = "
VEPOS = "Handling Unit Item
EXIDV = "External Handling Unit Identification
BSTCH = "
BSTUP = "
BUDAT = "Posting Date in the Document
* M_WERK = ' ' "Plant of the material
MATERIAL = "Material Number
* M_CHARGE = "
QUANTITY = "
* J_VORGANG = 'PMTA' "
* KMATNR = "
* CUOBJ = "
ACTIVITY = "
VENUM = "Internal handling unit number

IMPORTING
ANZSN = "
SERIAL_COMMIT = "Change Indicator
EXIT_FLAG = "

EXCEPTIONS
KONFIGURATIONS_ERROR = 1 SERIALNUMBER_ERRORS = 2 NO_PROFILE_OPERATION = 3
.



IMPORTING Parameters details for SERIAL_LISTE_HU

PROFILE -

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

VEPOS - Handling Unit Item

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

EXIDV - External Handling Unit Identification

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

BSTCH -

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

BSTUP -

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

BUDAT - Posting Date in the Document

Data type: MKPF-BUDAT
Optional: No
Call by Reference: Yes

M_WERK - Plant of the material

Data type: SER03-WERK
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

MATERIAL - Material Number

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

M_CHARGE -

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

QUANTITY -

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

J_VORGANG -

Data type: TJ01-VRGNG
Default: 'PMTA'
Optional: Yes
Call by Reference: No ( called with pass by value option)

KMATNR -

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

CUOBJ -

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

ACTIVITY -

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

VENUM - Internal handling unit number

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

EXPORTING Parameters details for SERIAL_LISTE_HU

ANZSN -

Data type: LIPS-ANZSN
Optional: No
Call by Reference: Yes

SERIAL_COMMIT - Change Indicator

Data type:
Optional: No
Call by Reference: Yes

EXIT_FLAG -

Data type:
Optional: No
Call by Reference: Yes

EXCEPTIONS details

KONFIGURATIONS_ERROR - Error During Configuration

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

SERIALNUMBER_ERRORS -

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

NO_PROFILE_OPERATION -

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

Copy and paste ABAP code example for SERIAL_LISTE_HU 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_anzsn  TYPE LIPS-ANZSN, "   
lv_profile  TYPE T377P-SERAIL, "   
lv_konfigurations_error  TYPE T377P, "   
lv_vepos  TYPE SER06-VEPOS, "   
lv_exidv  TYPE SER06-EXIDV, "   
lv_bstch  TYPE BSINF, "   
lv_bstup  TYPE BSINF, "   
lv_budat  TYPE MKPF-BUDAT, "   
lv_m_werk  TYPE SER03-WERK, "   SPACE
lv_material  TYPE RISA0-MATNR, "   
lv_serial_commit  TYPE RISA0, "   
lv_serialnumber_errors  TYPE RISA0, "   
lv_m_charge  TYPE SER03-CHARGE, "   
lv_exit_flag  TYPE SER03, "   
lv_no_profile_operation  TYPE SER03, "   
lv_quantity  TYPE RISA0-ANZAHL, "   
lv_j_vorgang  TYPE TJ01-VRGNG, "   'PMTA'
lv_kmatnr  TYPE RISA0-MATNR, "   
lv_cuobj  TYPE EQUI-CUOBJ, "   
lv_activity  TYPE T370-AKTYP, "   
lv_venum  TYPE SER06-VENUM. "   

  CALL FUNCTION 'SERIAL_LISTE_HU'  "NOTRANSL: Hinzufuegen Serialnummer(n) zu Handlingunit (Dialog)
    EXPORTING
         PROFILE = lv_profile
         VEPOS = lv_vepos
         EXIDV = lv_exidv
         BSTCH = lv_bstch
         BSTUP = lv_bstup
         BUDAT = lv_budat
         M_WERK = lv_m_werk
         MATERIAL = lv_material
         M_CHARGE = lv_m_charge
         QUANTITY = lv_quantity
         J_VORGANG = lv_j_vorgang
         KMATNR = lv_kmatnr
         CUOBJ = lv_cuobj
         ACTIVITY = lv_activity
         VENUM = lv_venum
    IMPORTING
         ANZSN = lv_anzsn
         SERIAL_COMMIT = lv_serial_commit
         EXIT_FLAG = lv_exit_flag
    EXCEPTIONS
        KONFIGURATIONS_ERROR = 1
        SERIALNUMBER_ERRORS = 2
        NO_PROFILE_OPERATION = 3
. " SERIAL_LISTE_HU




ABAP code using 7.40 inline data declarations to call FM SERIAL_LISTE_HU

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 ANZSN FROM LIPS INTO @DATA(ld_anzsn).
 
"SELECT single SERAIL FROM T377P INTO @DATA(ld_profile).
 
 
"SELECT single VEPOS FROM SER06 INTO @DATA(ld_vepos).
 
"SELECT single EXIDV FROM SER06 INTO @DATA(ld_exidv).
 
 
 
"SELECT single BUDAT FROM MKPF INTO @DATA(ld_budat).
 
"SELECT single WERK FROM SER03 INTO @DATA(ld_m_werk).
DATA(ld_m_werk) = ' '.
 
"SELECT single MATNR FROM RISA0 INTO @DATA(ld_material).
 
 
 
"SELECT single CHARGE FROM SER03 INTO @DATA(ld_m_charge).
 
 
 
"SELECT single ANZAHL FROM RISA0 INTO @DATA(ld_quantity).
 
"SELECT single VRGNG FROM TJ01 INTO @DATA(ld_j_vorgang).
DATA(ld_j_vorgang) = 'PMTA'.
 
"SELECT single MATNR FROM RISA0 INTO @DATA(ld_kmatnr).
 
"SELECT single CUOBJ FROM EQUI INTO @DATA(ld_cuobj).
 
"SELECT single AKTYP FROM T370 INTO @DATA(ld_activity).
 
"SELECT single VENUM FROM SER06 INTO @DATA(ld_venum).
 


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!