Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Serial Numbers in Delivery Creation SAPMV50A

Former Member
0 Kudos

Hi ,

Does anyone know the global structure or internal table in which the serial numbers entered for the items get stored while creating an outbound delivery, TCode VL01N program SAPMV50A.

I need to refer back to the serial numbers entered while inside a user-exit which gets triggered during save.

N.B:- It is not XLIPS-SERNR.

Greatly appreciate if someone can help out.

Thanks

Rudra

4 REPLIES 4

Former Member
0 Kudos

It should be XLIPS-ANZSN Field

Thanks

Seshu

Former Member
0 Kudos

ANZSN - Number of serial number

0 Kudos

Hi Seshu/Karthikeyan,

Appreciate your responses, however XLIPS-ANZSN contains the number of serial numbers entered.

Like if you have entered serial numbers for 5 items then this field will contain the value 5 not the actual serial numbers entered.

I need to know the table where the serial numbers entered are stored.

Thanks

Rudra

0 Kudos

Check these tables -> T377 ,SNUM Tables

FV50XFSN -> it is within SAPMV50A

----


FORM SERIALNUMBER_UPDATE.

CHECK AUFRUFER NE CHART.

  • CHECK V50AGL-WARENAUSG_STORNO NE CHARX.

CALL FUNCTION 'SERIALPROFILE_CHECK'

EXPORTING

OPERATION = 'SDLP'.

ENDFORM.

Check the program : FV50XFSN -> it is within SAPMV50A

FORM SERIALNUMBER_AUTOMATICALLY.

DATA: XANZSN LIKE RISA0-ANZAHL,

XTRTYP LIKE T180-TRTYP,

XOPERA(04) TYPE C,

lf_ident like sy-uzeit, "v_n_814124

lt_msg type tsmesg,

ls_msg like line of lt_msg,

lf_msgno like sy-msgno, "^_n_814124

LF_VORGANG(04) TYPE C.

IF V50AGL-SAMMELGANG NE CHARX.

XTRTYP = T180-AKTYP.

ELSE.

XTRTYP = CHARH.

ENDIF.

loop at xlikp where updkz ne updkz_delete and "hp_403037

klief is initial .

LIKP = XLIKP.

PERFORM XVBUK_LESEN(SAPFV50K) USING LIKP-VBELN.

CHECK NOT VBUK-WBSTK = CHARC.

LOOP AT XLIPS WHERE VBELN = XLIKP-VBELN

AND SERAIL <> SPACE

AND UPDKZ <> UPDKZ_DELETE.

also this fm for serial numbers SERNR_ADD_TO_AU

Thanks

Seshu